background image

(3/4)

 

 

4. Usage (Emulator Debugger) 

 

The required operating environmental is described below. 

- Integrated development environment: High-performance 

Embedded 

Workshop 

- Emulator debugger:     

 

M16C R8C Compact emulator debugger Ver.1.01 Release 00 or later 

Set the emulation memory in the MCU setting dialog box of the emulator debugger. 

 

(1) MCU tab 

   

Specifying the processor mode

 

Select the appropriate processor mode that suits 
your system.   

Specifying the bus width 

When specifying memory expansion mode or 
microprocessor mode, select 

16-bit

 or 

8-bit

 

for 

External Data Bus Width

.  

Using or not using the memory space 
expansion function 

Specifies whether or not to use the memory 
space expansion function when selecting 
memory expansion mode or microprocessor 
mode. When using the memory space expansion 
function, select 

4MB Mode

. When not, select 

Normal Mode

 

Using or not using the internal 
reserved area expansion 

Specifies whether or not to expand the internal 
reserved area. Check the box if the internal 
reserved area expansion bit (PM13) is “1”. 
PM13=Set to 0:   
Internal RAM area: 00400h--03FFFh 
Internal ROM area: D0000h--FFFFFh 
PM13=Set to 1:   
Internal RAM area: 00400h--07FFFh 
Internal ROM area: 80000h--FFFFFh 

Specifying the PM10 (bit 0 of the 
address 0005h) 

When using the CS2 Area Switch Bit (PM10) as 

1

, check this box. Specify the processor mode 

according to the user system.

 

 

IMPORTANT 

Notes on Selecting a Processor Mode: 

 

z

 

When setting memory expansion mode, the level of pin CNVSS of the MCU status should be "L". The MCU status 
shows the pin level of the user system. 

z

 

When setting microprocessor mode, the level of pin CNVSS of the MCU status should be "H". 

z

 

When setting memory expansion mode or microprocessor mode, pins RDY* and HOLD* of the user system should 
be "H". 

 

 
(2) MAP tab 

 

Specifying the emulation memory 
allocation 

Sets the memory area assigned to the emulation 
memory by 4KB. Up to four areas can be set. 
An area set to [INTERNAL] will be allocated to 
the emulation memory. An unchecked area or an 
unset area will be allocated to external area. 
The MAP setting is effective only in the CS3*, 
CS2*, CS1* and CS0*. The maps of SFR, 
internal ROM and RAM are set automatically.

 

 

* MAP tab is displayed only when connecting the emulation memory board. 

Reviews: