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 agoHi,
I had a similar problem. My device (1S80) did sometimes not boot from internal memory. When we (an ALTERA FAE and me) were debugging the stuff we saw, that the NIOS did jump back to the reset vector when the JTAG UART driver registered it's interrupt. Finally, ALTERA found out that there is a problem within the linker script. We had to add just a line to fix the aligment of the code. See the example below. After this it was working fine! According to ALTERA there will be a fix in the next release. I hope this helps. .rodata : { . = ALIGN(32 / 8); *(.rodata .rodata.* .gnu.linkonce.r.*) *(.rodata1) -- Added line!!!! . = ALIGN(32 / 8); } > onchip_rom .rwdata : AT (LOADADDR(.rodata) + SIZEOF (.rodata)) { …..