FLASH_DRV_BlankCheck ERROR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FLASH_DRV_BlankCheck ERROR

ソリューションへジャンプ
2,368件の閲覧回数
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,360件の閲覧回数
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,361件の閲覧回数
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 件の賞賛
返信