cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Contributor II

Hello

When i do the OTA upgradable stack on a CY84248LQI-BL583, which has 2 bytes of data written to user sflash, I get CYRET_ERROR_ROW.

for reference the example for sflash write is from 100 days project #52. Any advice to ensure OTA can write successfully?

Fausto

0 Likes
Reply
1 Solution
Contributor II

After replacing the cyacd file it works successfully; it had nothing to do with having saved data to sflash as at first I wrongly assumed, it was simply because I was unwittingly trying to write an incompatible cyacd file.

Regards

Fausto

View solution in original post

0 Likes
Reply
3 Replies
Moderator
Moderator

Project #029: Supervisory Flash on PSoC 4 BLE is configured for 128 kb flash devices. Where as, CY84248LQI-BL583 is a 256 kb device.

Plese use CySysSFlashWriteUserRow API for SFlash user configurable area write. It has been added from cy_boot version 5.30. If you are using an earlier version of cy_boot, please update to latest component from Project > Update Components. For more details on API, please refer to corresponding System Reference Guide.

0 Likes
Reply
Contributor II

actually i followed the example from project #52 not 29 to write an address and retain it in sflash. But when doing the OTA it gave me the cyret_error_row.

0 Likes
Reply
Contributor II

After replacing the cyacd file it works successfully; it had nothing to do with having saved data to sflash as at first I wrongly assumed, it was simply because I was unwittingly trying to write an incompatible cyacd file.

Regards

Fausto

View solution in original post

0 Likes
Reply