Skip to main content
Aatif Shaikh1
Associate III
November 11, 2019
Solved

Flash not working during the writing cycle in stm32f103CBT6!

  • November 11, 2019
  • 1 reply
  • 898 views

Hi All,

I'v been working on a project wherein I use some portion of the flash to store certain data. Initially, after the manufacturing and assembly procedure, I don't usually get any issues at all, but after several months, the board starting to give random issues whenever I try to write any data into the flash memory.

When I run the code into the debug mode, I noticed, the moment my code execute the "FLASH->CR|= CR_STRT_Set" in the "FLASH_ErasePage" function, complete sector of 1KB gets corrupted.

On the other hand, I'm able to modify the same location (which were giving issues) via ST-link.

I would also like to know, what is the maximum limit (Number of write cycles) of internal flash write?

This topic has been closed for replies.
Best answer by Tesla DeLorean

Datasheet says 10k cycles as I recall​

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
November 11, 2019

Datasheet says 10k cycles as I recall​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..