cancel
Showing results for 
Search instead for 
Did you mean: 

How many flash erase cycles in STM32H743

GS1
Senior III
Posted on March 16, 2018 at 18:58

I would like to know the number of possible flash memory erase cycles apply for the STM32H743. I could not find the spec. in the Reference manual or on the ST home page. 

Is it  like 100 000 write/erase cycles? or less?

Thank you for any help!

#stm32h7-flash-cycles
6 REPLIES 6
Posted on March 16, 2018 at 19:24

Data Sheet says 10K cycles (NEND)

http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/23/be/db/eb/29/39/4b/eb/DM00387108/files/DM00387108.pdf/jcr:content/translations/en.DM00387108.pdf

 

Table 52. Flash memory endurance and data retention

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 16, 2018 at 19:32

Thank you for the quick reply!  I should have checked the data sheet...

Posted on March 16, 2018 at 19:44

Maybe it's stupid but I load code to SRAM during the development phase to avoid re-flashing the MCU. I use Keil and it works quite well.

Posted on March 16, 2018 at 20:00

I noticed that you marked my reply as helpful - the procedure is here in case you would like to see how it works:

https://community.st.com/0D50X00009bMM79SAG

 
Posted on March 16, 2018 at 20:05

Thank you very much! That really helps. I use Keil too, so I will try that.

Posted on March 16, 2018 at 20:15

It works fine when you have enough SRAM (you need to split the SRAM between the code and data playing with IROM / IRAM settings in Keil).

I watch the *.map file to see what part of the code / data consumes most memory.

Reduce the stack & heap size if too big (CubeMX defaults are sometimes to big for simple projects).

For smaller boards I use LL drivers instead of HAL, OR simply register-based programing.

I find it enjoying  - I mean the game how to reduce memory consumption;)