CHAPTER 13 S1C88 FAMILY DEBUGGER
120
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
13.8.5 Break Functions
The target program is made to stop executing by one of the following causes:
• Break conditions set by a break set up command are met. (for successive execution only)
• A break signal is input to the ICE BRKIN pin. (for successive execution only)
• The [Key Break] button is clicked, the [Run | Stop] menu command is selected or the [Esc] key is pressed.
• A program execution error is detected.
Break by command
The debugger has three types of break functions that allow the break conditions to be set by a com-
mand. When the set conditions in one of these break functions are met, the program under execution
is made to break.
(1) Software breakpoints and a software break area
When the PC matches a set address, a break occurs. The program fetches the instruction from that
address and breaks before executing that instruction. Software breakpoints can be set at up to 64
separate addresses and in one area with a specified address range.
However, these breakpoints are effective in only a 1 MB active break area. If any address outside this
area is specified, no breaks can occur at that address, although the address is registered as an invalid
breakpoint. The 8 MB of code space is divided into eight 1 MB active break areas, one of which can be
selected from the [Break Common Setting] dialog box that is displayed by the [Break | Setting...]
menu command. At debugger startup, a 1 MB area (from 0x0 to 0x0fffff) is automatically selected as
the active break area.
To select an active break area, enter your desired value in
the [An Active Area of Software Breaks] text box. A value
from 0 to 7 can be entered.
0: 0x000000 to 0x0fffff
1: 0x100000 to 0x1fffff
2: 0x200000 to 0x2fffff
:
7: 0x700000 to 0x7fffff
Table 13.8.5.1 Commands/menu items/tool bar button to set breakpoints
Function
Set software breakpoints
Set software break area
Clear software breakpoints
Command
bp
bpa
bpr
bc (bpc)
Button
–
Menu
[Break | Breakpoint Setting]
[Break | Breakpoint Setting]
[Break | Breakpoint Setting]