Source (Execute Command File) [Icd Mini / Sim] - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.1)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

source
(execute command file)
Operation
Loads a command file and successively executes the debug commands written to the file.
Format
source Filename
Filename: Name of command file
Usage example
File name = src.cmd
# load symbol information
file c:/EPSON/gnu17v3/sample/tst/sample.elf
#decide debugger mode and its port
target sim
# load to memory
load c:/EPSON/gnu17v3/sample/tst/sample.elf
# reset
c17 rst
From # to the end of the line is interpreted as a comment.
(gdb) source src.cmd
(gdb)
(gdb) file c:/EPSON/gnu17v3/sample/tst/sample.elf
(gdb)
(gdb) target sim
boot () at boot.s:9
Connected to the simulator.
Current language: auto; currently asm
(gdb)
(gdb) load c:/EPSON/gnu17v3/sample/tst/sample.elf
Loading section .text, size 0xbc lma 0xc00000
Start address 0xc00000
Transfer rate: 1504 bits in <1 sec.
(gdb)
(gdb) c17 rst
CPU resetting ...................... done
A specified command file is loaded and the commands contained in it are executed successively.
Notes
 If the command file contains a description error, the debugger stops executing the command file there. Because no error
messages appear in this case, be very careful when creating a command file.
 The source commands can be nested so that source commands exist in the command file. There are no restrictions on
the number of nests.
 Command files do not support control commands for if statements.
S5U1C17001C Manual
(Rev. 1.0)
Seiko Epson Corporation
8 Debugger
[ICD Mini / SIM]
8-51

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Questions and answers

Table of Contents