2026-01-02 5:47 PM
Been working on this for a few weeks now, I'm losing my mind. In STM32CubeIDE, only time I can get anywhere is in hardware reset, and there it times out. In STM32CubeProgrammer, it does connect. It can read the MCU name, flash size, all of that. All addresses read 00000000. However, I can't write in the programmer, and I just can't figure out why. Write to memory failed. Failed to erase data. Failed to download data. This is my first time doing something like this, so maybe I'm missing something. But nothing I've looked up has helped.
2026-01-04 10:33 AM
What "updated" ??
The CubeProgrammer just connects, on "connect" command, nothing else. (in background some periodic check for target still alive running)
Then you decide, what to do.
If behaviour is different - a hardware problem is ...as @TDK said.
Show the programmer info...like this:
setting:
2026-01-04 12:13 PM
and with live update on, I get this every half second or so. I don't know if that means it's resetting or if that's just how the program works, updating every so often.
2026-01-04 2:09 PM
0.52 V is not enough voltage for the chip to run.
2026-01-04 2:12 PM - edited 2026-01-04 2:18 PM
If the cpu resets - you would loose connection. And red error ...lost connection.
So dont worry about the program working as it should. ..." read successful" = all ok. Whats your problem here ?
First check the supply, 0.5V is too low. When supply is ok, then:
Try to flash...or do full erase , if something already written to the cpu.
btw
"live update" - i never had the funny idea, to try this. But now i tried, and yes, ist doing like you see it also. :)