12.3 Attention of the M16C/R8C Debugger
12.3.1 Map of stack area used by the emulator
The M16C/60,M16C/20 series emulators use a stack area of 4 bytes from 0FFFCh to 0FFFFh that is
accessed at power-on reset.
The emulator cannot start up normally unless these 4 bytes of memory can be accessed for read/write.
Therefore, if one of the following two conditions hold true, use the four bytes of 0FFFCh to 0FFFFh in
INTERNAL setting until the emulator finishes setting the interrupt stack pointer (ISP) after a reset.
•
When in systems that go from the single-chip mode to the memory extension or the
microprocessor mode after a reset, you are using the four bytes of 0FFFCh to 0FFFFh in
EXTERNAL setting.
•
When in systems that start up in microprocessor mode after a reset, you are using the four bytes
of 0FFFCh to 0FFFFh in EXTERNAL setting and do not have any external read/writable
memory.
12.3.2 Options for compiler, assembler, and linker
The information may not be downloaded/debugged normally depending on the option designation of
the compiler, assembler, and linker.
Please refer to the following for the option specification.
Refer to "12.5 Option of C Compiler/Assembler/Linker"
The compiler that can be used by M16C/R8C debugger:
•
NCxx
•
the IAR EC++ Compiler
•
the IAR C Compiler
•
the TASKING C Compiler
12.3.3 TASKING C Compiler
When you debug programs compiled by the TASKING C Compiler "CCM16", the type of bit field is
fixed on "unsigned short int". Because CCM16 outputs the debug information for the type of bit field
as "unsigned short int."
12.3.4 Target MCU HOLD terminal
When the target MCU HOLD terminal is set to LOW, you cannot stop execution of the target program.
Set the HOLD terminal to High and try to stop the target program again. Even if the HOLD terminal
is set to LOW for a short period of time, you may stop the target program with the HOLD terminal set
to LOW. If this happens, try to stop the target program again.
270
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...