E2, IE850A
5. Notes on Usage
R20UT4140EJ0300 Rev.3.00
Page 36 of 41
Oct.09.20
5.4.29 Breakpoints in the code flash P/E mode or data flash P/E mode
During debugging of a user program which makes the target device enter the code flash P/E mode or data
flash P/E mode, we recommend using hardware breakpoints rather than software breakpoints.
Since flash memory cannot be programmed while the target device is in the code flash P/E mode or data flash
P/E mode, software breakpoints can neither be added to nor deleted from the code flash memory.
Accordingly, actually adding or deleting them on the target device is not possible. Only add or delete software
breakpoints in the code flash memory after the target device is in a mode other than the code flash P/E mode
or data flash P/E mode.
If a break is generated at a software breakpoint in the code flash memory while the target device is in the code
flash P/E mode or data flash P/E mode, the break will be generated at the current address (that of the
software breakpoint), so attempting to execute the user program will again lead to a break and the program
will not run beyond the current address. In such cases, apply a reset.