Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI want to use general-purpose FLASH device that isn't a EPCS.
Hello.
I want to use general-purpose FLASH device ( ex. made by winbond , spansion and so on). Do you know how to program the FPGA configuration image to that FLASH device on Quartus II program?:confused: Please tell me how to program it. Or tell me what the document which is consulted . info. my FPGA board is BeMicro SDK ,FPGA is EP4CE22F17C7(Cyclone IV E) with EPCS16. So I'm going to replace it.4 Replies
- Altera_Forum
Honored Contributor
Industry standard serial flash with same sector structure are mostly working, e.g. M25P16. Review previous forum discussions.
- Altera_Forum
Honored Contributor
Thanks FvM.
> Review previous forum discussions. So i try to read that discussions. - Altera_Forum
Honored Contributor
both Flash devices have SPI slave interface, so U only need configure one SPI master interface on your FPGA.
And I think both SPI slave interfaces only support "clock polarity 1, clock phase 1" or "clock polarity 0, clock phase 0". shift direction MSB first. for SCLK U can select upon to 33 MHz, I sugest 10 MHz for testing. Altera supply one API "alt_avalon_spi_command" for SPI master core. U need to code your own driver for your Flash. maybe U can find such drivers from internet. Or tell me what do you wanna do with Flash. maybe I can give you code example. - Altera_Forum
Honored Contributor
Thanks breakholix.
I could get to program the FPGA configuration image to FLASH devices by using jic file. >Or tell me what do you wanna do with Flash. maybe I can give you code example. I want to program the FPGA configuration image . And CycloneIV is configured by AS-confirguration mode in that FLASH device's data.