Forum Discussion
Altera_Forum
Honored Contributor
20 years agoLoading of code to SRAM
Hello all, In the system library properties I can ask for my code to run from the SRAM. I'm interested in knowing what happens behind the scenes when I compile and Run / Debug my code using...
Altera_Forum
Honored Contributor
20 years agoYes, what you describe is what happens. The build process adds a boot loader that's responsible for copying the segments to the correct memory locations and then jumping to that location. There's a boot loader specifically for the EPCS.
You can look at the code of the bootloader(s) in your components directory, on my machine in c:\altera\kits\nios2_51\components\altera_nios2\sdk\src\boot_loader_sources) Andrew