78K0R - Cool it!
4. On-Chip debugging
The 78K0R - Cool it! board offers two possibilities to use On-Chip debugging (OCD). The TK-78K0R On-
Board debug function of 78K0R – Cool it! allows On-Chip debugging without a need of external debug
hardware. Within this mode the default USB connection to the Host computer based on the virtual UART
driver 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 78K0R – Cool it! supports the QB-MINI2 On-Chip debug emulator in order to use On-Chip
debug function of the 78K0R/KG3 device. The system configuration for On-Chip debugging is shown in
figure below.
4.1 OCD via TK-78K0R On-Board debug function
To operate the 78K0R - Cool it! board within the On-Board debug mode, configure switch SW2 as
following:
SW2
1
2
3
4
5
6
7
8
(*) = individual selectable by user.
Figure 5: On-Chip debugging
Setting
ON/OFF
(*)
ON
ON
OFF
OFF
ON
ON
ON
Table 18: OCD via TK-78K0R On-Board debug function
User's Manual U18426EE1V0UM00
Mode
Stand alone and debug mode /
debug mode only
Enable On-Board debug function
Enable On-Board debug function
TxD3 disconnected
RxD3 disconnected
L_EVDD applied
L_VDD applied
L_AVREF0 applied
23