Renesas M30220TF-PRB Network Card User Manual


 
( 37 / 54 )
4.5 Precautions for CPU Rewrite Mode
Here following are precautions and restrictions for debugging the control program for CPU rewrite mode.
IMPORTANT
Note on Custom Command dbg_reset:
To debug the control program for CPU rewrite mode, you must execute the custom
command dbg_reset once every time you start emulator debugger M3T-PD30.
If you set the MAP setting of addresses E0000h to FFFDFh to "EXT" without
executing dbg_reset, the emulator will run out of control.
Note on CNVSS:
To debug the control program for CPU rewrite mode, you need to apply 4.5 to 5.5
V voltage to the CNVSS pin.
When the target system is connected:
Set the jumper switch JP1 of the M30220TF-PRB to "CNVSS". The CNVSS is
connected to the target system. Apply 4.5V to 5.5V voltage to the CNVSS pin of the
target system.
When the target system is NOT connected:
Set the jumper switch JP1 of the M30220TF-PRB to "VDD". 5V voltage is applied
from the emulation pod to the CNVSS.
Note on Address E0000h - FFFDFh Memory:
Table 4.5 shows the areas of memory addresses E0000h to FFFDFh that are enabled
according to the MAP setting and the value of the CPU rewrite mode select bit
(FMCR1).
Table 4.5 Memory addresses E0000h to FFFDFh
Note on Boot Mode:
Even when the P74 (CE) pin is "H" and the CNVSS pin is "H", boot mode cannot
be selected when the reset is released.
If you want to debug the control program for CPU rewrite mode using operations as
in boot mode, download DE000h to the reset vector area as well as the control
program. If you do not download the reset vector, use script commands, etc., to write
DE000h to the reset vector area.
*1. When both the MAP setting for addresses E0000h to FFFDFh is "INT" and the
FMCR1 is set to "1", both the emulation memory and the MCU's internal flash
memory are enabled and bus collisions can occur. Please avoid combining these
settings.
When both the MAP setting for addresses E0000h to FFFDFh is "EXT" and the
FMCR1 is set to "0", no memory area is enabled and undefined values will be read.
Map setting
FMCR1 setting
0
1
0
1
Valid area
Emulation memory
-
No valid area
MCU's internal flash memory
Remarks
Forbidden*
1
INT
EXT