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
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...