78K0/Fx2 – CAN it!
5. On-Chip debugging
The 78K0/Fx2 – CAN it! board offers two possibilities to use On-Chip debugging (OCD). The On-Board
debug function of 78K0/Fx2 – CAN it! allows On-Chip debugging without a need of external debug
hardware. Within this mode the default USB / UART connection to the Host computer is used as debug
interface. All standard debug functions are available in the On-Board debugging mode like FLASH
programming / downloading, code execution, single stepping, breakpoints, memory manipulation etc.
Additionally 78K0/Fx2 – CAN it! supports the QB-78K0MINI On-Chip debug emulator in order to use On-
Chip debug function of the 78K0/FF2 device. The system configuration for On-Chip debugging is shown
in figure below.
5.1 OCD via On-Board debug function
To operate the 78K0/Fx2 – CAN it! board within the On-Board debug mode configure switch SW4 as
following:
Figure 5: 78K0/Fx2 – CAN it! configuration for On-Chip debugging
SW4
S1
S2
S3
S4
Table 17: SW4 configuration for OCD via On-Board debug function
Setting
ON
ON
OFF
OFF
24