Chip-dat/ST-dat/STM8-dat/2026-04-28-15-27-52.png
... ...
Binary files /dev/null and b/Chip-dat/ST-dat/STM8-dat/2026-04-28-15-27-52.png differ
Chip-dat/ST-dat/STM8-dat/STM8-dat.md
... ...
@@ -1,10 +1,48 @@
1 1
2 2
# STM8-dat
3 3
4
+- [[SWIM-dat]] - 18 PD1 (HS)/`SWIM` - [[SDK-dat]] - [[ST-dat]] - [[STM8-SDK-dat]]
5
+
6
+
7
+
8
+## boards
9
+
4 10
STM8S003F3P6 - [[DOD1008-dat]]
5 11
6 12
STM8S103F3P6 - [[DOD1014-dat]]
7 13
14
+## pins
15
+
16
+https://www.st.com/en/microcontrollers-microprocessors/stm8s103f3.html
17
+
18
+![](2026-04-28-15-27-52.png)
19
+
20
+
21
+
22
+- 1 UART1_CK/TIM2_CH1/BEEP/(HS) PD4
23
+- 2 UART1_TX/AIN5/HS PD5
24
+- 3 UART1_RX/AIN6/HS PD6
25
+- 4 NRST
26
+- 5 OSCIN/PA1
27
+- 6 OSCOUT/PA2
28
+- 7 Vss
29
+- 8 VCAP
30
+- 9 VDD
31
+- 10 [SPI_NSS] TIM2_CH3/(HS) PA3
32
+
33
+right
34
+
35
+- 20 PD3 (HS)/AIN4/TIM2_CH2/ADC_ETR1
36
+- 19 PD2 (HS)/AIN3 [TIM2_CH3]
37
+- 18 PD1 (HS)/`SWIM`
38
+- 17 PC7 (HS)/SPI_MISO [TIM1_CH2]1
39
+- 16 PC6 (HS)/SPI_MOSI [TIM1_CH1]1
40
+- 15 PC5 (HS)/SPI_SCK [TIM2_CH1]
41
+- 14 PC4 (HS)/TIM1_CH4/CLK_CCO/AIN2 [TIM1_CH2N]1
42
+- 13 PC3 (HS)/TIM1_CH3 [TLI] [TIM1_CH1N]1
43
+- 12 PB4 (T)/I2C_SCL [ADC_ETR]
44
+- 11 PB5 (T)/I2C_SDA [TIM1_BKIN]
45
+
8 46
9 47
## SCH
10 48
... ...
@@ -46,6 +84,9 @@ https://pan.baidu.com/s/1XD054bClbU_2HepRxzVuCQ 提取码6ezn
46 84
- 5.STM8各功能模块的寄存器编程
47 85
- 6.IAR开发环境和STVP烧写软件
48 86
87
+
88
+
89
+
49 90
## STM8L - 0x0
50 91
51 92
STM8L052C6T6 LQFP-48 16MHz/32KB Flash/8-bit Microcontroller - MCU
SDK-dat/STM32-SDK-dat/STM32-SDK-dat.md
... ...
@@ -1,6 +1,13 @@
1 1
2 2
# STM32-SDK-dat.md
3 3
4
+
5
+- [[STM32-Cube-programmer-dat]] - [[ST-link-dat]]
6
+
7
+- [[STM8-SDK-dat]] - [[STM32-SDK-dat]]
8
+
9
+
10
+
4 11
- [[STM32-CubeMX-dat]] - [[STM32-CubeIDE-dat]]
5 12
6 13
- [[STM32-HDK-dat]]
SDK-dat/STM32-SDK-dat/stm32-cube-programmer-dat/stm32-cube-programmer-dat.md
... ...
@@ -2,7 +2,21 @@
2 2
# stm32-cube-programmer-dat
3 3
4 4
5
+- [[STM8-SDK-dat]] - [[STM32-SDK-dat]]
6
+
7
+
8
+
9
+
5 10
## Programmer
11
+
12
+
13
+https://www.st.com/en/development-tools/stm32cubeprog.html
14
+
15
+- STM32CubeProgrammer software for Win64 == 2.22
16
+
17
+https://www.st.com/cloudfront/publish/stm32cubeprg-win64-v2-22-0/2.22.0/en/SetupSTM32CubeProgrammer_win64.zip
18
+
19
+
6 20
* X64 2.6 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/d5/9b/ea/a8/cd/2d/4e/3c/stm32cubeprg-win64_v2-6-0/files/stm32cubeprg-win64_v2-6-0.zip/jcr:content/translations/en.stm32cubeprg-win64_v2-6-0.zip
7 21
- STM32cubeprog 2.2.1 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/e1/74/6e/13/97/d4/48/98/stm32cubeprog/files/stm32cubeprog.zip/jcr:content/translations/en.stm32cubeprog.zip
8 22
SDK-dat/STM8-SDK-dat/STM8-SDK-dat.md
... ...
@@ -1,17 +1,28 @@
1 1
2 2
# STM8-SDK-dat
3 3
4
-https://w.electrodragon.com/w/STM8_Program
4
+
5
+- [[STM8-SDK-dat]] - [[STM32-SDK-dat]]
6
+
7
+
8
+- [[SWIM-dat]] - 18 PD1 (HS)/`SWIM` - [[SDK-dat]] - [[ST-dat]] - [[STM8-SDK-dat]]
9
+
10
+
11
+[legacy wiki page](https://w.electrodragon.com/w/STM8_Program)
12
+
13
+- [[STM32-cube-programmer-dat]]
5 14
6 15
7 16
## Program
8 17
9
-### Upload code
18
+[ST Visual Programmer STM32 (replaced by STM32CubeProgrammer)](https://www.st.com/en/development-tools/stvp-stm32.html)
19
+
20
+### Upload code via SWIM
10 21
11 22
![](2024-07-05-18-05-02.png)
12 23
13
-* Install ST toolset, which include ST visual programmer
14
-* Connect your ST-LINK, SWIM, RST, VCC better 3.3V, GND.
24
+* Install `ST toolset`, which include `ST visual programmer`
25
+* Connect your ST-LINK, `SWIM`, `RST`, `VCC` better 3.3V, `GND`.
15 26
* select and open hex file, select menu program -> current tap and done.
16 27
17 28
### Use
... ...
@@ -28,3 +39,9 @@ https://w.electrodragon.com/w/STM8_Program
28 39
* Install st toolset (STVD + programmer ). Current version we provided is [http://dl.electrodragon.com/k/index.php?share/folder&user=1&sid=JMyabvNR sttoolset_pack29] (pass electrodragon0428)
29 40
* Alternative install ST-link driver
30 41
42
+
43
+
44
+
45
+
46
+## ref
47
+