3 TARGET PROGRAM AND DEBUGGING

3.5 Precautions for Debugging

3.5.1 Restriction on Debugging Command

When the debug monitor is used for debugging, the following debugging functions/commands are not available or allowed to be used.

When the following commands/functions are used, an error message will be displayed.

Error: Command is not supported at present mode.

Trace function (tm, td, ts and tf commands)

Sequential break function (bsq command)

ICE Flash memory function (lfl, sfl and efl commands)

Option related function (lo and od commands)

ICE emulation memory

The following commands/ functions are not available even though no error message will be displayed.

File loading via a parallel port (lf and lh commands)

Map break function

On-the-fly function

Execution time measurement function

Key break function

In addition to the functions above, the following functions cannot be used when the program in the ROM or Flash memory is debugged.

Software PC break functions (bp, bs and bc commands)

Commands that use the software PC break function internally (stdin and stdout commands)

Memory edit functions (eb, eh and ew commands)

Memory fill functions (fb, fh and fw commands)

Memory move functions (mv, mvh and mvw commands)

3.5.2 Other Precautions

The debug monitor uses addresses 0x0 to 0x2F in the built-in RAM and approximately 2.5KB (described later) part of the external RAM. Do not rewrite this area with a memory operation command. When this area is modified, the debug monitor cannot be executed normally.

The cold reset sequence is the same as the hot reset sequence.

1)The vector value indicated by TTBR is set to the PC.

2)Initial setting: general purpose/special registers = 0xAAAAAAAA, PSR = 0x0, SP = 0xAAAAAA8

In the debug monitor, cold reset is simulated as hot reset.

The S5U1C33104H and S5U1C33000H halt all the peripheral functions after a break occurs except for the DRAM refresh operation. In the debug monitor, the peripheral functions halt instantaneously when a break occurs or successive/step execution starts, however they restart immediately. Interrupts while the target program is suspended are disabled according to the IE-bit status of the PSR.

14

EPSON

S1C33 FAMILY DEBUG MONITOR

 

 

OPERATION MANUAL