Forum Discussion
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)) { …..