beautypg.com

8 debug functions, 1 loading program and option data – Epson S5U1C62000A User Manual

Page 153

background image

S5U1C62000A MANUAL

EPSON

141

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 9: DEBUGGER

9.8 Debug Functions

This section outlines the debug features of the debugger, classified by function.
Refer to Section 9.9, "Command Reference" for details about each debug command.

9.8.1 Loading Program and Option Data

Loading files

The debugger can read a file in IEEE-695 format or Intel-HEX format in the debugging process.
Table 9.8.1.1 lists the files that can be read by the debugger and the load commands.

Table 9.8.1.1 Files and load commands

File type

Data type

Ext.

Generation tool

Com.

Menu

Button

IEEE-695

Program/data

.abs

Linker

lf

[File | Load File...]

Intel-HEX

Program (4 high-order bits) h.hex HEX convertor

lo

[File | Load Option...]

Program (8 low-order bits) l.hex

HEX convertor

Function option

f.hex

Function option generator

Segment option

s.hex Segment option generator

Melody data

a.hex Melody assembler

(Ext. = Extension, Com. = Command)

Loading ROM data

The debugger can load a program from the program ROMs installed in the ICE.
The following three commands are provided for handling ROM data.

Table 9.8.1.2 ROM access commands

Function

Command

Menu

Load program from ROM

rp

Verify ROM data with emulation memory

vp

Set ROM type

rom

[Option | Rom Type...]

The ROM type of the ICE must be specified using the rom command before loading or verifying ROM
data.

Debugging a program with source display

To debug a program using the source display and symbols, the object file must be in IEEE-695 format
read into the debugger. If any other program file is read, only the unassemble display is produced.