Forum Discussion
Altera_Forum
Honored Contributor
13 years agoyou can try using EPCS loader to load NIOS code on boot time. We also had some problems with loading NIOS code at boot. What we did is following:
Include EPCS controller in QSYS, change reset vector of NIOS 2 to point EPCS controller. Then, you can use some scripts like elf2flash, sof2flash to create .pof file for flash including both sof and elf files in it. And at boot -what I guess to be happing is- first sof is loaded then EPCS controller loads elf. Now, you load only sof file, reset is pointing onchip memory, which does not have any meaninful data in it.