DocID14024 Rev 4 23/39
UM0470 Debug module (DM)
38
4.4 Breakpoint decoding table
Table 4. Decoding table for breakpoint interrupt generation
DM_CR1
BREAK CONDITIONS
DM_CSR1
BC2 BC1 BC0 BIR BIW BK1F BK2F BRW
0 0 0 0 0 Disabled (RESET state) 0 0 x
0 0 0 0 1 Data Write on @=BK1 and Data=BK2L 1 0 0
0 0 0 1 0 Data Read on @=BK1 and Data=BK2L 1 0 1
0 0 0 1 1 Data R/W on @=BK1 and Data=BK2L 1 0 0/1
0 0 1 0 0 Instruction fetch BK1<=@<=BK2 1 0 x
0 0 1 0 1 Data Write on BK1<=@<=BK2 1 0 0
0 0 1 1 0 Data Read on BK1<=@<=BK2 1 0 1
0 0 1 1 1 Data R/W on BK1<=@<=BK2 1 0 0/1
0 1 0 0 0 Instruction fetch on @<= BK1 or BK2<=@ 1 0 x
0 1 0 0 1 Data Write on @<= BK1 or BK2<=@ 1 0 0
0 1 0 1 0 Data Read on @<= BK1 or BK2<=@ 1 0 1
0 1 0 1 1 Data R/W on @<= BK1 or BK2<=@ 1 0 0/1
011XX Disabled 0 0 x
1 0 0 0 0 Instruction fetch on @=BK1 then on @=BK2 0 1 x
1 0 0 0 1 Data Write on @=BK1 or @=BK2 10
or 01 or 11 0
1 0 0 1 0 Data Read on @=BK1 or @=BK2 10
or 01 or 11 1
1 0 0 1 1 Data R/W on @=BK1 or @=BK2 10
or 01 or 11 0/1
1 0 1 0 0 Instruction fetch on @=BK1 or @=BK2 10
or 01 or 11 x
1 0 1 0 1 Instruction fetch on @=BK1 / Data Write on @=BK2 10
or 01 x-0
1 0 1 1 0 Instruction fetch on @=BK1 / Data Read on @=BK2 10
or 01 x-1
1 0 1 1 1 Instruction fetch on @=BK1 / Data R/W on @=BK2 10
or 01 x-0/1
110XX Disabled 0 0 x
11100
Data Write in Stack on @<=BK1 / Instruction fetch on
@=BK2
10
or 01 0-x
1 1 1 0 1 Data Write in Stack on @<=BK1 / Data Write on @=BK2 10
or 01 or 11 0
1 1 1 1 0 Data Write in Stack on @<=BK1 / Data Read on @=BK2 10
or 01 0-1
1 1 1 1 1 Data Write in Stack on @<=BK1 / Data R/W on @=BK2 10
or 01 or 11 0-0/1