the nrf52840 lose firmware after out factory

hi

i have developed my device,and it was work in customs,but there is some device cant work after work some times.we  recall the device and discover the firmware was loseed by read the falsh of the device?

about the flash operate api ,the iap nrf_fstorage_write and fds_record_update,fds_record_delete. and the addr range was 

NRF_FSTORAGE_DEF(nrf_fstorage_t fstorage) =
{
/* Set a handler for fstorage events. */
.evt_handler = fstorage_evt_handler,

/* These below are the boundaries of the flash space assigned to this instance of fstorage.
* You must set these manually, even at runtime, before nrf_fstorage_init() is called.
* The function nrf5_flash_end_addr_get() can be used to retrieve the last address on the
* last page of flash available to write data. */
.start_addr = 0xe8000,
.end_addr = 0xe8fff,
};

the probability  was 1/1000

so there is any reason will cause that?

Parents Reply Children
No Data
Related