flash erase function

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

flash erase function

1,873件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

ラベル(1)
タグ(2)
0 件の賞賛
返信
4 返答(返信)

1,489件の閲覧回数
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 件の賞賛
返信

1,489件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

0 件の賞賛
返信

1,489件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

0 件の賞賛
返信

1,489件の閲覧回数
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 件の賞賛
返信