Hello,
i want to create const Array Variables so Flash storage is reserved.
After that i want to save data from Ram into the flash storage.
I Have 16 and 32-Bit unsigned int Arrays to save and read from Flash.
I saw some examples with the BLE APi but this is not possible for the PSOC5.
Can someone give me short code sample ?
i Have 256KB Flash size.
Solved! Go to Solution.
For PSoC 5LP flash writes, please use either of the following APIs depending upon ECC memory usage.
ļ® Use CyWriteRowFull() to write the entire row including ECC
ļ® Use CyWriteRowData() to write the entire row without ECC
Please refer to PSoCĀ® 3, PSoC 4, and PSoC 5LP Flash Memory Organization and Array ID Parameter - KBA84740 and section: Working with Flash and EEPROM for more details.
The Emulated EEPROM v1 component is purely a firmware abstraction of the flash memory. Hence you can use Em_EEPROM_Example avilable in PSoC Creator for reference.
For PSoC 5LP flash writes, please use either of the following APIs depending upon ECC memory usage.
ļ® Use CyWriteRowFull() to write the entire row including ECC
ļ® Use CyWriteRowData() to write the entire row without ECC
Please refer to PSoCĀ® 3, PSoC 4, and PSoC 5LP Flash Memory Organization and Array ID Parameter - KBA84740 and section: Working with Flash and EEPROM for more details.
The Emulated EEPROM v1 component is purely a firmware abstraction of the flash memory. Hence you can use Em_EEPROM_Example avilable in PSoC Creator for reference.