Skip to main content
JJRR
Associate III
October 13, 2020
Solved

STM32L152 - random EEPROM deletion at low voltage?

  • October 13, 2020
  • 2 replies
  • 1340 views

Dear,

we use EEPROM in our project with STM32L152. It seems like in some MCUs is erased random part of the Eeprom. It happens very rarely, and probably most likely when VCC is disconnected from PCB (MCU).

Any solution, any similar experience?

Best regards, Jan.

Best answer by JJRR

Thanks! I repaired it now. Because sometimes I did not make a lock immediately after writing - I need to make a new stress to test it and I will see :)

2 replies

waclawek.jan
Super User
October 13, 2020

No specific experience, so only general questions:

Does your program write into EEPROM or FLASH? If so, do you lock the EEPROM immediately after writing?

Do you have BOR enabled? What level? Can you make it more stringent?

JW

JJRR
JJRRAuthorBest answer
Associate III
October 14, 2020

Thanks! I repaired it now. Because sometimes I did not make a lock immediately after writing - I need to make a new stress to test it and I will see :)

ABans.3
Associate II
February 29, 2024

We are facing the similar issue with the stm32 L073. On reset of the stm32, our eeprom has been turned to 0. Also BOR is not set in our firmware.