This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with writing wrong registers in memory of STM32L

Hi,
I faced a problem after writing the EEPROM memory and more over above this section (from 0x08080000 to rest) in a wrong loop where mu MCU halted and even after reprogramming it, it halts and runs for few miliseconds after startup.
I tried "Erase full chip" from Options>Utilities>settings but it does not help!
looking for any advise.

Parents
  • Sorry, I read that despite mass-erasing the part, my code still crashes after a few milliseconds...

    To which my response is that perhaps it's the code that's going pear-shaped, and perhaps you should look there for the what/why of the failure.

    If there's an issue with the EEPROM, perhaps you can better define exactly why you think that's the case, and what data or analysis supports it.

Reply
  • Sorry, I read that despite mass-erasing the part, my code still crashes after a few milliseconds...

    To which my response is that perhaps it's the code that's going pear-shaped, and perhaps you should look there for the what/why of the failure.

    If there's an issue with the EEPROM, perhaps you can better define exactly why you think that's the case, and what data or analysis supports it.

Children