devanlai / dap42-hardware

STM32F042Fx based DAP interface hardware
21 stars 9 forks source link

STM32F103 pinout #3

Open ildar opened 5 years ago

ildar commented 5 years ago

https://github.com/devanlai/dap42 supports STM32F103 but no hardware design or just a mere pinout is available.

ildar commented 5 years ago

meanwhile https://github.com/devanlai/dap42/blob/master/src/stm32f103/stlinkv2-dongle/DAP/CMSIS_DAP_config.h#L129

devanlai commented 5 years ago

Hi @ildar, I don't have a hardware design for the STM32F103 because the F103 variant of the firmware targets ST-Link/v2 clone hardware, which is mind-bogglingly affordable.

You can either refer to various reverse-engineered schematics of the clone hardware, or to a subset of the official ST-Link/v2 schematic, depending on your preference. As you've already found, the relevant pinout for my firmware on the STM32F103 is in the header files, which I've reproduced here:

Name Pin
SWCLK PB13
SWDIO PB14
UART RX / SWO PB11
RST PB6
LED PA9
ildar commented 5 years ago

Yes, thanks a lot! It runs on a BluePill perfectly!