Emulators cannot be used to evaluate flash memory reprogramming in CPU rewrite mode. Use an MCU with on-chip flash memory (Flash version) to execute and confirm flash memory reprogramming control software (= rewrite program).
- Confirm correct operation of the rewrite program on the emulator.
Then set the debug value in the flash memory control register.
- Program the confirmed rewrite program to the Flash MCU with a programmer, mount the MCU on the evaluation board, and execute the rewrite program.
- After the rewrite program has completed, read out and confirm the contents using the programmer.
The status of the reprogramming cannot be seen externally. External outputs (LED output, etc.) may be inserted at key program points to enable external confirmation of program execution. (#104886)