cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor

Hi,

I work with the CY8KIT-062-BLE and want to store data that will not be lost when the device resets or gets powerred off. I tried using CY_BLE_StoreAppData() as well as the Cy_Flash_WriteRow() and Cy_Flash_StartWrite(). My problem is, that none of these seemto work in my case. Both Flash commands only work when I'm debugging the project, but do seemingly do nothing when the program runs by itself. Seems to me there is a timing issue, or a watchdog that interferes with them. I can't get the CY_BLE_StoreAppData() to work at all. Do you maybe have an example for that? I only found one for the PSoC 4, but the function now works different. I also can't find the snippet mentioned in th cy_ble_gap.c.

Thanks in advance for your help!

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello,

There is a user row in SFLASH  that is available for the user to store the information.

You can also store the data using the Emulated EEPROM area for this purpose. Please see CE195313 for details.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
Reply
2 Replies
Moderator
Moderator

Hello,

There is a user row in SFLASH  that is available for the user to store the information.

You can also store the data using the Emulated EEPROM area for this purpose. Please see CE195313 for details.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
Reply
New Contributor

Thanks a lot!

The emulated EEPROM works like a charm.

0 Likes
Reply
Top labels