2023-03-10 03:48 AM
I have been trying to read a memory area as follows on windows power shell:
.\STM32_Programmer_CLI.exe -c port=SWD -r8 0x08080000 8 -r8 0x08080C00 8
but that triggers a reset of the device. I do not want a device reset, I just want to read the memory as specified. How to do that?
Solved! Go to Solution.
2023-03-22 03:22 AM
Hi @ADiet.1,
That screenshot is from another thread you posted : Bug in command line tool or GUI version? (st.com)
Please keep in mind the issue per thread rule when posting in the future.
Could you please follow the steps detailed in this comment :
Thanks,
Aziz
2023-03-22 03:24 AM
This thread is not about a consistency. Maybe I made a wrong post to the wrong thread.
2023-03-22 03:30 AM
In other more effective forum software the moderators could merge the content. The topic is important to get resolution on, just wanted to ensure the team focuses on getting the hot start working robustly.
2023-03-22 04:23 AM
Hi @ADiet.1,
That's OK no harm done. To do the recap :
1- For this thread, I suggest you mark @Community members answer as best in order for it to be closed (Since hotplug mode is the mode we usually use when we don't want the device to reset or halt). @Sara BEN HADJ YAHYA will debug with you your specific case in the other thread (How to write bytes to flash without restart?)
2- For the inconsistent Option Bytes values(Bug in command line tool or GUI version? (st.com)).I will get back to you with my feedback ASAP.
3- For the inconsistent EEPROM reads you mentioned in this thread, my supposition is that the application you're running is modifying EEPROM data. Therefore it is expected to have different results when connecting in hotplug vs in normal modes.
Keep in mind that :
That's why I suggested to erase the flash and redo the tests (Since I couldn't reproduce the behavior you're seeing with the flash erased).
=> No bug in STM32CubeProgrammer in that regard.
Thanks,
Aziz