STM32CubeProgrammer - write to memory without reset
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-20 12:58 AM - edited 2023-09-20 1:49 AM
Hi,
I want to write U32 value to EEPROM (STM32L07) without resetting after writing is done.
1) This writes the value, but then resets the MCU: STM32_Programmer_CLI.exe -c port=SWD mode=normal freq=8000 -w32 0x8080000 0x3 -v
2) I tried this: STM32_Programmer_CLI.exe -c port=SWD mode=hotplug freq=8000 -w32 0x8080000 0x3 - but it returns: Error: Failed to download data! If it's a Flash memory, it may be not erased or protected
Any idea how to write the values? Maybe I would use something like:
halt MCU -> write to memory (eeprom) -> run MCU / or reset MCU
Thank you.
Labels:
- Labels:
-
STM32CubeProgrammer
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-20 3:16 AM
Maybe there is another problem - it seems like when I write to the EEPROM so no new value is really saved. STM32CubeProgramer returns verifed succesfully, but it seems like no data are really saved in EEPROM.
