( 18 / 80 )
IMPORTANT
Notes on Debugging in CPU Rewrite Mode:
• When you debug an M16C/62P MCU of the M16C/62 group 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 the rewrite control program area (from setting CPU rewrite mode to releasing it), do not use the
following functions.
(1) Single-stepping
(2) Setting software breakpoints
(3) Setting hardware breakpoints
• To reference data after executing CPU rewrite, stop the program at a point which is not a rewrite
control program area and use a 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)