Troubleshooting; Figure 29: Iar C-Spy Debugger - NEC 78K0R - Cool it! User Manual

Demonstration kit for the 78k0r 16-bit microcontroller family
Hide thumbs Also See for 78K0R - Cool it!:
Table of Contents

Advertisement

78K0R - Cool it!
After the download was completed all debug features of IAR C-SPY debugger are available, i.e. Single
Stepping, Step Over/-In/-Out, Go-Execution, Breakpoints, Register / Memory view etc.
To get more details on the debugger configuration and capabilities please refer to the "78K IAR Embedded
Workbench IDE User Guide" of the IAR installation.

10. Troubleshooting

In some cases it might happen that the connection to the 78K0R – Cool it! can not be established. This can
be caused by the following two situations:
Wrong security ID: The security ID is required to prevent the FLASH memory of the 78K0R/KG3
microcontroller from being read by an unauthorized person. The security ID is located in the internal
flash memory at addresses 0xC4-0xCD of the 78K0R/KG3 microcontroller. The IAR C-SPY
debugger starts only when the security ID that is set during debugger start-up and the security ID
set at addresses 0xC4 to 0xCD do match.
Disabled On-Chip debug: The On-Chip debug function of the 78K0R/KG3 microcontroller can be
controlled by a dedicated Option Byte located at address 0xC3 in the internal flash memory. By
disabling the On-Chip debug operation no connection to device can be established neither using the
TK-78 interface nor using the QB-MINI2 On-Chip debug emulator.
In the above mentioned cases it is necessary to erase the internal flash memory of the 78K0R/KG3
microcontroller to restore the security ID and to enabled the On-Chip debug function.

Figure 29: IAR C-SPY debugger

User's Manual U18426EE1V0UM00
42

Advertisement

Table of Contents
loading

Table of Contents