2018-05-08 08:04 AM
Hello
.I want to use the
ST-LINK
/V2 to program a customSTM32F0
microtroght
SWD
.Taking a look at
ST-LINK
/V2 User Manual(
UM1075
),
I had a doubt aboutVAPP
pins
.These
pins
(
1
and2
), are input or outputpins
?I guess these
pins
are inputs and should be connected to mypower
supply
board, enabling theSTLink
to do identify thepower
supply
level. Am I right?2018-05-08 09:43 AM
The note (1) seems to tell that the ST Link has a level shifter for the digital signals (3.3V, 2.5V, 1.8V), this level shifter needs to be powered by the application. Its consumption should be small.
I guess the STLink also uses VAPP as analog monitoring to detect when the application is unpowered and return error message when trying to debug.
The rest of ST Link electronics is powered by USB.
Typically, debug required minimum 4 wires.
2018-05-10 08:23 AM
Thank you.