2024-01-11 11:25 AM
i am sorry for creating a lot of post recently but i just can not program my microcontrollers.
when ever i try to program it i get this:
STMicroelectronics ST-LINK GDB server. Version 7.5.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
i have a stlink v3 mini and 3 stm32c031g4u6 microcontrollers soldered to proper breakout boards.
i have SWD interface soldered from the edge connector because i had no luck with cn4.
SWDIO, SWCLK and RESET are connected. i also have an led soldered to power pins to be sure its powered.
i am sure of the soldering job.
on my first post someone recommeded i solder capasitors so i did that still no result.
i am using linux mint's latest and the code i am trying to upload is just empty machine generated code
here are the pics:
i made a breakout for cn4:
sorry for the bad solder job
thanks for help
Solved! Go to Solution.
2024-01-11 01:02 PM - edited 2024-01-11 01:04 PM
The VDD from the AM1117 needs to go to the CN2.10 / T_VCC pin on the ST-LINK-V3MINIE
STM32 Cube Programmer should be able to report the board voltage
The T_VCC is there to power the buffers between the ST-LINK and the Target MCU, say for systems running at 1.8V, 2.7V or whatever
2024-01-11 01:21 PM - edited 2024-01-11 01:22 PM
Previous duplicate post:
I just want to point out that the very first bullet in the very first reply to your previous thread was to check part orientation along with where pin 1 relative to the text, which you didn't check or at least didn't notice/fix until it was pointed out here.
Perhaps slow down. If you do things correctly, you only need to do them once.
2024-01-11 01:21 PM - edited 2024-01-11 01:55 PM
Wiring still looks wrong if the IC is still rotated 90 degrees or 7 pins
Draw a chart, probe continuity and confirm where pin 1 exits
Newer thoughts..
2024-01-11 01:23 PM
it reads 3,25 Volts. fixed the wiring still nothing.
any ideas on what am i doing wrong?
2024-01-11 01:53 PM
No
The adapter is quite confusing in it's pin numbering. I've marked Pin 1 on the STM32 you've placed
2024-01-11 02:03 PM
i am thankful for all the help. i have checked it and you look correct.
i am sorry for creating a duplicate question. i tought pin1 started from the writings beginning not the dot. i am new to stm32's and i have nobody i can ask except you guys
vdd is +3,3v and vss is gnd correct?
2024-01-13 12:12 PM
i have managed to narrow the issue to my stlink v3 minie. i went and bought a new stlink v2 mini and it works with cubeprogrammer with the current correct wiring. it appears that i have either fried the v3 mini or dont know how to use it. either way cubeprogrammer and V2 clone works for now