User`s manual

DemoKit-LG2 User’s Manual
3.9 CN2 Flash Programmer Connector
The CN2 connector (not assembled) allows connection of the PG-FP4 flash programmer (available
separately) to DemoKit-LG2 to program application software into the MCU’s internal flash memory.
CN2 Signal
1 GND
2 RESET
3 SI
4 VCC
5 SO
6 No connection
7 SCK
8 No connection
9 No connection
10 No connection
11 No connection
12 FLMD1
13 No connection
14 FLMD0
15 No connection
16 No connection
When using the PG-FP4, you must set the programming interface to the MCU in accordance with the
clock serial interface (CSI ring oscillator), please configure the DemoKit-LG2 as following:
Table 3. Hardware Configuration When Using the PF-FP4 Flash Programmer
Switch/Jumper Setting Mode
S1
OFF
Normal operation
S2
OFF
UART6 select
S3
OFF
OCD disabled
S4
OFF
On
-
board debugging
JP1
1
2closed
Power supply via USB
JP2
Open
Power supply via USB
JP3
Closed
Clock supplied via CPLD
11