Forum Discussion
Altera_Forum
Honored Contributor
21 years agoYou have it exactly right. That is how our flash boot-loader works for flash; for parallel flash, the boot-loader is placed at the beginng of flash, and the Nios reset vector pointing to the base of flash will cause the boot-loader to execute. The boot-loader examines the flash data (elf data) and copies data records to the appropriate area of memory before jumping to the application.
...I suppose the thing I'm getting at is that we've already done the boot-loaders for you... if you want to view the source they can be found in components/altera_nios2/sdk/src/boot_loader_sources