STM32仿真器接口
仿真器端口 | 連接目標(biāo)板 | 備注 |
1. VCC | MCU電源VCC | VCC |
2. VCC | MCU電源VCC | VCC |
3. TRST | TRST | Test ReSeT/ pin |
4. GND | GND或懸空 | |
5. TDI | TDI | Test Data In pin |
6. GND | GND或懸空 | |
7. TMS, SWIO | TMS, SWIO | JTAG:Test Mode State pin ; SWD: Data I/O pin |
8. GND | GND或懸空 | |
9. TCLK, SWCLK | TMS, SWCLK | JTAG: Test Clock pin ; SWD: Clock pin |
10. GND | GND或懸空 | |
11. RTCK | RTCK | |
12. GND | GND或懸空 | |
13. TDO | TDO | Test Data Out pin |
14. GND | GND或懸空 | |
15. RESET | RESET | RSTIN pin |
16. GND | GND或懸空 | |
17. NC | NC | |
18. GND | GND或懸空 | |
19. NC | NC | |
20. GND | GND或懸空 |
下面是標(biāo)準(zhǔn)的接口排列:
ST-Link/V2 JTA/SWD接口是如何定義的?
下面為ST-Link/V2 JTAG/SWD接口定義:
仿真器端口 | 連接目標(biāo)板 | 功能 |
1. TVCC | MCU電源VCC | 連接STM32目標(biāo)板的電源VCC |
2. TVCC | MCU電源VCC | 連接STM32目標(biāo)板的電源VCC |
3. TRST | GND | GROUND |
4. UART-RX | GND | GROUND |
5. TDI | TDI | 連接STM32的JTAG TDI |
6. UART-TX | GND | GROUND |
7. TMS, SWIO | TMS, SWIO | 連接STM32的JTAG的TMS, SWD的SW IO |
8. BOOT0 | GND | GROUND |
9. TCK, SWCLK | TCK, SWCLK | 連接STM32的JTAG的TCK, SWD的SW CLK |
10. SWIM | GND | GROUND |
11. NC | NC | Unused |
12. GND | GND | GROUND |
13. TDO | TDO | 連接STM32的JTAG TDO |
14. SWIM-RST | GND | GROUND |
15. STM32-RESET | RESET | 連接STM32目標(biāo)板的RESET端口 |
16. KEY | NC | GROUND |
17. NC | NC | Unused |
18. GND | GND | GROUND |
19. VDD | NC | VDD (3.3V) |
20. GND | GND | GROUND |
STM32F10X手冊中要求的JTAG/SWD接法:
評論