5.6 Method of making MCU file
5.6.1 Method of making MCU file (the M16C/R8C Debugger)
The following content is sequentially described in the MCU file.
Specify the MCU name to the file name, and specify "mcu" to the file extension.
1.
Start address of SFR area
2.
End address of SFR area
3.
Start address of internal RAM area
4.
End address of internal RAM area
5.
Start address of ROM area
6.
End address of ROM area
7.
File name of the Firmware *1
8.
MCU type (whether memory space extension mode has to be specified or not)*2
Specify the addresses in hex format, and don't add any prefix which describe its radix.
*1 Specify the addresses in hex format, and don't add any prefix which describe its radix.
MCU
Firmware file name
M16C/60 group
M30600
M16C/61 group
M30600
M16C/62 group
M30620B
M16C/20 series
M30620B
There is a case that the emulation pod need the different firmware from the listed firmware, when the
emulation pod is re-modeled.
*2 Specify whether the MCU: supports the memory space extension function or not.
When the MCU supports the function (EX: M16C/62 group), specify "1" , the other case, specify "0".
Only when "1" is specified, the setting for memory space extension mode is available in Memory
Extension Mode tab of INIT Dialog
ATTENTION
•
The areas specified as the ROM in the MCU file are write-protected from the program.
Even if the write command is executed to the area, no value is written.
However, you can use the Dump command to write values to memory.
(This is enabled only when the Internal area is mapped by the MAP command.)
•
If the RAM is assigned to the same area, you must change the setting of the MCU file.
5.6.1.1 Example
0
3FF
400
2BFF
F0000
FFFFF
M30600
0
56
Содержание 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...