ST-Link/V2 JTAG/SWD接口
仿真器端口 1. TVCC 2. TVCC 3. TRST 4. UART-RX 5. TDI 6. UART-TX 7. TMS, SWIO 8. BOOT0 9. TCK, SWCLK 10. SWIM 11. NC 12. GND 13. TDO 14. SWIM-RST 15. STM32-RESET 16. KEY 17. NC 18. GND 19. VDD 20. GND 连接目标板 MCU电源VCC MCU电源VCC GND GND TDI GND TMS, SWIO GND TCK, SWCLK GND NC GND TDO GND RESET NC NC GND NC GND 功能 连接STM32目标板的电源VCC 连接STM32目标板的电源VCC GROUND GROUND 连接STM32的JTAG TDI GROUND 连接STM32的JTAG的TMS, SWD的SW IO GROUND 连接STM32的JTAG的TCK, SWD的SW CLK GROUND Unused GROUND 连接STM32的JTAG TDO GROUND 连接STM32目标板的RESET端口 GROUND Unused GROUND VDD (3.3V) GROUND ST-Link/V2 JTAG/SWD指定的标准接口
TDI – PA15
TMS,SWIO –PA13 TCK,SWCLK----PA14 TDO—PB3