Debugger; Features; Input/Output Files; Input Files - Epson S5U1C17001C Manual

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

Advertisement

8 Debugger

This chapter describes how to use the debugger gdb.

8.1 Features

The debugger gdb is software used to debug a program after loading an elf-format object file created by the linker.
This debugger has the following features and functions:
Debugs using the integrated development environment (IDE) debugging function.
Can reference various types of data at one time, thanks to a multi-window facility.
In addition to debugging programs using the ICDmini (S5U1C17001H), the debugger incorporates a software simulator
function for debugging programs on a personal computer.
Capable of C source and assembly source level debugging.
Supports C source and assembler level single-stepping functions, in addition to continuous program execution.
Supports hardware and software PC break functions.
The EmbSysRegView function lets you refer to the peripheral circuit control register.
The LCD panel simulator function simulates an LCD panel on a PC even if the actual device is not equipped with an LCD
panel.

8.2 Input/Output Files

8.2.1

Input Files

 Object file
File format:
elf format binary file
File name:
<filename>.elf
Description:
This is the elf format absolute object file created by the linker ld. This file is loaded in the debugger by using
the file and load commands. Source display and symbolic debugging are made possible by loading an
object file that contains debug information.
 Source files
File format:
Text file
File name:
<filename>.c (C source)
<filename>.s (assembly source)
Description:
These are source files for the object file above, loaded in the debugger to generate source display.
 Startup command file
File format:
Text file
File name:
<filename>.ini
Description:
This file contains a description of the debugging commands executed on startup. This file is loaded and
executed by the startup option -x.
 ROM data
File format:
Motorola (S1 to S3) format
Desired filename (e.g., .psa, .sa, or .saf)
File name:
Description:
This object file does not contain debug information created from an object file (.elf). Source level debugging
is not performed for ROM data, since debugging information is not included. It is used with the load
command to load programs and data to target MCU memory.
S5U1C17001C Manual
(Rev. 1.0)
Seiko Epson Corporation
8 Debugger
8-1

Advertisement

Table of Contents
loading

Table of Contents