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
Содержание 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...