- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have successfully written code to write the Device ID to row 0 of SFLASH. Questions:
Is row0 the designated spot for the Device ID? Just the first six bytes?
Is the SFLASH preserved during programming? We would want to be able to update firmware while preserving the Device ID.
Right now I program the Device ID before BLE initialization, we will normally program it after. What is the proper way to get the device in the state for SFLASH programming? It does not work after our initialization (Including BLE init).
cybl10563-56lqxi
Thanks
Rich
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes,
First 6 bytes of Row 0 are used for storing Device Address. It is recommended that if you want to store custom data - you write it to other rows of SLFAH. SFLASH data is retained across programming. For, writing to SFLASH in Firmware, you can make use of: CySysSFlashWriteUserRow. Please check System Reference Guide for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes,
First 6 bytes of Row 0 are used for storing Device Address. It is recommended that if you want to store custom data - you write it to other rows of SLFAH. SFLASH data is retained across programming. For, writing to SFLASH in Firmware, you can make use of: CySysSFlashWriteUserRow. Please check System Reference Guide for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help.
Rich