What is a flashrom cycle? MKM34Z256

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is a flashrom cycle? MKM34Z256

Jump to solution
2,210 Views
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 Kudos
Reply
1 Solution
2,164 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
2,183 Views
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 Kudos
Reply
2,168 Views
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 Kudos
Reply
2,165 Views
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 Kudos
Reply