![Epson S1C88 Series Скачать руководство пользователя страница 174](http://html.mh-extra.com/html/epson/s1c88-series/s1c88-series_manual_106917174.webp)
CHAPTER 13 S1C88 FAMILY DEBUGGER
162
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
ba
(hardware breakpoint set)
Function
This command sets or clears hardware breakpoints at which the program is halted when it executes a
specified sequence. The breakpoints set on each channel and the execution count set on CH3 are
enabled or disabled according to the sequential break mode set by the bas command.
Break occurrence conditions in each sequential break mode are described below.
1. Independent break mode (BAS0) (default)
In this mode, program execution is made to break when the program fetches an instruction at a
breakpoint set on each channel. The execution count specified for CH3 (BA3) is not effective.
2. BA3 count mode (BAS1)
In this mode, the count function of CH3 (BA3) is effective. Program execution is made to break
when the program has fetched the instruction as many times as set by <count> at the breakpoint
set on CH3. Breakpoints set on CH1 and CH2 are not effective.
3. BA2&BA3 sequential mode (BAS2)
In this mode, program execution is made to break when the program has fetched the instruction as
many times as set by <count> at the breakpoint set on CH3 after executing the instruction more
than once at the breakpoint set on CH2. The breakpoint set on CH1 is not effective.
4. BA1–BA3 sequential mode (BAS3)
In this mode, program execution is made to break when the program has fetched the instruction as
many times as set by <count> at the breakpoint set on CH3 after executing the instructions more
than once in that order at the breakpoints set on CH1 and CH2.
Format
(1) >ba<channel> <address> [<count>]
↵
(direct input mode)
(2) >ba<channel> <option>
↵
(direct input mode)
<channel>: Break channel number (1–3)
<address>: Break address; hexadecimal or symbol (IEEE-695 format only)
<count>:
CH3 count value; decimal (default: 1)
<option>:
Specify to clear, enable or disable breakpoints
-
Clear breakpoint
+ Enable breakpoint (default)
_ Disable breakpoint
Condition:
0
≤
address1
≤
last program memory address (0x7fffff), 0
≤
count
≤
4095
Examples
>bas0
↵
>ba1 200
↵
>
In this example, independent break mode is selected, with the CH3 breakpoint set at address 0x0200.
Program execution is made to break when the program fetches the instruction at address 0x0200. This
breakpoint is effective even when set outside a 1-MB active break area.
>ba1 _
↵
>
In this example, the breakpoint on CH1 is disabled.
>bas2
↵
>ba2 200
↵
>ba3 300 2
↵
>
In this example, BA2&BA3 sequential mode is selected, with the CH2 and CH3 breakpoints set at
addresses 0x0200 and 0x0300, respectively. Also, the CH3 counter is set to 2. When the program
executes the instruction at 0x0300 once and fetches the instruction at 0x0300 again after executing the
instruction at 0x0200 once or more, a break occurs before that instruction is executed. These
breakpoints are effective even when set outside a 1 MB active break area.
Содержание S1C88 Series
Страница 4: ......
Страница 304: ......
Страница 305: ...S1C88 Family Development Tools Quick Reference ...