Renesas M16C PC4701 Network Card User Manual


 
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