Forum Discussion
Altera_Forum
Honored Contributor
22 years agoprintf Problem with custom Board and NIOS II
Hello has anybody the same problem or an solution? I'm using a custom board with an stratix device and a NIOS II/f Debug Level 2. The NIOS II itself has a lot of user-defined interfaces, ...
Altera_Forum
Honored Contributor
21 years agoMaybe I experienced the same problem. I found out that my generated linker description file (generated.x - folder "debug/system_description" in the syslib project) was wrong (some bug?). The .exception section pointed to system_memory_s2 and therefore overlapped some code section. Whenever an interrupt occurs (printf) the processor hangs up.
.exceptions : { . = ALIGN(0x20); *(.irq) KEEP (*(.exceptions)); } > system_memory_s1 <<<<<<<<< was wrong Hope that you can solve your problem in the same way. ps: keep in mind that generated.x will be automatically overwritten on syslib rebuilds.