EasyManuals Logo
Home>ST>Microcontrollers>STM8S

ST STM8S Getting Started

ST STM8S
40 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
Development tools AN2752
20/40 AN2752 Rev 6
8 Development tools
Development tools for STM8S and STM8AF microcontrollers include the STice emulation
system supported by a complete software tool package including C compiler, assembler and
integrated development environment with high-level language debugger.
8.1 Single wire interface module (SWIM)
8.1.1 SWIM overview
In-circuit debugging mode or in-circuit programming mode are managed through a single
wire hardware interface based on an open-drain line, featuring ultra fast memory
programming. Coupled with an in-circuit debugging module, the SWIM also offers a
non-intrusive read/write to RAM and peripherals. This makes the in-circuit debugger
extremely powerful and close in performance to a full-featured emulator.
The SWIM pin can be used as a standard I/O (with 8 mA capability) which has some
restrictions if the user wants to use it for debugging. The most secure way to use it is to
provide a strap option on the PCB. Refer to the STM8 SWIM communication protocol and
debug module user manual UM0470, available on www.st.com
for more SWIM protocol
details.
Figure 11. Debug system block diagram
8.1.2 SWIM connector pins
The SWIM connector pins consist of four pins, as described in Table 2.
SWIM entry
100
kHz Osc
Internal RC
Comm
layer
CMD
decode
DM
STM8
core
Peripheral
NVM
RAM
DBG
Table 2. SWIM connector pins
Pin number Pin name
Pin 1 V
DD
Pin 2 SWIM pin
Pin 3 V
SS
Pin 4 Reset

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals