Hello,
I am developing a bootloader to update the application, when I only brush bootloader I can write my application through bootloader, but when I jump from application to bootloader, FLASH_DRV_BlankCheck fails while erasing flash.
my test code and traffic as follows:
Obviously, FLASH_DRV_Erase and FLASH_DRV_CheckEraseStatus all successed, but FLASH_DRV_BlankCheck error, returns STATUS_ERROR, I wonder why and what should I do to solve it?
Solved! Go to Solution.
Hi,
this is caused by cache, most likely, so try to invalidate the cache after erase. Code for cache invalidation can be found in the startup files (like attached).
Regards,
Lukas