( 27 / 54 )
Chapter 4. Debugging Procedure for CPU Rewrite Mode
This chapter describes procedure for debugging the control program for CPU rewrite mode and restrictions.
4.1 Outline of Debugging Procedure................................................................................................ 28
4.2 Using Custom Commands dbg_reset and fmcr1set.................................................................... 29
(1) Custom Command dbg_reset................................................................................................ 29
(2) Custom Command fmcr1set ................................................................................................. 30
4.3 Debugging Procedure .................................................................................................................32
(1) Debugging Procedure for CPU Rewrite Mode (Microcomputer Mode) ..............................32
(2) Debugging Procedure for CPU Rewrite Mode (Boot Mode) ............................................... 34
4.4 How to Access Flash Memory Area........................................................................................... 36
(1) Using Script Commands .......................................................................................................36
(2) Using the Dump Window ..................................................................................................... 36
(3) Using the RAM Monitor Window ........................................................................................36
4.5 Precautions for CPU Rewrite Mode ............................................................................................37
Note on Custom Command dbg_reset........................................................................................ 37
Note on CNVSS ......................................................................................................................... 37
Note on Address E0000h - FFFDFh Memory ............................................................................37
Note on Boot Mode .................................................................................................................... 37
Notes on Setting Software Breaks ..............................................................................................38
Note on RESET from the Target System ................................................................................... 38
Note on Setting the CPU Rewrite Mode Select Bit.................................................................... 38
Note on Address FFFE0h - FFFFFh........................................................................................... 38
Note on Changing the Mode of Flash Memory.......................................................................... 38
Note on Step Execution ..............................................................................................................38
Note on Number of Program/Erase ............................................................................................39
Note on Shutting OFF the Power ............................................................................................... 39