dap42-hardware icon indicating copy to clipboard operation
dap42-hardware copied to clipboard

STM32F103 pinout

Open ildar opened this issue 6 years ago • 3 comments

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

ildar avatar Sep 11 '19 07:09 ildar

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

ildar avatar Sep 11 '19 08:09 ildar

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

devanlai avatar Sep 11 '19 08:09 devanlai

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

ildar avatar Sep 11 '19 16:09 ildar