flash_erase function is very slow to run.

Dear,

We have been using QSPI external flash (MX25R64 installed at nrf5340 DK board) to write data. Particularly, when we ran flash_area_erase function ( located at zephyr/subsys/storage/flash_map/flash_map.c), it took more than 5-minutes to complete the function.

When we narrowed down the function, flash_erase (inside of flash_area_erase function) functin was taking so much time (more than 5 minutes), which is obviously something wrong.

However, interestingly, it was finally completed successfully.  Do you have the source code of this function for me to take a look at?

Would you please be able to tell us how to narrow down this issue?  Or, do you suspect anything else?

Thank you for your support!

Regards,

Jae

Related