Altera_Forum
Honored Contributor
13 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. So I use the Alt_write_flash and Alt_write_flash_block functions for that. These functions work fine in my design. - alt_write_flash : erase the entire block before writing a block to flash. - alt_write_flash_block : read the entire block before writing to flash (does not erase the Flash). So it needs large CPU memory (at least 128ko for me). So my question is the following : I would have a simple write function which write to FLASH without erasing the FLASH and without reading the entire FLASH block (in order to minimize the CPU RAM size). Do you have an idea how I could do that ? Thanks by advance.