| Electronic Components Datasheet Search |
|
UM0470 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0470 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 37 page ![]() 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 |
|
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 |
| 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 |