12.4.7 About the single-step execution and the program break function in
the internal RAM area of the mcu
When debugging with the emulation pod M38000L2-FPD, single-step execution and program break
function in the internal RAM area are not available.
When debugging the program transferred to the internal RAM area, please use the free-run execution
and the trace function.
12.4.8 Debugging in the 16-Timer functions
The microcomputer (38B5 group etc.) which supports 16 bit timer has undermentioned limitations.
•
[Precaution 1]
Outputs for the 16-bit timer may be invalid in the Memory Window etc. when the program
execution is suspended by breaking or single-stepping during writing to the higher/lower order
byte of the 16-bit timer.
For example:
[TIMER_LOW] = [DATA1]
[TIMER_HIGH] = [DATA2] <- when a break occurs here
•
[Precaution 2]
Writing a value (with the Memory Window) into the 16-bit timer will be fail when the program
execution is suspended by breaking or single-stepping during writing to the higher/lower order
byte of the 16-bit timer.
For example:
[DATA1] = [TIMER_LOW]
[DATA2] = [TIMER_HIGH] <- when a break occurs here
These problems caused by the microcomputer's specifications. In a microcomputer with the 16-bit
timer, the timer is written in the order of the lower byte and the higher byte. And reading from the
timer in reverse order.
Therefore, if a break occurs as shown in the Precaution 1 or 2, an incorrect value will be read or
written by displaying or setting a value of the 16-bit timer in the Memory Window.
12.4.9 Hardware Event
If you specify any other bit of the address that contains a specified bit is accessed during bit access,
the event may become effective in the following data accesses.
•
Hardware Break Event
•
Real-time Trace Event
•
Time Measurement Event
12.4.10 Operating frequency of MCU
You need to specify the operating frequency of mcu for debugger to calculate the time for Trace
window, Time measurement window, or other functions.
You can set it in MCU tab of INIT dialog box. If you use the mcu at 10MHz div 8, please enter 10 and
8 to edit boxes.
274
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...