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
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...