Forum Discussion
Altera_Forum
Honored Contributor
17 years agoBooting From Flash
We are interested in using a external flash memory device to store our firmware for our multi-processor design. To boot from this flash device does it need to be CFI compliant or this there other typ...
Altera_Forum
Honored Contributor
17 years agoHi Shmuel,
A flash override file is pretty clearly defined in the Nios II Flash Programmer User Guide. In truth, I'm not 100% sure that it works with EPCS (SPI) flash devices, but it's worth a try. <div class='quotetop'>QUOTE </div> --- Quote Start --- How would I store the firmware there and how do I boot from it ( For booting : I know that I will need to set the reset address of each processor to the area of the external flash - but how does the boot loader access the external flash?[/b] --- Quote End --- Well, that depends on what type of flash it is...right? For an EPCS (SPI) flash, the bootloader is stored in a small onchip memory that is part of the epcs_controller component. For the CFI compliant flashes, the bootloader is prepended to the "payload" that you intend to attach. <div class='quotetop'>QUOTE </div> --- Quote Start --- Do I need a custom component ? How much additional development will be requried for a non compliant CFI device?[/b] --- Quote End --- It all depends on the type of flash that you decide to use. <div class='quotetop'>QUOTE </div> --- Quote Start --- Also do you know what the common type of external (flash) device people use for multi-processor designs? We need a device that we will have the fastest access to since part of our frimware will not fit within the onboard memory of our Altera chip![/b] --- Quote End --- CFI is probably most popular, though I don't know of many that actually run their code from it. For your multi-CPU questions, you should browse to AN458 on the following page: http://www.altera.com/literature/lit-an.jsp (http://www.altera.com/literature/lit-an.jsp) Cheers, - Brendan