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.
Figure 5:
78K0/Fx2 – CAN it!
configuration for On-Chip debugging
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:
SW4
Setting
S1 ON
S2 ON
S3 OFF
S4 OFF
Table 17: SW4 configuration for OCD via On-Board debug function
24