Renesas M16C/30P Network Card User Manual


 
M3062PT2-EPB User’s Manual 4. Hardware Specifications
REJ10J0868-0200 Rev.2.00 January 16, 2006
IMPORTANT
Notes on Debugging in CPU Rewrite Mode:
When you debug an M16C/60 Series MCUs in CPU rewrite mode, do not change the block 0 area (FF000h--
FFFFFh) of the flash memory. Otherwise, the emulator will be uncontrollable.
If you check "Debug the program using CPU Rewrite Mode" in the MCU tab of the Init dialog box of the
emulator debugger, you cannot use the following functions.
(1) Setting software breakpoints in an internal ROM area
(2) Executing COME in an internal ROM area
In CPU rewrite mode and erase suspend mode, do not stop the program. And do not single step an instruction
shifting to CPU rewrite mode or erase suspend mode. The emulator will be uncontrollable in CPU rewrite mode
and erase suspend mode.
To reference data after executing CPU rewrite, stop the program at other then a rewrite control program area
and use the memory window etc.
As the following interrupt vectors are used by the emulator system, the read data is different from expected
value.
(1) BRK instruction (FFFE4h--FFFE7h)
(2) Address match (FFFE8h--FFFEBh)
(3) Single-step (FFFECh--FFFEFh)
(4) DBC (FFFF4h--FFFF7h)
Notes on Address-Match Interrupts:
When you use the address-match interrupt function in a user program, uncheck "Enable the Address Match
Interrupt Break Function" in the MCU tab of the Init dialog box of the emulator debugger. Thus, normal
software breaks are used for the internal RAM and ROM areas of an MCU.
Do not set a software break at an address where an address-match interrupt occurs. Otherwise, a user program
may be run out of control. Set a software or hardware break in the top address in address-match interrupt
processing.
When you single step an address where an address-match interrupt occurs, the program stops after executing the
first instruction after returning from address-match interrupt processing.
Note on Accessing Addresses 00000h and 00001h:
With the M16C/60 Series MCUs, when a maskable interrupt is generated, the interrupt data (interrupt number
and interrupt request level) stored in addresses 00000h and 00001h are read out. Also, the interrupt request bit is
cleared when address 00000h or 00001h is read out. Consequently, when the address 00000h or 00001h readout
instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway, a
malfunction occurs in that the interrupt is not executed despite the interrupt request, because the request bit of
the highest priority interrupt factor enabled is cleared.
For this malfunction, when the reading out to address 00000h or 00001h is generated excluding the interrupt,
the WARNING LED (yellow) on the upper panel of the PC7501 lights up to alarm. When this LED lights, there
is a possibility of wrong access, therefore check the user program.
Page 93 of 102