Forum Discussion
Altera_Forum
Honored Contributor
15 years agoModifying EPCS bootloader
Skip to tl;dr at the bottom if so inclined. Background and such is there to cover some possible questions. background: (Developing in Q10.1) I am developing a project with two separate fir...
Altera_Forum
Honored Contributor
15 years agoThe compiler output files (*.o) are relocatable, the linking stage will assign fixed addresses (virtual addresses) at which the code is expected to run. The linker output for a program (do 'objdump -p' to get the program headers) can be copied into memory (at the correct address) and then run without any further fixups).
So for the EPCS boot code, it will be the address the the nios cpu accesses the boot rom.