Forum Discussion
Altera_Forum
Honored Contributor
21 years agoTarget reboots during driver debug
I am debugging a modified lan91C111 driver for a custom board using the uCos telnet example (modified). Quartus4.1, NiosII CPU32 'tiny' IDE 1.0. The driver has been modified to use a 16bit...
Altera_Forum
Honored Contributor
21 years agoGreat info.
I wish I had read these posts a few days ago. I did find the bug, but not by any special deduction or technique. Earlier, my rx isr was not getting called. I had placed a printf there as a debug aid. It was this printf that led to the reboot/reset. The actual sequence of events is unclear, and tracing thru uCos, the isr handler and the jtag uart code is all quite convoluted. I can reason that it was a stack/buffer overflow, since a full print buffer alone should just cause everything to lock without a reset. I'll try out the trace when I get a chance.