2024-08-22 05:40 AM - edited 2024-08-22 05:42 AM
I have a STLINK-V3SET and I'm trying to comunicate with a STM32F103C8T6 (Blue Pill). I'm sucessful only when the board is externally powered by it's USB port. The STLINK-V3SET SWD or JTAG connectors have a T_VCC pin, which I now realized are an input.
The connectors' description in the user manual:
Searching in the forum I've found this post (Solved: ST-Link V3 Set is not detecting the target MCU (ST... - STMicroelectronics Community). We both had the same problem and someone answered him saying that "official STLINKs don't provide supply, but you can customize it".
1) Do STLINK-V3SET really DON'T have a 3,3V power output?
2) If is possible, how can you customize it to supply the 3v3 output?
I'm new to stm32 (less than a week) so I would very much appreaciate any corrections if I said something wrong.
2024-08-22 05:49 AM - edited 2024-08-22 05:50 AM
> 1) Do STLINK-V3SET really DON'T have a 3,3V power output?
Correct. They do not have a power output. This follows the standard established by ARM, and is common for programmers.
As programs are typically not always run with a debugger attached, this is often not a problem. Power the board how it would be done in the final application.
Perhaps look into a nucleo board rather than a blue pill, as the former will have normal SWD debugging and (bonus) a genuine chip that works and an on-board debugger.
> 2) If is possible, how can you customize it to supply the 3v3 output?
If you have hardware skills, any number of options are open here, but then be aware that your programmer will be nonstandard, which is quite an inconvenience.
2024-08-22 07:15 AM
And neither the B-STLINK-VOLT additional module for STLINK-V3SET nor the B-STLINK-ISOL additional module for STLINK-V3SET would be able to supply the circuit with the 3V3, right?
2024-08-22 07:36 AM
No. Power doesn't appear on any standard debug headers.
If you are making your own programmer, I'm sure you can find a 3.3V rail on the actual board to tie into. But again, probably better options here (e.g. Nucleo board).