FLASH_DRV_BlankCheck ERROR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FLASH_DRV_BlankCheck ERROR

跳至解决方案
2,374 次查看
thomasbao
Contributor II

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:

    

thomasbao_3-1631859115026.png

 

 

thomasbao_1-1631858742111.png

     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?

    

0 项奖励
回复
1 解答
2,366 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,367 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复