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,
> After compression of my hardware image it's allways fit exactly to my EPCS1 - 128KB = 1MBit. ... > I saw SPI Flash core in OpenCores.com - it is possible to tell the SOPC Builder to reset from > SPI memory with this core? Logic, code, whatever ... if you have no room left on your configuration device you're in an unfortunate position. Perhaps you should use a bigger configuration device. ;-) In any regard, I don't think I was very clear in my last post: > or you could try to replace/modify the default bootloader in the EPCS peripheral. The EPCS controller uses on-chip memory that contains a small bootloader. If you are _already_ using the EPCS controller, you can try to replace the existing bootloader. Provided your (bootloader) implementation is smaller than the default, it should fit in your EPCS. Regards, --Scott