High-level interface for flash I/O. All these functions act on the on-board flash chip. For a generic flash memory I/O, you can see the low-level
The size of the flash
Initialise the SPI1 peripheral, dedicated to flashing the FPGA.
addr- The address at which the data is read.
data- The buffer onto which the data read is stored.
data_size- The size of
Communicate to the chip over SPI and read multiple bytes at chosen address onto onto a buffer.
addr- The beginning of the sector
Erase a sector of the flash chip at the given address.
addr- The address at which the data is written.
data- The buffer holding the data to be sent to the flash chip, of size @ref ICE_FLASH_PAGE_SIZE.
Program a page of the flash chip at the given address.
Send a command to erase the whole chip.
Send a command to wakeup the chip.
Send a command to put the chip to sleep.