stm32f030cct6 SWDIO is pulldown when i try to program and my STLINK can't find the tarjet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-29 4:08 PM
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. 
 
 
- Labels:
-
STM32F0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 12:17 AM
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 10:04 AM
Thanks for your Answer. Do you think that the microcontroller is blocked? and how this method can help me to solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 10:58 AM
I did but it didn't work, in the image you can see the result that i obtain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-31 12:30 AM
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.
