S32K396 Flash blocks erase

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

S32K396 Flash blocks erase

跳至解决方案
2,076 次查看
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,055 次查看
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,056 次查看
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 项奖励
回复