Forum Discussion
Altera_Forum
Honored Contributor
12 years agoInterrupts on BareMetal Design
I am trying to trigger an interrupt based on the slider switch(GPIO2 on SoCKIT) toggling, but the code below doesn't seem to work. What could be the problem? Also, what is the difference between GP...
Altera_Forum
Honored Contributor
12 years agoI recommend get all 16550 project and not cut sources, add your code in position of running, where all from Altera is inited and work.
When your code will be debugged successful, may delete original Alteras lines with small portions, at once recompile and try run in order to your code stay working -- in that way is possible get working small program without exhaustive documentation ! :) For example, 16550 project in main() first call "soc_fpga_init_start()", in which call "alt_int_global_init()", and you -- not !