- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am concerned that CySysFlashWriteRow can write to whatever flash row I hand it.
Is there an API that allows protection when writing to flash, something that will write only to the "free" flash rows in the MCU?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CySysFlashWriteRow(uint32 rowNum, const uint8 rowData[]) API will fail and return CY_SYS_FLASH_PROTECTED if the corresponding row(rowNum) is protected in Flash Security tab. Please let me know if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CySysFlashWriteRow(uint32 rowNum, const uint8 rowData[]) API will fail and return CY_SYS_FLASH_PROTECTED if the corresponding row(rowNum) is protected in Flash Security tab. Please let me know if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can i set that no bottloadable code data is overwritten?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bootloader updates bootloadable device flash region during bootloading. As internal flash operations are required for bootloading functionality, please set the bootloadable flash rows and metadata row to be unprotected in PSoC 4 or field upgrade in PSoC 5. Please refer to sectons: Flash Protection and Example of Flash Protection from AN68272 for more details.