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

lockup with nrf_serial_flush while wait_for_flash_ready in nrf_nvmc_page_erase

Hi,

In my project, there is a lockup issue like the title. (SDK 15.3.0_59ac345)

When I try to erase flash, some data (uart command for the device)comes up through the uart and the device try to prints log for it and it hangs.

When I add some the other command not related to flash stuff, the issue disappears and it seems because it changes the timing.

But I don't understand why this problem happens and is there any way to avoid this?

I don't think I can share the code but I captured the call stack of the issue.

Thank you.

Related