Renesas M16C PC4701 用户手册

下载
页码 294
 
 
 
12.2 Attention of the M32C Debugger 
12.2.1 Stack area used by the emulator 
The emulator uses the interrupt stack area as a work area (20 bytes). 
Before starting debugging, be sure to reserve the user stack area + 20-byte area. 
 
12.2.2 Interrupt stack pointer when resetting the target program 
The emulator sets the interrupt stack pointer (ISP) to 0500h when resetting the target program.   
Remember that the interrupt stack pointer (ISP) is set to 0000h on a unit at the production stage. 
 
12.2.3 Option of C Compiler/Assembler/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 M32C debugger: 
• 
NCxx  
• 
the IAR EC++ Compiler 
• 
the IAR C Compiler   
 
12.2.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. 
 
 
268