Renesas Emulator Debugger M16C PC4701 User Manual

Page 55

Advertising
background image

5 Setup the Debugger

41

ATTENTION

The functions may be restricted depending on the type of memory space expansion mode.

Extension Mode 1

When the memory space expansion area is displayed in the dis-assemble mode in the Program
window or the Source window, the displayed data may be different from what you would expect
through the operation accompanying redrawing of the window, such as up/down scroll, during
execution of the target program.

The following emulator functions are implemented by analyzing the bus information (address bus,
data bus).
-

RAM monitor function (RAM Monitor window, C Watch window)

-

Coverage measurement function (Coverage window, Coverage command)

-

Memory protect function (Protect window, Protect command)

MCU accesses the program bank if Fetch (command) is specified for the bank duplicated area,
and the data bank if Read/Write is specified for the bank duplicated area. In above cases, a signal
which can distinguish which bank accesses the bus information is not output. Therefore, the
above function may not work as expected.

The memory reference commands are added, which reference the internal ROM in the bank
duplicated area in the dump format (see the table below).
You cannot use the DA command during execution of the target program.

Command name

Abbreviation

DumpByte2 DB2
DumpWord2 DW2
DumpLword2 DL2


If you use the Memory Reference/Change command for the bank duplicated area before MCU is
switched from the normal mode to the memory space expansion mode1 by the target program, the
function may not work as expected.

The memory map shows the following data after the debugger gets started.

Start Address

End Address Map Attention

00000

003FF

External

Cannot be changed (SFR area).

00400 03FFF Internal

The

internal

RAM area cannot be changed.

04000

2FFFF

External

Cannot be changed.

30000 FFFFF Internal

Advertising