What is a flashrom cycle? MKM34Z256

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

What is a flashrom cycle? MKM34Z256

跳至解决方案
2,221 次查看
zunda1958
Contributor II

Please let me know.


The following table describes the endurance of the FLASHROM of the MKM34Z256VLL7 in the KM series.
Data Sheet 3.3.1.4 Reliability Specifications Table 27. NVM Reliability Specifications
Does "cycle endurance" mean the number of times a sector (2KB) can be erased?
Do you mean the maximum number of times a sector can be erased, for example, if one sector is erased and written 64 bytes at a time?

Thank you in advance.

0 项奖励
回复
1 解答
2,175 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the erasing operation make the bits of flash data from 0 to 1, and the original 1 remains 1, in other words, after erasing, the flash data will be all 1, it means that the flash will be 0xFF, 0xFF...after erasing.

The programming will make the 1 to 0, if the data bits you write is 1, the 1 will keep. The flash programming can not make bit from 0 to 1.

In conclusion, for flash operation, before you program a flash page, sector, you have to erase the page, sector, then program it. In other words, one erase operation, one programming operation. It is impossible that one erasing operation and multiple programming happen.

Because of one erasing and one programming operation, so one erasing/programming cycle is counted as 1 cycle.

Hope it can help you

BR

XiangJun Rong

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,194 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the note 2 says "Cycling endurance represents number of program/erase cycles at -40 °C ≤ Tj ≤ 125 °C.", one erasing/programming ia called one cycle endurance, the flash  Cycling endurance is 50 K typically.

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复
2,179 次查看
zunda1958
Contributor II

Sorry for the repetition.


You mean the program/erase cycle is the number of erases per sector, right?
For example, if the number of program/erase cycles is n (n = 1,000), then each sector can be erased n times, and furthermore, if a 2 KB sector is erased after 4 bytes are written to different addresses 512 times, then the number of program/erase cycles is counted as 1. Is it correct to say that the number of erase cycles counts as one?


Thank you in advance.

 

0 项奖励
回复
2,176 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As you know that the erasing operation make the bits of flash data from 0 to 1, and the original 1 remains 1, in other words, after erasing, the flash data will be all 1, it means that the flash will be 0xFF, 0xFF...after erasing.

The programming will make the 1 to 0, if the data bits you write is 1, the 1 will keep. The flash programming can not make bit from 0 to 1.

In conclusion, for flash operation, before you program a flash page, sector, you have to erase the page, sector, then program it. In other words, one erase operation, one programming operation. It is impossible that one erasing operation and multiple programming happen.

Because of one erasing and one programming operation, so one erasing/programming cycle is counted as 1 cycle.

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复