STM32F103 not programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-09 11:41 PM
Hello i am working on a project which is based on stm32f103c8t6 mcu.
i face a issue while programming some of these microcontrollers.
sometimes some microcontrollers are programmed perfectly while some start giving errors(see attachment).
while going through some forums they suggested to solder the vcc ,gnd,swd and scl pins correctly but even after rectifying the issue still persists
i used this single st-link usb type programmer
can you please help me out
i have even attached the schematic
- Labels:
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-10 12:40 AM
- Is this a custom board or one of those bluepills?
- did you tried to "connect under reset"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-10 4:10 AM
Make sure the parts are properly powered. Especially the analogue​ supplies.
The error indicates the devices are working due to power or board construction. ​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:22 AM
It is a custom board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:27 AM
Yes the mcu is getting proper voltage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:41 AM
Ok
Show how this is wired to the ST-LINK you're using.
Perhaps use STM32 Cube Programmer, rather than ST-LINK Utilities, it will show the measured voltage
CN2 left-of-right, STM32 component side
GND, SWCLK, SWDIO, 3V3
CN2 pin side
3V3, SWDIO, SWCLK, GND
The 3V3 needs to go to pin 1 on the ST-LINK 20-pin header, you need a GND,
SWCLK to pin 9, SWDIO to pin 7
Part number unreadable in pictures. Show U1 tight, large and in-focus
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 8:48 AM
