cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f030cct6 SWDIO is pulldown when i try to program and my STLINK can't find the tarjet

Frisopita
Associate II

I am trying to program a stm32f030cct6 with a ST-Link v2. When I try to connect using CubeProgramer  says: "Tarjet not found". I connect to NREST, CLK and SWDIO, I'm measuring the signals with an oscilloscope and SWDIO is in PullDown when it should be in PullUp, as it says in the datasheet. Note that the clock takes some more time to start toggle, about 200 ms.
I don't know what could be the error

Thanks. 

WhatsApp Image 2023-08-29 at 16.53.27.jpeg

MicrosoftTeams-image.png

4 REPLIES 4
ONadr.1
Senior III

Try to connect NRST via the button to GND. Press the button and then start "Connect" and release the button after about a second. Then it is best to do a "Mass Erase".

Thanks for your Answer. Do you think that the microcontroller is blocked? and how this method can help me to solve it?

I did but it didn't work, in the image you can see the result that i obtain.

I would try external pullup rezistor. In RM0360 26.5.1. is this:

For SWDIO bidirectional management, the line must be pulled-up on the board (100 kΩ
recommended by Arm).

If that doesn't help either, I'd try replacing the MCU to verify it's not a faulty piece.