flash erase function

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

flash erase function

859 次查看
mehdikarimibiuk
Contributor V

n/a

标签 (1)
标记 (2)
0 项奖励
4 回复数

475 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Mehdi,

 

When erasing or programming a Flash block, the internal charge pump is turned on, and during such time, the memory is not accessible; therefore, you will get errors if you call the Flash erase/write routines from the same memory block that will be erased/written. In order to avoid these issues and like Li mentioned, these routines should be running on RAM, or, if the MCU has dual Flash array, the routines should be running from the other Flash array.

 

Hope this will be useful for you.

Best regards!

/Carlos

0 项奖励

475 次查看
mehdikarimibiuk
Contributor V

n/a

0 项奖励

475 次查看
mehdikarimibiuk
Contributor V

n/a

0 项奖励

475 次查看
oliver_chen
NXP Employee
NXP Employee

Do you mean you want to erase program flash area not FlexNVM? If yes, please make sure your code is in RAM area not in code flash area.

0 项奖励