S32K396 Flash blocks erase

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

S32K396 Flash blocks erase

ソリューションへジャンプ
2,081件の閲覧回数
RafalK
Contributor II

According to S32K39_and_S32K37_memory_map.xls S32K396 has only one Flash block of size 6144kB. It has probably many sectors but only one block.

Is this true that this chip Flash is not divided into several blocks?

If yes then how can I perform Flash sector erase procedure if there is only one block. I would erase it from the same place my code is currently executed. Should erase be executed from RAM in that case?

All in all, what are the constrains for Flash Erase if it has only one big block?

0 件の賞賛
返信
1 解決策
2,060件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

In the RM 21.7.1.2, you may read statement that:

„Block erase is for Factory use only, under controlled conditions.“

In other words, user should not use this operation at all. Also debug probed does not use this operation for MCU flash programming.

 

If you see device datasheet, Number of program/erase cycles per block using Block Erase is only 25 cycles. In other words, user should not use this operation at all. Also debug probed does not use this operation for MCU flash programming.

 

However flask block configuration is specified at the beginning of Embedded Flash Memory (c40asf) chapter.

You may see there are 4 blocks.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,061件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

In the RM 21.7.1.2, you may read statement that:

„Block erase is for Factory use only, under controlled conditions.“

In other words, user should not use this operation at all. Also debug probed does not use this operation for MCU flash programming.

 

If you see device datasheet, Number of program/erase cycles per block using Block Erase is only 25 cycles. In other words, user should not use this operation at all. Also debug probed does not use this operation for MCU flash programming.

 

However flask block configuration is specified at the beginning of Embedded Flash Memory (c40asf) chapter.

You may see there are 4 blocks.

0 件の賞賛
返信