Electronic Components Datasheet Search
  English  ▼

X  

UM0470 Datasheet(PDF) 19 Page - STMicroelectronics

Part # UM0470
Description  STM8 SWIM communication protocol and debug module
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0470 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button UM0470 Datasheet HTML 15Page - STMicroelectronics UM0470 Datasheet HTML 16Page - STMicroelectronics UM0470 Datasheet HTML 17Page - STMicroelectronics UM0470 Datasheet HTML 18Page - STMicroelectronics UM0470 Datasheet HTML 19Page - STMicroelectronics UM0470 Datasheet HTML 20Page - STMicroelectronics UM0470 Datasheet HTML 21Page - STMicroelectronics UM0470 Datasheet HTML 22Page - STMicroelectronics UM0470 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 37 page
background image
UM0470
Debug module (DM)
19/37
Figure 11.
Debug module block diagram
4.3
Debug
The DM registers can be read and written only through the SWIM interface. STM8 core has
no access to these registers.
4.3.1
Reset
Once the SWIM is active and SWIM_DM bit is set in SWIM_CSR register, a ‘data read’
breakpoint at the reset vector address is automatically set, due to the reset values of the
debug module registers. This breakpoint can be used to initialize the debug session.
4.3.2
Breakpoints
The DM generates a stall to the core when a breakpoint is reached. When the processor is
stalled, the host can read or modify any address in memory. Access to the processor
registers is explained in Section 3.7: CPU register access.
RST BRW BK2F BK1F
DM_CSR1
DM_BK1
-
BIW
BIR
BC0
BC1
-
DM_CR1
BREAKPOINT
DM_BK2
DM STALL/TRAP
BC2
-
WATCHDOG CONTROL
DM
STF
STE
Debug Module (DM)
CPU
(Fro m
Slave DM
wh en
available)
DM STALL
WATCHDOG
DM_CR2
FV_ROM
FV_RAM
EXT STALL
MANAGEMENT
EXT
STALL
ENFCTx
PERIPHERALS
(Timers, USB,...)
DM_ENFCT
SOFTWARE
SWIM
EMU/DMA
SWIM
interface
STM8
DM REGISTERS
READ/WRITE
RESET
LOGIC
LOGIC
LOGIC
SWBKF
SWBKE
BREAK
flag
enable bit
STALL bit
SWTRAP bit
SWTRF
flag



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com