Altera_Forum
Honored Contributor
14 years agoDual NIOS exception overwrite
When I load the second NIOS code, it overwrites the exception handler in the first NIOS space.
I'm using a shared ddr_sdram, but neither core's linker maps overlap. Exception addresses are 08000020 and 09000020 in the two cores. I debug the first NIOS and halt at main(). The problem comes the moment I download the second core, before anything but crt0 and alt_main run (both cores halt at main()). The overwrite data is 08000020: 00000000 00000000 FFFFFFFF FFFFFFFF 10.1 is unable to halt anywhere but main, so I wrote _start and alt_main to do exactly nothing. It seems merely downloading causes the overwrite. I confirmed the elf has nothing below 09000000 for the second code. Help??