Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHAL API for CFI FLASH write
Hello, My custom design is done with a ARRIAI-IGX FPGA connected to a 512Mbits CFI FLASH with blocks of 128ko. I have implemented a NIOS CPU in order to write/read to/from the CFI FLASH. ...
Altera_Forum
Honored Contributor
14 years agoYou can separate out the 'erase' and 'write' operations.
The only way you can change a bit from a 0 to a 1 is via the full 128k erase. NOR flash will let you do any number of separate writes than convert bits from 1 to 0 - you can actually write the same location multiple times. NAND flash has additional error correction areas for each sector - so there is a small limit (maybe 4) on the number of writes. Not sure what the 'CFI' flash is. Don't know what the Altera supplied functions actually let you do.