Skip to main content
carlesls2
Associate III
Jun 20, 2025 12:06 PM UTC
Question

All '0' in flash memory

Hello I have a question.

The '0' s instead of 0xFFFFFFFF in the memory is something that really occurs on the flash memory or it is a value that appear because the stm32cubeide is not able to read all the position of the memory, or in other words, the IDE is unable to confirm that the memory is empty.

 

carlesls2_0-1750420977209.png

 

Thanks a lot. 

 

This topic has been closed for replies.

4 replies

Semer CHERNI
ST Employee
Jun 23, 2025 8:41 AM UTC

Hello @carlesls2 

First let me thank you for posting.

Could you please give more details about the scenario which led to this behavior.
And if possible can you share you binary file. You can send it via private message.

KR,
Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
carlesls2
carlesls2Author
Associate III
Jun 25, 2025 12:27 PM UTC

As I check the memory and the memory is being written on, I see that there are '0' on the upper parts of the memory. 

waclawek.jan
Super User
Jun 25, 2025 8:54 PM UTC

Which STM32?

'L0 and 'L1 have an unusual FLASH which is erased to all- zeros, instead of the usual all-ones.

JW

carlesls2
carlesls2Author
Associate III
Jun 26, 2025 5:08 AM UTC

stm32g051