Applications Engineering
•USB was not selected on the HEW Init dialog box.
Please select ‘USB’ from the Init dialog box that is displayed right after you start a debug session.
•The selected MCU on the ICD board and the actual target MCU (M16C/28) do not match.
Close the error message by clicking on the ‘OK’ button, then click on the ‘Cancel’ button of the Init window. Make sure you select ‘M30280FA.mcu’. If the MCU loaded on the ICD is different, HEW will
•The target MCU is damaged.
Try a different target board and see if the HEW will connect. You may have a damaged board or MCU.
A.3.3 Issues that May Arise During Debug Operations
While debugging user code, some issues may come up because the limitations discussed in section “7.0 System Operation & Limitations” were not satisfied. The common issues are listed in Table A.3, including the countermeasures.
Table A.3
Problem |
| Possible Cause/s and Solution |
After stepping | a few | • Changes were made to the UART1 Special Function |
instructions, HEW | cannot | Registers (SFRs). Do not change UART1 SFRs in your |
“stop” |
| code. |
Breakpoints do not seem to | • System is in “FreeRun” mode. Change the RUN mode to | |
work |
| “Sampling” from the “Init” window (Emulator System icon). |
HEW locks up (cannot stop | • Changes were made to the UART1 SFRs. Do not change | |
program) or Communication | UART1 SFRs in your code. | |
error message is displayed. | • Ensure that no limitations in Section 6 were violated. | |
|
| • |
|
| note below. |
|
| • Do a hardware reset. |
|
| corrupting the kernel (RAM, interrupt vectors, flags, etc.). |
|
| Close the debug session, hit the reset button on the ZDK |
|
| board to reset the board, then restart. |
Download problems |
| • Filenames or directory names contain spaces or special |
|
| characters. |
|
| • HEW project was not properly set up (startup files missing or |
|
| out of order, files added to wrong member, etc.). Try |
|
| creating a new project and adding your source files to it. For |
|
| details, please see the HEW User’s Manual. |
To
•Click the [OK] button on the error dialog box to close it.
•When an Exit dialog box appears, click the [Cancel] button to close it.
August 2006 |