This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to handle PM_EVT_PEER_DATA_UPDATE_FAILED

Hi,

We use SDK14.0 with S132 v5.0.0 on a custom board with nRF52832. In our application using a lot of flash operation, and we found the error PM_EVT_PEER_DATA_UPDATE_FAILED usually happened when having flash operation. Further, we find the error happened on the case PDB_EVT_RAW_STORE_FAILED in the pm_pdb_evt_handler() function. Thanks

I'll appreciate the help. image description ble_app_hrs.zip

Parents
  • Hi Petter, We use FDS(fds_record_write) to write the data to the flash. First we write first data to flash, And then we write second data to flash without delay. At this time, the error occurred when we write data to flash using fds_record_write. The pm_evt.params.peer_data_update_failed.error=0x0000000A. I print screen when error occurred. Please refer to the attachment. Thanks.

Reply
  • Hi Petter, We use FDS(fds_record_write) to write the data to the flash. First we write first data to flash, And then we write second data to flash without delay. At this time, the error occurred when we write data to flash using fds_record_write. The pm_evt.params.peer_data_update_failed.error=0x0000000A. I print screen when error occurred. Please refer to the attachment. Thanks.

Children
No Data
Related