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

Flash erase fails on NRF52832CIAA (chip used in the Murata MBN52832 module)

Hi,

I have a custom implemented DFU that I used in many nRF52832 designs. 

This one in particular fails when I am calling  nrf_fstorage_erase. I am trying to erase 40 pages at once, starting at address 0x50000

The function returns success but it hangs and after a while I get this error

<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at ../../../../lib/nRF5_SDK_15.3.0_59ac345/components/libraries/1
PC at: 0x0002E071
<error> app: End of error report

I thing the whole system froze and that is caused by timers piling up in some internal queue (just a guess).

The root cause of the problem is erasing the flash.

Also, very interestingly, the same code works flawlessly on the NRF52832-DK board.

It fails on the Murata module, which contains the nrf52832-CIAA chip.

Maybe you guys can help me determine this chip model exactly.

the FICR INFO.VARIANT register ix 0x41414531 but that exact code is not in the datasheet.

I would appreciate a solution to this problem.

Raz

Parents
  • Hi Razvan, 

    could you post the snippet where you call nrf_fstorage_erase()?

    Are you waiting for the NRF_FSTORAGE_EVT_ERASE_RESULT before calling nrf_fstorage_erase on the next page or are you calling nrf_fstorage_erase() in a loop?

    Best regards

    Bjørn

Reply
  • Hi Razvan, 

    could you post the snippet where you call nrf_fstorage_erase()?

    Are you waiting for the NRF_FSTORAGE_EVT_ERASE_RESULT before calling nrf_fstorage_erase on the next page or are you calling nrf_fstorage_erase() in a loop?

    Best regards

    Bjørn

Children
No Data