Forum Discussion
Altera_Forum
Honored Contributor
17 years agoRS232 Qestion in Cyclone III evaluation board.
Hi, I am working on a simple example to test the functionality of RS232. I wrote a code based on the example online. However, when the program enter interrupt for the first time. It will h...
Altera_Forum
Honored Contributor
17 years agoDon't use printf() or printf()-like functions (alt_putstr()) in an ISR! Use the debugger to step into your ISR to find out what could be going wrong. Additionally, I'm not sure that any of the alt_stdio (alt_putstr, alt_printf, etc.) are compatible with interrupts...
Cheers, - slacker