Flash read/write access from firmware in PSoC1 devices

Question: How Can we read and write to flash in the PSoC1 devices?



In PSoC designer 3.20 or newer, you can add an EEPROM user module, which allows you to read and write Flash as a non-volatile data memory. The user module has two input parameters, starting block ID and length of EEPROM. You can setup the EEPROM user module to be located in the flash, and you can use the EEPROM read and flash write APIs to read and write into the flash. Refer to the EEPROM user module datasheet and the code example.