User manual

UM0036 STM8 C tutorial
Doc ID 7705 Rev 11 361/385
6. The Configuration Summary field shows the logic structure, event definitions and
actions to take for all the levels, this can be navigated using the navigation buttons ( ).
Use the tabs at the bottom of the right-hand window to switch between the Synoptic
and any of the four programmable levels: Level 1 to Level 4. The following diagram
shows the settings for level 1.
Figure 293. Setting advanced breakpoints
7. The Advanced Breakpoints window is configured as summarized below.
Table 86. Advanced breakpoint configuration
Level Configuration summary How to configure it...
LEVEL 1
IF (opcode fetch at timer.c:69
1. Click on Level 1 tab and IF.
2. In First Event, select Event1 then click on the
button [...]
3. In Memory Events, select Opcode Fetch then
click on Add
4. In Opcode Fetch, select Bookmark, timer.c;69
then click OK.
THEN (Goto Level 2); 1. Click on THEN and check Goto Level 2.
ELSE IF (data memory access
from nbOfTransitions, length =
4 bytes, access = write, data
value from 0 to FF (for each
byte))
1. Click on ELSE IF.
2. In First Event, select Event3 then click on the
button [...]
3. In Memory Event, select Memory Access with
Data then Set
4. Enter address range (0x81-0x84), length in bytes,
select access mode (Read/Write), enter data value 0
to FF with Data Range option selected, then click OK.
THEN Break 1. Click on THEN and check Break.