78K0R - Cool it!
3.1 Configuration switch SW2
The different operation modes of the 78K0R - Cool it! board can be set by switch SW2/bit1-8.
SW2/bit
1
2
3
4
5
6
7
8
3.1.1 Stand alone / debug mode selection, SW2/bit1
Switch SW2/bit1 controls the operation mode of the 78K0R - Cool it! board. By setting SW2/bit1 to OFF
the 78K0R – Cool it! board is set to the "stand-alone mode". Within this mode the RESET can be
controlled by the user via switch SW3 and by the IAR C-SPY debugger. Within the stand-alone mode the
user program stored in the internal FLASH memory of the 78K0R/KG3 microcontroller is executed. The
usage of the On-Board debug function (TK-78K0R debugging) is also support within the "stand-alone
mode".
By switching SW2/bit1 to ON the 78K0R – Cool it! board is set to the "debug mode" exclusively. Within
this mode the 78K0R/KG3 device is permanently hold within RESET state. Only the IAR C-SPY debugger
can control the RESET signal within this mode. The RESET switch SW3 is inactive.
SW2/bit1
OFF
ON
Note: After changing the configuration of SW2/bit1 it is necessary to power-up the 78K0R - Cool
it! board to make changing active. This can be done by <plug and play> the USB interface
cable.
3.1.2 On-Board debug function (TK-78K0R debugging) selection, SW2/bit2-bit3
SW2/bit2 and bit3 are controlling the On-Board debug function of the 78K0R – Cool it! board. By
switching bits2 and 3 to ON the TK-78K0R debugging is enabled. In this mode a dedicated single-line
UART (pin Tool0) of the 78K0R/KG3 is connected to the µPD78F0731 USB microcontroller. The Tool0
pin of the 78K0R/KG3 microcontroller is reserved for on-board FLASH programming and debugging
purpose.
Switching bit2 and bit3 to OFF disconnects the single-line UART from the µPD78F0731 USB
microcontroller. Within this mode no TK-78K0R debugging is supported. Use this mode in case you want
to establish standard serial communication via UART3 to a terminal program running on the HOST PC.
SW2/bit2
OFF
ON
Table 3: On-Board debug function (TK-78K0R debugging) selection, SW2/bit2-bit3
Factory settings
OFF
ON
ON
OFF
OFF
ON
ON
ON
Table 1: Configuration switch SW2, factory settings
Stand alone and debug mode
Table 2: Operation mode selection SW1/bit1
SW2/bit3
OFF
ON
User's Manual U18426EE1V0UM00
Mode
Stand alone and debug Mode
enable On-Board debug function
(TK-78K0R debugging)
enable On-Board debug function
(TK-78K0R debugging)
TxD3 disconnected
RxD3 disconnected
L_EVDD applied
L_VDD applied
L_AVREF0 applied
Mode
Debug mode only
Mode
Disable On-Board debug function
Enable On-Board debug function
14