
Hitachi Embedded Workshop User Manual
278
Syntax:
ba <start address> [<end address>] [<mode>] [
<Action>]
Parameter
Type
Description
<start address>
Numeric
The start address of a breakpoint
<end address>
Numeric
The end address of a breakpoint (optional, default =
<start address>)
Keyword
Access type (optional, default = RW).
R
A break occurs when the specified range is read.
W
A break occurs when the specified range is written to.
<mode>
RW
A break occurs when the specified range is read or
written to.
Keyword
Action taken when the conditions are satisfied (optional,
default = Stop)
Stop (P)
Halts the execution of the user program
Input (I)
Inputs (saves) data to a file
Output (O)
Outputs (reads) data from a file
<Action>
Interrupt (T)
Initiates a pseudo-interrupt
Format:
The method of defining each Action are as follows.
Stop
Input <filename> <addr> <size> <count>
Parameter
Type
Description
<filename>
Character
string
The name of the file from which data is input
<addr>
Numeric
Address to which the data is read.
<size>
Numeric
Size per data packet (1/2/4/8)
<count>
Numeric
Number of data packets (H’01 to H’FFFFFFFF)
Output <filename> <addr> <size> <count> [<option>]
Parameter
Type
Description
<filename>
Character
string
The name of the file to which data is saved
<addr>
Numeric
Address from which data is output
<size>
Numeric
Size per data packet (1/2/4/8)
<count>
Numeric
Number of data packets (H’01 to H’FFFFFFFF)
Keyword
Specifies a new file or appends to an existing file.
(optional, makes a new file when abbreviated.)
<option>
A
Adds the data to the existing file.