Forum Discussion
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