E2, IE850A
5. Notes on Usage
R20UT4140EJ0300 Rev.3.00
Page 29 of 41
Oct.09.20
5.4
Cautionary notes on debugging
5.4.1
Power to the user system while debugging
Do not turn the power to the user system off during debugging. Doing so will require reconnection of the
debugger.
5.4.2
OTP flag
Do not set the one-time programming (OTP) flag in self-programming with the emulator. Setting the flag
makes further debugging impossible.
The OTP flag cannot be set in downloading by the debugger. Note that downloading is suspended if the file to
be downloaded includes the OTP setting. We recommend that files to be downloaded are divided into those
for the area for setting OTP and for other areas.
5.4.3
Authenticating and downloading ID code
When the debugger is started, it is possible to authenticate IDs other than the OCDID, customer ID, and data
flash ID, however, authentication of such IDs is invalidated by a user-system reset and a debugger reset. Be
sure to access areas protected by these IDs (in terms of downloading to flash memory and reading memory)
before issuing a reset after the debugger is started.
In case of downloading to areas including those protected by such IDs after a reset has been issued so that
authentication of the IDs has been invalidated, note that programming of the protected areas will fail and
subsequent downloading to the protected areas is suspended. We recommend that files to be downloaded are
divided into those for the areas protected by IDs and for other areas.
5.4.4
Downloading to Configuration Setting, Security Settings, and Block Protection areas
Downloading to Configuration Setting, Security Settings, and Block Protection areas from the debugger is
possible. However, after downloading to these areas, continued debugging is not possible. Disconnect and re-
connect the emulator on the debugger.
We recommend that files to be downloaded are divided into those for these areas and for the user, user boot,
data flash, and extended data areas.
5.4.5
Modifying the PEx_DISABLE bit of OPBT3
Do not modify the PEx_DISABLE bit of OPBT3 by self-programming during execution of a user program. The
debugger cannot keep track of the number of cores in operation if this is dynamically altered. If PEx_DISABLE
is modified, the debugger cannot continue debugging and must be re-connected.
5.4.6
Debugging for code flash (mirror) area
Instruction execution on code flash (mirror) area is not supported.
5.4.7
Event detection
Data in access by the FXU instruction cannot be compared as an access event.
Write access that has been suppressed in response to an STC instruction failing and read/write access which
has been suppressed in response to the inhibition of MDP exceptions may be detected when an access event
is set without data comparison but not detected when an access event is set with data comparison.