STM8AF61xx, STM8AF62xx
Product overview
5.2
5.2.1
5.2.2
Single wire interface module (SWIM) and debug module (DM)
SWIM
The single wire interface module, SWIM, together with an integrated debug module, permits
non-intrusive, real-time in-circuit debugging and fast memory programming. The interface
can be activated in all device operation modes and can be connected to a running device
(hot plugging).The maximum data transmission speed is 145 bytes/ms.
Debug module
The non-intrusive debugging module features a performance close to a full-flavored
emulator. Besides memory and peripheral operation, CPU operation can also be monitored
in real-time by means of shadow registers.
● R/W of RAM and peripheral registers in real-time
● R/W for all resources when the application is stopped
● Breakpoints on all program-memory instructions (software breakpoints), except the
interrupt vector table
● Two advanced breakpoints and 23 predefined breakpoint configurations
5.3
Interrupt controller
● Nested interrupts with three software priority levels
● 21 interrupt vectors with hardware priority
● Five vectors for external interrupts (up to 34 depending on the package)
● Trap and reset interrupts
5.4
5.4.1
Flash program and data EEPROM
● 8 Kbytes to 32 Kbytes of medium density single voltage program Flash memory
● Up to 1 Kbytes true (not emulated) data EEPROM
● Read while write: writing in the data memory is possible while executing code in the
Flash program memory
The whole Flash program memory and data EEPROM are factory programmed with 0x00.
Architecture
● The memory is organized in blocks of 128 bytes each
● Read granularity: 1 word = 4 bytes
● Write/erase granularity: 1 word (4 bytes) or 1 block (128 bytes) in parallel
● Writing, erasing, word and block management is handled automatically by the memory
interface.
Doc ID 14952 Rev 6
13/89