Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHow to boot from SPI Flash?
I have design with spi flash to store my firmware and sdram to run it from. My EPCS is too small to run code from it. Can anyone give me boot-loader code to boot my system from SPI Flash? M...
Altera_Forum
Honored Contributor
19 years agoHi motal,
> I have design with spi flash to store my firmware and sdram to run it from. > My EPCS is too small to run code from it. You really shouldn't need much code to load a small application (a 2nd stage boot loader) that pulls your code in from an SPI device. How much room is left on your EPCS? > If I understand well, the boot-loader can integrate to the NIOS within the > hardware image. Is that correct? Yes -- or you could try to replace/modify the default bootloader in the EPCS peripheral -- have it load from your SPI device rather than the EPCS device. From a practical point-of-view, the EPCS is just an SPI device that you don't get to do pin assignments for ;-) Regards, --Scott