Skip to main content
zqizh.1
Associate III
November 26, 2021
Question

Question abut stm32u5 internal flash

  • November 26, 2021
  • 4 replies
  • 3391 views

Hi,

The stm32u5's internal flash has feature "10 kcycles endurance on all Flash memory. 100 kcycles on 256 Kbytes per bank".

Please advise the memory address of "100 kcycles on 256 Kbytes per bank".

Thanks,

QiZhang

This topic has been closed for replies.

4 replies

Amel NASRI
Technical Moderator
December 9, 2021

Hi @zqizh.1​ ,

If you are looking for the flash memory addresses, you will find the anser in the reference manual RM0456 (precisely refer to the table "Flash module 2-Mbyte dual bank organization").

If your request is different from this, please precise what you are looking for.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
zqizh.1
zqizh.1Author
Associate III
December 10, 2021

Hi,

I am looking for the flash memory addresses of the specific 256 Kbytes which can be written and erased 100 000 times.

Please list down it here, or guide me to the page of the reference manual RM0456.

Thanks,

QiZhang

Max
ST Employee
December 9, 2021

from RM0456:0693W00000Ho3hfQAB.png

zqizh.1
zqizh.1Author
Associate III
December 13, 2021

Hi,

I am looking for the flash memory addresses of the specific 256 Kbytes which can be written and erased 100 000 times.

Please list down it here, or guide me to the page of the reference manual RM0456.

Thanks,

QiZhang

Max
ST Employee
December 13, 2021

The answer is in the short text above.

There is no dedicated address for these 256k.

You can choose the location you want but you have to make sure the size of the area you cycle more than 10 000 times is 256k or less.

zqizh.1
zqizh.1Author
Associate III
December 14, 2021

Hi,

According to my understanding, the NOR FLASH one cycle is erase-program on every page. the page size is 8K bytes,

During the flash operation, I can't find any limitation about 256KB,so don't know how the identify the two life cycle memory.

Please share more information and sample code about it.

Thanks,

QiZhang

Max
ST Employee
December 14, 2021

up to 32 pages (= 256kB) can be erased up to 100k times.

You choose the pages you want.

You must make sure that 32 pages maximum are cycled 10k times or more

LBöhm.1
Associate III
April 5, 2022

But how does this work? Is there a kind of wear leveling behind?