Forum Discussion
Altera_Forum
Honored Contributor
12 years agoSPI flash
Does anybody know if "Nios II flash programmer" support SPI flashes compatible with EPCS devices? Thanx in advance
Altera_Forum
Honored Contributor
12 years agoBy default the nios FLASH programmer doesn't recognise all serial FLASH parts.
You need to create a "nios2-flash-override.txt" file in your ../nios2eds/bin installation directory. By identifying the size and number of sectors a device has this file tells the programmer how to handle serial FLASH parts whose device ID it doesn't recognise. In your new "nios2-flash-override.txt" file paste the following:
sector_size = 65536
sector_count = 8 The FLASH programmer will now know how to handle your Spansion part. Regards, Alex