Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFlash offset Nios II Flash Programmer
I would like to know what flash offset address I've to set in the Nios II Flash Programmer GUI. I'm using now 0x800 for the SOF file and no offset for the ELF file. This works fine. But why 0x...
Altera_Forum
Honored Contributor
15 years agoThere's shouldn't be any offset. The SOF is placed at the beginning of the EPCS and the software right after it.
The bootloader code for the EPCS device resides in a small onchip memory that is part of the controller itself....less than 4k I think. The bootloader, itself, parses the header of the SOF to see just how large it is and then starts copying the code starting at the end of the SOF up until several 0xFF's are read consecutively....that's what I remember anyway. The sources are in the altera_nios2 component folder that comes with the Nios II EDS distribution. Regards, --slacker