2018-03-16 10:58 AM
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-cycles2018-03-16 11:24 AM
Data Sheet says 10K cycles (NEND)
Table 52. Flash memory endurance and data retention
2018-03-16 12:32 PM
Thank you for the quick reply! I should have checked the data sheet...
2018-03-16 12:44 PM
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.
2018-03-16 01:00 PM
I noticed that you marked my reply as helpful - the procedure is here in case you would like to see how it works:
2018-03-16 01:05 PM
Thank you very much! That really helps. I use Keil too, so I will try that.
2018-03-16 01:15 PM
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;)