E1/E20/E2/E2 Lite Additional Document
R20UT1994EJ0900 Rev.9.00
Page 46 of 58
Jan.20.22
3.4
Reset
3.4.1
Operation after a Reset
After an external pin reset or internal reset, the monitor program performs debug initialization processing.
Consequently, the time from reset occurrence until user program execution differs from that in the actual
device operation. If “No” is selected in Permit flash programming in property of the debug tool, the time until
the user program is executed compared with the time when “Yes” is selected is delayed (max. 100 ms).
3.4.2
SP Value after a Reset
While debugging with the E1/E20/E2/E2 Lite, the SP value after a reset becomes as follows:
•
When the internal RAM space of the device is 768 bytes or more: FC00h
•
When the internal RAM space of the device is less than 768 bytes:
Start address of internal RAM + 0x20
[Example] When the start address of internal RAM is 0xFEF00: 0xEF20
3.5
Flash Memory
3.5.1
Flash Memory Programming by Self-Programming
(1) Areas which cannot be rewritten by self-programming
If a space where the debug monitor program is allocated is rewritten by flash self-programming, the
E1/E20/E2/E2 Lite can no longer operate normally. This caution also applies to boot swapping for such
an area.
(2) Break occurring during self-programming
Though breaks other than a forced break can be generated while self-programming is in progress,
stepped execution cannot be performed from where the break occurred. If a forced break occurs during
self-programming, control by the E1/E20/E2/E2 Lite may not be possible.
(3) Use of the pseudo-RRM and pseudo-DMM functions during self-programming
The pseudo-RRM and pseudo-DMM functions are not usable while the user program is executing
functions of the flash self-programming library or the data flash access library.
(4) Display in the watch panel during self-programming
Since access to memory by the RAM monitoring function is disabled while the user program is executing
functions of the flash self-programming library or the data flash library, the values of variables registered
in the watch panel will be displayed as “?”.