Altera_Forum
Honored Contributor
19 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 the Nios IDE. Is some loader created, prepended to my code and copies it into SRAM, jumping to it for execution ? What is going on exactly ? Can I see this loader / is this some assembly program ? The same goes for a "production board" where the Stratix is loaded from the EPCS device. How is the code copied to SRAM ? Should I write a boot loader for that, or are there custom loaders available for this purpose ? Thanks in advance