5 gnU17 iDE
# load debugging information in program
file sample.elf
# set the memory configuration map file to the debugger
c17 rpf sample_gnu17IDE.par
# connect to the debugger with specified mode and port
# target [icd usb | sim]
target icd usb
# load program to memory
load sample.psa
# reset
c17 rst
The default setting shows the command to set the debugger in ICD Mini mode. If simulator mode is used, rewrite
the command directly in this page or replace the command using the [Create a simple startup command] dialog box
shown below that appears by clicking the [Create commands from template] button.
Command file for simulator mode
# Command file generated by Gnu17 Plug-in for Eclipse
# load debugging information in program
file sample.elf
# set the memory configuration map file to the debugger
c17 rpf sample_gnu17IDE.par
# set ttbr for simulator
c17 ttbr 0x008000
# connect to the debugger with specified mode and port
# target [icd usb | sim]
target sim
# load program to memory
load sample.psa
# reset
c17 rst
This command file is executed when the debugger starts up making the following initial settings:
1. Import debug information and parameter map information.
2. Set connect mode.
3. Set TTBR. (only in simulator mode)
4. Load the program to be debugged.
5. Set the PC (program counter) to the boot address.
These initial settings enable the debugger to execute a program from the boot address immediately after launching.
If other commands must be executed, enter them from the keyboard to add to the command list.
For detailed information on debugger commands, refer to Chapter 10, "Debugger".
The debugger startup commands in the command file may be edited using an editor.
Note, however, that the contents of the command file may not be displayed on the [GNU17 GDB Commands] page
if the command file is being opened in an external editor when the [Properties] dialog box is opened. In this case,
open the [Properties] dialog box after closing the command file in the external editor.
5-168
... Loads debug information.
... Loads a parameter file.
... Sets connection mode.
... Loads an S record file.
... Resets.
... Loads debug information.
... Loads a parameter file.
... Sets TTBR.
... Sets connect mode.
... Loads an S record file.
... Reset
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?