aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/swlink/Readme
blob: b4b3c2ce1ad1a2f0ce922ecf46e6f7bbac78dcbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Blackmagic for the STM8S Discovery Board
========================================

The board is a ST-Link V1 Board, but with access to JTAG pins accessible
on CN5. This allows easy reprogramming and reuse of the JTAG header.
Programmatical it seems indistinguishable from a e.g. STM32VL
Discovery. So here avariant that uses CN5 for JTAG/SWD_TRACESWO and CN7 for
UART.

Force Bootloader entry is done with shorting CN7 Pin3/4 so PB6 read low while
pulled up momentary by PB6.

Reuse SWIM Pins for Uart (USART1)
RX: CN7 Pin2 ->SWIM_IN (PB7)/USART1_RX / SWIM_IN(PB9)
TX: CN7 Pin4 -> SWIM_RST_IN(PB6)/USART1_TX