FLASH_DRV_BlankCheck ERROR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLASH_DRV_BlankCheck ERROR

Jump to solution
1,236 Views
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 Kudos
1 Solution
1,228 Views
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

View solution in original post

0 Kudos
1 Reply
1,229 Views
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 Kudos