STM8
来自Jack's Lab
(版本间的差异)
(→Upload) |
(→Upload) |
||
第61行: | 第61行: | ||
== Upload == | == Upload == | ||
− | The STM8 SWIM protocol is well documented in [http://www.st.com/content/ccc/resource/technical/document/user_manual/ca/89/41/4e/72/31/49/f4/CD00173911.pdf/files/CD00173911.pdf/jcr:content/translations/en.CD00173911.pdf UM0470] | + | The STM8 SWIM protocol (STLink) is well documented in [http://www.st.com/content/ccc/resource/technical/document/user_manual/ca/89/41/4e/72/31/49/f4/CD00173911.pdf/files/CD00173911.pdf/jcr:content/translations/en.CD00173911.pdf UM0470] |
=== Hardware === | === Hardware === |
2018年11月13日 (二) 10:13的版本
目录 |
1 STM8S105K6
- 16 MHz advanced STM8 core
- 32 Kbyte Flash
- 1 Kbyte EEPROM
- 2 Kbyte RAM
- 10-bit, ±1 LSB ADC with up to 10 multiplexed channels ADC
- UART with clock output for SmartCard, IrDA, LIN master mode
- SPI interface up to 8 Mbit/s
- I2C interface up to 400 kbit/s
- Up to 38 I/Os on a 48-pin package
- 96-bit unique key for each device
- 2.95 to 5.5 V operating voltage
2 Toolchain
2.1 STM8Tools
- https://github.com/tenbaht/sduino/releases/download/v0.3.3/sduino-tools_linux32-2017.11.13.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.3/sduino-tools_linux64-2017.11.13.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.3/sduino-tools_macosx-2017.11.13.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.3/sduino-tools_mingw32-2017.11.13.tar.bz2
2.2 SDCC
- https://github.com/tenbaht/sduino/releases/download/v0.3.0/sdcc-stm8-amd64-unknown-linux2.5-20171020-10088.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.0/sdcc-stm8-i386-unknown-linux2.5-20171020-10088.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.0/sdcc-stm8-i586-mingw32msvc-20171020-10088.tar.bz2
- https://github.com/tenbaht/sduino/releases/download/v0.3.3/sdcc-stm8-universal-apple-macosx-20170720-9960.tar.bz2
2.3 i686-mingw32
- https://github.com/stm32duino/BoardManagerFiles/raw/master/STM8/tools/STM8Tools-0.1.0-windows.tar.bz2
- http://cosmicsoftware.com/Arduino/4.1.3/Cxppstm8.zip
2.4 Github
- https://github.com/tenbaht/sduino
- https://github.com/tenbaht/sduino/raw/master/package_sduino_stm8_index.json
- https://github.com/stm32duino/Arduino_Core_STM8
- https://github.com/stm32duino/BoardManagerFiles/raw/master/STM8/package_stm8_index.json
3 Upload
The STM8 SWIM protocol (STLink) is well documented in UM0470
3.1 Hardware
3.2 Software
4 Debug
5 Reference