Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- How do You do that? You mean You generate SOF file, which has on-chip memory initialization file inside? If yes, then Nios CPU has to have startup vectors to point to on-chip memory. NO. You need to add on-chip memory as I've mentioned in (1), then write a small bootloader, which would fit into the on-chip memory and get executed after system startup. That bootloader will have to copy all the required program data to SDRAM and jump to that place. Yes, I use on-chip memory of 8KB size with my 4.2KB bootloader pre-compiled. The bootloader copies all the Nios binary from serial flash to SDRAM and executes the main program. --- Quote End --- I have a Nios program too big to fit into on-chip memory (similar to simple socket server). I have external SDRAM and flash with active parallel setup (no EPCS). Do I also need a bootloader?