我们现在分析官方开发板的st-link部分电路,
其开发板说明,DM00050135.pdf 14页有如下文字。
4.2 Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the STM32F0DISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways according to the jumper states (see Table 3):
●Program/debug the MCU on board,
●Program/debug an MCU in an external application board using a cable connected to SWD connector CN3.
The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about debugging and programming features refer to user manual UM1075 (ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32) which describes in detail all the ST-LINK/V2 features.
注意这句:
supports only SWD for STM32 devices
这说明,他的仿真器只支持swd模式,不支持jtag