Datasheet

V850ES/JG3 CHAPTER 28 ON-CHIP DEBUG FUNCTION
R01UH0015EJ0300 Rev.3.00 Page 760 of 870
Sep 30, 2010
Port registers when CSIB3 is used
When CSIB3 is used, port registers are set to make the SIB3, SOB3, SCKB3, and HS (PMC0) pins valid by the
debug monitor program. Do not change the following register settings with the user program during debugging.
(The same value can be overwritten.)
(a) SIB3, SOB3, and SCKB3 settings
×
PMC9H
××11
1 ××
6543210
7
×PFC9H ××111××
6543210
7
(b) HS (PMC0 pin) settings
×PMCM ××××××0
6543210
7
×PCM ××××××Note
6543210
7
Note Writing to this bit is prohibited.
The port values corresponding to the HS pin are changed by the monitor program according to
the debugger status. To perform port register settings in 8-bit units, the user program can
usually use read-modify-write. If an interrupt for debugging occurs before writing, however, an
unexpected operation may be performed.
Remark ×: don’t care
28.2.4 Cautions
(1) Handling of device that was used for debugging
Do not mount a device that was used for debugging on a mass-produced product, because the flash memory was
rewritten during debugging and the number of rewrites of the flash memory cannot be guaranteed. Moreover, do
not embed the debug monitor program into mass-produced products.
(2) When breaks cannot be executed
Forced breaks cannot be executed if one of the following conditions is satisfied.
Interrupts are disabled (DI)
Interrupts issued for the serial interface, which is used for communication between MINICUBE2 and the target
device, are masked
Standby mode is entered while standby release by a maskable interrupt is prohibited
Mode for communication between MINICUBE2 and the target device is UARTA0, and the main clock has been
stopped