10-126
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
c17 stdout
(data output simulation)
[ICD Mini / SIM]
Operation
Sets conditions for data to be output from a specified output buffer to a file or the [Simulated I/O] window.
The following conditions are set by the
c17 stdout
command:
•
Break address
(position at which
gdb
outputs data)
•
Output buffer address (65-btye buffer)
•
Output destination
(file or [Simulated I/O] window)
For operation on the program side, see Section 10.6.8, "Simulated I/O".
Format
c17 stdout 1
BreakAddr
BufferAddr
[
Filename
]
(set)
c17 stdout 2
(clear)
BreakAddr
: Break address (decimal, hexadecimal, or symbol)
BufferAddr
: Output buffer address (decimal, hexadecimal, or symbol)
The buffer size is fixed to 65 bytes.
Filename
: Name of output file
When this entry is omitted, data is output to the [Simulated I/O] window.
Conditions: 0
≤
BreakAddr
≤
0xffffff, 0
≤
BufferAddr
≤
0xffffff
Input examples
n
Example 1
(gdb)
c17 stdout 1 WRITE_FLASH WRITE_BUF output.txt
Data output to a file is set.
When you run the program continuously after making this setting, the debugger aborts processing at the
position of the label
WRITE_FLASH
in the program. Here, the debugger outputs data from a specified buffer
(
WRITE_BUF
) to a specified file, then resumes program execution.
n
Example 2
(gdb)
c17 stdout 1 WRITE_FLASH WRITE_BUF
Data output to the [Simulated I/O] window is set.
When you run the program continuously after making this setting, the debugger aborts processing at the
position of the label
WRITE_FLASH
in the program. Here, the debugger opens the [Simulated I/O] window
and displays it with the data contained in a specified buffer (
WRITE_BUF
), then resumes program execution.
n
Example 3
(gdb)
c17 stdout 2
The data output simulation function is cleared. If data output to a file was set, the specified file is closed.
Notes
•
The break addresses specified by the
c17 stdout
command cannot duplicate those of software PC
breaks. Be sure to clear software PC breaks before executing the
c17 stdout
command. Break addresses
overlapping those of hardware PC breakpoints are accepted.
•
If the break address is specified with an odd value, the specified address is adjusted to the 16-bit boundary by
assuming LSB = 0.
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...