CHAPTER 27 ON-CHIP DEBUG FUNCTION
User’s Manual U16896EJ2V0UD
653
[Program example (when using CA850 Ver. 2.60 or later)]
#------------------------------------------------------------------------------
# SECURITYID
#------------------------------------------------------------------------------
.section
"SECURITY_ID"
--Interrupt handler address 0x70
.word
0x78563412
--0-3 byte code
.word
0xF1DEBC9A
--4-7 byte code
.hword
0xD423
--8-9 byte code
Remark
Add the above program example to the startup files.
27.2 Cautions
(1) If a reset signal is input (from the target system or a reset signal from an internal reset source) during RUN
(program execution), the break function may malfunction.
(2) Even if the reset signal is masked by the mask function, the I/O buffer (port pin) may be reset if a reset signal
is input from a pin.
(3) Because a software breakpoint set in the internal flash memory is realized by the ROM correction function, it is
made temporarily invalid by target reset or internal reset generated by watchdog timer 2. The breakpoint
becomes valid again when a hardware break or forced break occurs, but a software break does not occur until
then.
(4) Pin reset during a break is masked and the CPU and peripheral I/O are not reset. If pin reset or internal reset
is generated as soon as the flash memory is read by the RAM monitor function while the user program is being
executed, the CPU and peripheral I/O may not be correctly reset.
(5) ROM correction cannot be emulated.