aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/swlink/Readme
diff options
context:
space:
mode:
authorUwe Bonnes2013-03-12 12:24:10 +0100
committerUwe Bonnes2013-03-12 12:24:10 +0100
commit920ced062eb0f50f26467868cda0d7fb0fd72413 (patch)
treeacaff31905f94cb4647e5b1b8aba4ed7a0d565ec /src/platforms/swlink/Readme
parente880c553fb0326acef68296a9d1b4dc3b3affbb3 (diff)
SWLINK: Add variant for the STM8S Discovery board
Diffstat (limited to 'src/platforms/swlink/Readme')
-rw-r--r--src/platforms/swlink/Readme15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/platforms/swlink/Readme b/src/platforms/swlink/Readme
new file mode 100644
index 0000000..b4b3c2c
--- /dev/null
+++ b/src/platforms/swlink/Readme
@@ -0,0 +1,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