User`s manual
DemoKit-LG2 User’s Manual
SW1/S1 Mode
OFF (default) Normal operation
ON Flash memory programming
During normal operation, the user program stored in the MCU’s flash memory is executed.
3.4.2 SW1/S2: UART Selection
SW1/S2 specifies the MCU’s UART signals that correspond to the FT232 interface lines.
SW1, S2 Selection
OFF (default) UART6
ON UART0
3.4.3 SW1/S3: On-Chip Debugging Selection
SW1/S3 controls the MCU’s on-chip debugging function. Setting switch S3 to ON allows you to use
the on-board debugging function or connect to the QB-78K0MINI on-chip debugging emulator.
SW1, S3 Setting
OFF (default) Disabled
ON Enabled
3.4.4 SW1/S4: On-Chip Debugging Mode Selection
SW1/S4 controls the debugging mode. Switching SW1/S4 to OFF allows you to use the board’s on-
board debugging function via the default USB/UART connection to the host computer. All standard
debugging functions such as flash programming and downloading, code execution, single-step
command execution, setting breakpoints, memory manipulation, and so forth are available.
Setting switch SW1/S4 to ON allows you to connect the QB-78K0MINI on-chip debugging emulator
(available separately) to the board to use the MCU’s on-chip debugging functions.
SW1, S4 Mode
OFF (default) On-board debugging function enabled
ON QB-78K0MINI connection enabled
3.5 SW2 Reset Switch
The SW2 reset switch activates the power-on reset function and is connected to the MCU’s reset input.
Note: Supplying power to the board via the battery inactivates the reset switch. Please use jumper JP1
to turn power OFF/ON to the microcontroller.
7