2024-08-05 04:05 AM - edited 2024-08-05 04:25 AM
I am trying to upload my code using ST Link(SWD)into a custom board with an STM32 Core. I am using serial wire debug for programming. So I am getting the above shown error messages. If anyone have come across this issue, please help me resolve it.
I tried uploading the code using STM Cube Programmer also. I am getting the above error.!
2024-08-07 06:24 AM
Between VCAP and GND you should measure 1.25V, if not the LDO is NOT working, and it's highly probable that either the supplies are going to the wrong pins, or the IC is rotated.
If the chip's not powering up properly you're trying to talk to dead circuits, it's simply not going to work.
A picture of board and connectivity might be illustrative..
2024-08-07 06:30 AM - edited 2024-08-13 09:25 PM
R1 ,C6, R2 are very close to the jumpers. The black wire(wounded into the ground) is connected to R4, C16 to mimic the reset functionality.
2024-08-07 08:17 AM
Oh my god why is R2 still there? REMOVE R2!
I need to tap out of this thread. Good luck.
2024-08-07 10:58 PM
@vbk22398 See TDK's post above: REMOVE R2 !
You're shorting VCAP to GND, which makes no sense at all, and might have killed the MCU.