Renesas M16C PC4701 Network Card User Manual


 
Extension Mode 2
The memory reference commands are added, which reference the internal ROM in the bank
duplicated area in the dump format (see the table below).
A memory reference command with the bank specification is added. The memory reference/the
change to the bank repetition area must use the following commands.
Command name Abbreviation
DumpByte2 DB2
DumpWord2 DW2
DumpLword2 DL2
SetMemoryByte2 MB2
SetMemoryWord2 MW2
SetMemoryLword2 ML2
FillByte2 FB2
FillWord2 FW2
FillLword2 FL2
Move2 -
MoveWord2 MoveW2
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)
- Hardware event (H/W break event*, Real-time trace event*, Time measurement event)
MCU switches the bank to be accessed based on the value in the bank selection register. A signal
which can distinguish which bank accesses the bus information is not output. Therefore, the
above function may work as expected.
*By specifying Simultaneous And (AND logic) (same time) for the hardware event and the bank
selection register, both of which are detected as the combined condition in the State Transient
Break/Trace window, the hardware event for the bank duplicated area can be detected.
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 mode 2 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 3FFFF Internal The internal RAM area cannot be changed.
40000 BFFFF External Cannot be changed.
C0000 FFFFF Internal
42