beautypg.com

9 is peripheral i/o operating during a break, 10 can coveragefunction be used in kd, 11 can check sum function be used – Renesas M16C FAMILY User Manual

Page 78: 12 id code written to microcomputer after kd exits

background image

6 Troubleshooting

3) If a communication error occurs frequently when debugging your program, check the

following:

When using an interrupt program in which multiple interrupts (interrupt from within

another interrupt) are not enabled...

-> If the interrupt program takes more than 260 µs of processing time, set the I flag to

1 at the beginning of the interrupt program.

6.8 A message "Source file cannot be found" was output. What

should I do?

If an error "Source file cannot be found" occurs, check the following:

1) Whether the source file and the executable file exist in the same directory (or folder).

2) Whether the source file has been opened by any editor other than the KD.

6.9 Is peripheral I/O operating during a break?

Although no interrupts are accepted during a break, peripheral I/O continues operating. If

the User Program is halted by a break after starting a timer, for example, timer interrupts

are not accepted although the timer continues counting

6.10 Can coveragefunction be used in KD?

Coverage function cannot be used in KD.

6.11 Can check sum function be used?

FoUSB dose not have “check sum” function. Therefore, when checking written contents,

check “READ” > “Verify” > “Verification”. For details, refer to [4.1.3 Details of Main Button

1].

6.12 ID code written to microcomputer after KD exits?

The ID code of the User Program is not written to the microcomputer, but “all FFh” is

written to it when using KD. Therefore, the ID code which is written to the microcomputer

after KD exits is assumed “all FFh”.

75