
M32R Debugger and Trace 18 General SYStem Settings and Restrictions
©1989-2014 Lauterbach GmbH
SYStem.Option KEYCODE Code protection
Default: 12 times 0xFF.
Some of the devices support Code Protection ID feature. Without a valid ID code, there is no access to the
device by the debugger.
Use the AREA window to get further information about the Security status after startup.
Use the following sequence in all your startup scripts or enter it in the command line one time in order to get
access to the device:
By default use:
If the device is blank, the debugger automatically uses 12 time 0xFF per default. Then no SYS.OPTION
KEYCODE command is needed. The number and location of bytes depends on the use MCU. It is normally
hard coded!
Format: SYStem.Option Keycode [1…32 Byte keycode]
SYStem.Option KEYCODE up to 32 byte representing your keycode
SYS.OPTION KEYCODE 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF\
0xFF 0xFF
; Source code example for Renesas Compiler (CPU 32192, code location
; 0x00084)
.SECTION PROTECTID, DATA, ALIGN=1
; H'0000 0084 Protect ID
.DATA.B H'FF
.DATA.B H'FF,H'FF,H'FF,H'FF,H'FF,H'FF,H'FF
.DATA.B H'FF,H'FF,H'FF,H'FF
Commentaires sur ces manuels