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-02 6:07 PM
Assume no one here is familiar with the specifics of your custom design.
Perhaps a minimal schematic of what you've built?
Check the voltage and capacitors on VCAP pin(s). Should have 4U7 on bonded pins, or 2U2 on each individually. Expect around 1.25V if properly powered.
2026-01-02 6:30 PM
Sounds like a hardware issue with your custom board.
In addition to what @Tesla DeLorean says above, some common issues:
2026-01-02 6:50 PM
2026-01-02 7:15 PM
Only see 1 VSS pin in the schematic. Are the other 3 VSS pins 31, 47, 63 connected to ground? Where?
Otherwise things look good.
2026-01-02 7:25 PM
They are all also connected to ground, with the 100nf caps. That long line to the left of the chip.
2026-01-02 7:28 PM
I only see VDD pins on the left side of the chip, not VSS.