NuMicro Family Nu-Link-Gang User Manual · 2019-12-23 · Power1 Power2 Power3 Power4 Adapter Board...
Transcript of NuMicro Family Nu-Link-Gang User Manual · 2019-12-23 · Power1 Power2 Power3 Power4 Adapter Board...
Nu-Link-Gang
Dec. 23, 2019 Page 1 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
ARM® Cortex
®-M0
32-bit Microcontroller
NuMicro® Family
Nu-Link-Gang
User Manual
The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.
Nuvoton is providing this document only for reference purposes of NuMicro microcontroller based system design. Nuvoton assumes no responsibility for errors or omissions.
All data and specifications are subject to change without notice.
For additional information or questions, please contact: Nuvoton Technology Corporation.
www.nuvoton.com
Nu-Link-Gang
Dec. 23, 2019 Page 2 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Supported devices of Nu-Link-Gang
Cortex-M0 series
M031 M051 M0518 M0519 M0564
M058S Mini51 Mini51X Mini57 Mini58
NM1120 NM1200 NM1230 NM1320 NM1330
NM1500 NM1810 NM1820 TF5100 Nano100
Nano103 NDA102 NUC029 NUC100 NUC121
NUC126 NUC131 NUC200 AU9110 I91000
N569 N570 N572 N575 N576
Cortex-M4 series
M451 NUC400 NUC505 M480 I94000
Cortex-M23 series
M251 M2351 M261
8051 series
N76E003 N76E616 N76E885 ML51 MS51
Nu-Link-Gang
Dec. 23, 2019 Page 3 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Table of Contents
1 GENERAL DESCRIPTION ..................................................................................................... 5 2 HARDWARE INTRODUCTION............................................................................................... 6
2.1 Nu-Link-Gang ............................................................................................................... 6
2.1.1 Programming Unit............................................................................................................. 7 2.1.2 Power Supply ................................................................................................................... 7 2.1.3 Programming Mode Switch .............................................................................................. 8 2.1.4 LCD Display and LCD Control Button............................................................................... 8 2.1.5 Programming Voltage Switch ........................................................................................... 8 2.1.6 Status LED ....................................................................................................................... 8 2.1.7 Control Bus ....................................................................................................................... 9 2.1.8 Upgrade Interface ............................................................................................................. 9
2.2 Nuvoton ICP Gang Adapter ....................................................................................... 10
2.2.1 Status LED ..................................................................................................................... 10 2.3 Nuvoton NUC505 ICP Gang Adapter ......................................................................... 11
2.3.1 IC Mode Switch .............................................................................................................. 11 2.3.2 Status LED ..................................................................................................................... 12
3 NU-LINK-GANG PROGRAMMER SETUP ........................................................................... 13 3.1 Choose the Programming Voltage ............................................................................. 13
3.2 Set the Programming Mode ....................................................................................... 13
3.3 Load Firmware Image Files through NuMicro® ICP Programming Tool .................... 13
3.3.1 Connect to ICP Programming Tool ................................................................................. 13 3.3.2 ICP Programming Tool Setting ....................................................................................... 13 3.3.3 Import/Export Project ...................................................................................................... 14
3.4 Connect to the Target Chip ........................................................................................ 15
3.4.1 Nuvoton ICP Gang Adapter ............................................................................................ 15 3.4.2 Customized Adapter Board ............................................................................................ 15
3.5 Start Programming ..................................................................................................... 16
3.5.1 Programming .................................................................................................................. 16 3.5.2 LCD Display ................................................................................................................... 16
4 NU-LINK-GANG PROGRAMMER SETUP FOR NUC505 SERIES ..................................... 19 4.1 Choose the Programming Voltage ............................................................................. 19
4.2 Set the Programming Mode ....................................................................................... 19
4.3 Connect to the Target Chip ........................................................................................ 19
4.3.1 Nuvoton NUC505 ICP Gang Adapter ............................................................................. 19 4.3.2 Customized Adapter Board ............................................................................................ 20
4.4 IC Mode Switch .......................................................................................................... 20
4.5 Load Firmware Image Files through NuMicro® ICP Programming Tool .................... 20
4.5.1 Connect to ICP Programming Tool ................................................................................. 20 4.5.2 ICP Programming Tool Setting ....................................................................................... 21 4.5.3 Import/Export Project ...................................................................................................... 22
4.6 IC Mode Switch .......................................................................................................... 22
4.7 Start Programming ..................................................................................................... 23
Nu-Link-Gang
Dec. 23, 2019 Page 4 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
4.7.1 Programming .................................................................................................................. 23 4.7.2 LCD Display ................................................................................................................... 23
5 NU-LINK-GANG PROGRAMMER SETUP FOR AUTOMATIC IC PROGRAMMING SYSTEM ......................................................................................................................................... 25
5.1 Software and Hardware Setup ................................................................................... 25
5.1.1 Connection ..................................................................................................................... 25 5.1.2 Waveform ....................................................................................................................... 26
6 NU-LINK-GANG PCB SCHEMATIC ..................................................................................... 27 6.1 Control Unit Schematic............................................................................................... 27
6.2 Power and Connection Schematic ............................................................................. 28
6.3 #1 NuLink Schematic ................................................................................................. 29
6.4 #2 NuLink Schematic ................................................................................................. 30
6.5 #3 NuLink Schematic ................................................................................................. 31
6.6 #4 NuLink Schematic ................................................................................................. 32
6.7 LCD Display Schematic.............................................................................................. 33
7 TROUBLESHOOTING .......................................................................................................... 34 7.1 Pop-up Warning Message When Programming NUC505 Series .............................. 34
7.2 Nu-Link-Gang Firmware Update ................................................................................ 34
7.3 Programming Unit Firmware Update .......................................................................... 34
8 REVISION HISTORY ............................................................................................................ 36
Nu-Link-Gang
Dec. 23, 2019 Page 5 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
1 GENERAL DESCRIPTION
The Nu-Link-Gang programmer is the new generation four-chip gang programmer, supports all Nuvoton NuMicro
® Family and 8051 1T series and packages. The Nu-Link-Gang provides flexible
programming setting, which is designed especially for mass-production. It supports four different chips with individual firmware image file programming functionality, 3 options of programming voltage, and off-line programming four chips simultaneously or individually. The Nu-Link-Gang can also be connected to a automatic IC programming system. Overall, the Nu-Link-Gang offers more flexibility and high efficiency than what usual programmers offer for mass-production.
The Nu-Link-Gang programmer is easy to use. User first loads the programming firmware image file through ICP programming tool on PC into the programmer, then use only one botton to start the off-line programming process. The LCD display on the Nu-Link-Gang shows the detail of IC’s part number, programming times, programming voltage, error message, and etc. User can connect the Nu-Link-Gang programmer and target chips by using a automatic IC programming system, Nuvoton ICP Gang Adapters or customize adapter boards. Different ICs or different packages use different Nuvoton ICP Gang Adapters.
Figure 1-1 Nu-Link-Gang Programmer
Nu-Link-Gang
Dec. 23, 2019 Page 6 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2 HARDWARE INTRODUCTION
2.1 Nu-Link-Gang
#1 #2 #3 #4
LCD Display
LCD Control Button
(Bottom) Upgrade interface
All-start Button Power LED
A
Adaptor Board Connector
Single-start Button
Programming Voltage Switch
Status LED
Adaptor Board Aid Connector
(Top) USB Connector
A
Programming Mode
Switch
Power Button
DC9V Power Input
B
B
Control Bus
(Right side)
Control Bus Pin
Assignment
Programming Unit #1 ~ #4
Figure 2-1 Nu-Link-Gang
Nu-Link-Gang
Dec. 23, 2019 Page 7 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2.1.1 Programming Unit
Programming unit #1, #2, #3, and #4, four independent units with identical functions.
Programming unit #1 #2 #3 #4
USB Connector USB1 USB2 USB3 USB4
Status LED FAIL1
PASS1 FAIL2
PASS2 FAIL3
PASS3 FAIL4
PASS4
Programming Voltage Switch
Power1 Power2 Power3 Power4
Adapter Board Connector
Slot1 Slot2 Slot3 Slot4
Single-start Button Start1 Start2 Start3 Start4
Control Bus
PASS1 FAIL1
BUSY1 START1
PASS2 FAIL2
BUSY2 START2
PASS3 FAIL3
BUSY3 START3
PASS4 FAIL4
BUSY4 START4
Table 2-1 Programming Unit’s Component List
2.1.2 Power Supply
Use DC 9V/1A power adapter with DC tip polarity: internal positive (+), external negative (-).
Power ON: Connects the Nu-Link-Gang and the power adapter, and press the Power Button once. The LCD display and the Power LED illuminates.
Power OFF: Press the Power Button once to release it. The Power LED does not illuminate, and the Nu-Link-Gang truns off. Remove the power adapter from the Nu-Link-Gang.
Programming Mode Switch
Power Button
DC9V Power Input
Figure 2-2 Power Supply and Programming Mode Switch
Nu-Link-Gang
Dec. 23, 2019 Page 8 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2.1.3 Programming Mode Switch
Switches the programming mode as shown as Figure 2-2 to control Single-start button or All-start button.
All-start button controls all four programming units. Each Single-start button controls corresponding unit.
Programming Mode Switch
StartALL Start1 Start2 Start3 Start4
Single Start X V V V V
All Start V X X X X
X:Unused Table 2-2 Programming Mode Switch
2.1.4 LCD Display and LCD Control Button
The LCD display shows each unit’s detail such as IC’s part number, programming times, programming voltage, error message, and etc. Uses LCD control buttons to switch pages.
Enter Button
Select Button
LCD Display
Figure 2‑3 LCD Display and Control Buttons
2.1.5 Programming Voltage Switch
Turns off the Nu-Link-Gang, and switches the programming voltage to 1.8 V, 3.3 V, or 5.0 V.
Programming Voltage 1 2 3
Figure 2-4 Programming Voltage Switch
5.0 V ON OFF OFF
3.3 V OFF ON OFF
1.8 V OFF OFF ON
Table 2-3 Programming Voltage Switch
2.1.6 Status LED
The status LEDs on the Nu-Link-Gang and the Nuvoton ICP Gang Adapter show the programming results of every unit.
Nu-Link-Gang
Dec. 23, 2019 Page 9 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Light Status
Figure 2‑5 Status LED
Green PASS
Red FAIL
Table 2-4 Status LED on Nu-Link-Gang
2.1.7 Control Bus
The Nu-Link-Gang can be connected to a automatic IC programming system through the control bus.
Figure 2‑6 Control Bus
2.1.8 Upgrade Interface
JP15 is the SWD interface only for the Nu-Link-Gang firmware upgrade.
Figure 2-7 JP15
Nu-Link-Gang
Dec. 23, 2019 Page 10 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2.2 Nuvoton ICP Gang Adapter
The pin 1 of the socket is at the bottom left corner. Different chips or different packages use different Nuvoton ICP Gang Adapters. Please refer to section 3.4.1 for the usage.
Supported IC
Status LED
#1 #2 #3 #4
Figure 2-8 Nuvoton ICP Gang Adapter
Programming Unit #1 #2 #3 #4
Nuvoton ICP Gang Adapter #1 #2 #3 #4
Status LED on Nuvoton ICP Gang Adapter
LED1 LED2
LED3 LED4
LED5 LED6
LED7 LED8
Table 2-5 Nuvoton ICP Gang Adapter Component List
2.2.1 Status LED
The status LEDs on the Nu-Link-Gang and the Nuvoton ICP Gang Adapter show the programming results of every unit.
Light Status
Figure 2‑9 Status LED
Green PASS
Red FAIL
Table 2-6 Status LED on Nuvoton ICP Gang Adapter
Nu-Link-Gang
Dec. 23, 2019 Page 11 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2.3 Nuvoton NUC505 ICP Gang Adapter
The pin 1 of the socket is at the bottom right corner, marked in white arrow. Different packages use different Nuvoton NUC505 ICP Gang Adapters.
Supported IC
Status LED
#1 #2 #3 #4
Reset Button
IC Mode List
IC Mode Switch
Figure 2-10 Nuvoton NUC505 ICP Gang Adapter
Programming Unit #1 #2 #3 #4
Nuvoton ICP Gang Adapter #1 #2 #3 #4
Status LED on Nuvoton ICP Gang Adapter
LED1 LED2
LED3 LED4
LED5 LED6
LED7 LED8
IC Mode Switch on Nuvoton NUC505 ICP Gang Adapter
SW1 SW2 SW3 SW4
Table 2-7 Nuvoton NUC505 ICP Gang Adapter Component List
2.3.1 IC Mode Switch
The IC mode switch on the NUC505 Nuvoton ICP Gang Adapter must be set before programming process. Please refer to chapter 4.
Mode 1 2 3 4
Figure 2-11 IC Mode Switch
Mode 1 OFF OFF ON OFF
Mode 2 OFF OFF OFF ON
Table 2-8 IC Mode Switch
Nu-Link-Gang
Dec. 23, 2019 Page 12 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2.3.2 Status LED
The status LEDs on the Nu-Link-Gang and the Nuvoton ICP Gang Adapter show the programming results of every unit.
Light Status
Figure 2‑12 Status LED
Green PASS
Red FAIL
Table 2-9 Status LED on Nuvoton NUC505 ICP Gang Adapter
Nu-Link-Gang
Dec. 23, 2019 Page 13 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
3 NU-LINK-GANG PROGRAMMER SETUP
3.1 Choose the Programming Voltage
The Nu-Link-Gang supports three kinds of programming voltage, 1.8 V, 3.3 V, or 5.0 V. Users can choose different programming voltage for each programming unit by setting corresponding programming voltage switch. Please sets the programming voltage before the Nu-Link-Gang power on.
3.2 Set the Programming Mode
Switch the programming mode to single-start or all-start.
3.3 Load Firmware Image Files through NuMicro® ICP Programming Tool
Please access Nuvoton NuMicro® website (http://www.nuvoton.com/NuMicro) to download the
NuMicro ICP tool - ICP Programming Tool. Unzip the file and execute “NuMicro ICP Programming Tool.exe”. Please refer to section 3.3.1 and 3.3.2 for the detailed flow. For more information, please refer to the “Nuvoton NuMicro ICP Programmer User Guide”.
3.3.1 Connect to ICP Programming Tool
Connects one programming unit’s to PC through USB connector as Figure 3-1, then open the ICP Programing Tool on the PC.
Figure 3-1 Nu-Link-Gang Connects to PC
3.3.2 ICP Programming Tool Setting
1. Choose “Connect”. The window will shows “NuLink connected” when the connection between programming unit and ICP Programming Tool is built.
Nu-Link-Gang
Dec. 23, 2019 Page 14 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
2. Load the firmware image files to the corresponding flash region.
3. Set the Config Bits by the using IC series.
4. Select the programming area.
5. Set the program option. It is necessary to select the “Offline Programming Mode” option.
6. Click “Start”. The ICP Programming Tool will start loading the firmware image files to the Nu-Link-Gang.
User needs to repeat section 3.3.1 and 3.3.2 to load firmware image file to every programming unit.
1.Connect
2.Load File
3.Config Bits
4.Programming 5.Option 6.Start
5.Option
Figure 3-2 ICP Programming Tool Setting
3.3.3 Import/Export Project
The user settings of the ICP Programming Tool can be save and load by import or export the .icp project file. It can also do the binary code protection through exporting with a ceritificate.
Figure 3-3 ICP Programming Tool Import/Export Project
Nu-Link-Gang
Dec. 23, 2019 Page 15 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
3.4 Connect to the Target Chip
3.4.1 Nuvoton ICP Gang Adapter
Connect the Nuvoton ICP Gang Adapter to Nu-Link-Gang as Figure 3-4. Put the target chip into the socket. Pin 1 is on the bottom-left hand side.
Figure 3-4 Nuvoton ICP Gang Adapter with Nu-Link-Gang
3.4.2 Customized Adapter Board
Follow Figure 3-5 to connect the adapter board and the Nu-Link-Gang slot. The slot VCC pin voltage is set by the programming voltage switch.
The recommended wiring between adapter board and the Nu-Link-Gang is using stranded conductors with AWG size 24 and length 50 cm.
Figure 3-5 Slot Pin Description
Nu-Link-Gang
Dec. 23, 2019 Page 16 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
3.5 Start Programming
3.5.1 Programming
Plug-in a 9V/1A power adapter to the Nu-Link-Gang and press the Power button once as Figure 3-6.
Figure 3-6 Nu-Link-Gang Power On
1. To start the programming process, press the Start ALL button or the individual Start button depends on the programming mode switch setting.
2. The status LEDs on the Nu-Link-Gang and the Nuvoton ICP Gang Adapter will show the programming results of every unit.
Green light: PASS.
Red light: FAIL.
3. Change the target chip in the adapter, and repeat section 3.5 process.
3.5.2 LCD Display
Users can switch pages by pressing buttons to show the individual programming unit’s status and information. There are four pages:
Page 1: Shows all four units programming status includes programming times and programming voltage as Figure 3-7. Press Enter button to go to the next page.
Page 2: Programming unit selection page as Figure 3-8. Press Select button to choose the unit. The choosen unit is high-lighted in yellow. Press Enter button to go to the next page.
Nu-Link-Gang
Dec. 23, 2019 Page 17 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Page 3: Shows programming unit Information as Figure 3-9. List the programming chip’s part number, programming unit’s version number, maximum programmable times, PASS/FAIL status records, and error code. Press Enter button to go to the next page.
Page 4: Shows programming unit Information as Figure 3-10. List the checksum data of every programming area, and config bits. The checksum data and config bits are the same as the data in ICP Programming Tool. Press Enter button to go to page 1.
Programming Unit Enter Button
Select ButtonPage
PASS Status FAIL Status Programming Voltage
Target Chips Part Number
Figure 3-7 Page 1 – Programming Status
Programming Unit Enter Button
Select ButtonPage
Figure 3-8 Page 2 - Programming Unit Selection Page
Programming Unit
Enter Button
Select ButtonPage
Target Chip Part NumberUnit Version Number
Maximum Programmable TimesPASS Status
FAIL StatusError Code
Figure 3-9 Page 3 - Programming Unit Information
Nu-Link-Gang
Dec. 23, 2019 Page 18 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Checksum Value
Enter Button
Select ButtonPage
Config Bit
Figure 3-10 Page 4 - Programming Unit Information
Connects the Nu-Link-Gang to the target chip before to the computer, and then config the ICP Programming Tool as 3.3, the part number of the target chips will shows on the LCD display as Figure 3-11 and Figure 3-12.
Programming Unit Enter Button
Select ButtonPage
Target Chips Part Number
Figure 3-11 All Four Target Chips are the Same Part Number
Programming Unit Enter Button
Select ButtonPage
Target Chips Part Number
Figure 3-12 At Least One Different Part Number Target Chip
Nu-Link-Gang
Dec. 23, 2019 Page 19 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
4 NU-LINK-GANG PROGRAMMER SETUP FOR NUC505 SERIES
4.1 Choose the Programming Voltage
The Nu-Link-Gang supports three kinds of programming voltage, 1.8 V, 3.3 V, or 5.0 V. Users can choose different programming voltage for each programming unit by setting corresponding programming voltage switch. Please sets the programming voltage before the Nu-Link-Gang power on.
4.2 Set the Programming Mode
Switch the programming mode to single-start or all-start.
4.3 Connect to the Target Chip
4.3.1 Nuvoton NUC505 ICP Gang Adapter
Connect the Nuvoton NUC505 ICP Gang Adapter to Nu-Link-Gang as Figure 4-1. Put the target chip into the socket. Pin 1 is on the bottom-right hand side, marked in white arrow.
Figure 4-1 Nuvoton NUC505 ICP Gang Adapter with Nu-Link-Gang
Nu-Link-Gang
Dec. 23, 2019 Page 20 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
4.3.2 Customized Adapter Board
Follow Figure 4-2 to connect the adapter board and the Nu-Link-Gang slot. The slot VCC pin voltage is set by the programming voltage switch.
The recommended wiring between adapter board and the Nu-Link-Gang is using stranded conductors with AWG size 24 and length 50 cm.
Customized adapter board for NUC505 must have IC mode switch and Reset button function. If users have customized adapter board demand, please contact Nuvoton Technology Corporation for adapter board specifications.
Figure 4-2 Slot Pin Description
4.4 IC Mode Switch
Switch four programming units’ IC mode to Mode 1 on the Nuvoton NUC505 ICP Gang Adapter as Figure 4-3.
Figure 4-3 IC Mode in Mode 1
4.5 Load Firmware Image Files through NuMicro® ICP Programming Tool
Please access Nuvoton NuMicro® website (http://www.nuvoton.com/NuMicro) to download the
NuMicro ICP tool - ICP Programming Tool. Unzip the file and execute “NuMicro ICP Programming Tool.exe”. Please refer to section 4.5.1 and 4.5.2 for the detailed flow. For more information, please refer to the “Nuvoton NuMicro ICP Programmer User Guide”.
4.5.1 Connect to ICP Programming Tool
Connects one programming unit’s to PC through USB connector as Figure 4-4. Press the Reset button on the Nuvoton NUC505 ICP Gang Adapter, and then open the ICP Programing Tool on the PC.
Nu-Link-Gang
Dec. 23, 2019 Page 21 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Figure 4-4 Nu-Link-Gang Connects to PC
4.5.2 ICP Programming Tool Setting
1. Choose “Connect”. The window will shows “NuLink connected” when the connection between programming unit and ICP Programming Tool is built.
2. Load the firmware image files to the corresponding flash region.
3. Set the program option. It is necessary to select the “Offline Programming Mode” option.
4. Click “Start”. The ICP Programming Tool will start loading the firmware image files to the Nu-Link-Gang.
User needs to repeat section 4.5.1 and 4.5.2 to load firmware image file to every programming unit.
Nu-Link-Gang
Dec. 23, 2019 Page 22 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
1.Connect
2.Load File
3.Programming Area 5.Start
4.Program Options
4.Program Options
Figure 4-5 ICP Programming Tool Setting
4.5.3 Import/Export Project
The user settings of the ICP Programming Tool can be save and load by import or export the .icp project file. It can also do the binary code protection through exporting with a ceritificate.
Figure 4-6 ICP Programming Tool Import/Export Project
4.6 IC Mode Switch
Switch four programming units’ IC mode to Mode 2 on the Nuvoton NUC505 ICP Gang Adapter as Figure 4-7.
Nu-Link-Gang
Dec. 23, 2019 Page 23 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Figure 4-7 IC Mode in Mode 2
4.7 Start Programming
4.7.1 Programming
Plug-in a 9V/1A power adapter to the Nu-Link-Gang and press the Power button once as Figure 4-8, and press the Reset button on the Nuvoton NUC505 ICP Gang Adapter.
Press the Start ALL button or the individual Start button depends on the programming mode switch setting to start the programming process. The status LEDs on the Nu-Link-Gang and the Nuvoton NUC505 ICP Gang Adapter will show the programming results of every unit. Change the target chip in the adapter, and repeat section 4.6 process.
Figure 4-8 Nu-Link-Gang Power On
4.7.2 LCD Display
LCD display shows four units programming status includes programming times and programming voltage as Figure 4-9. The LCD control buttons function please refer to section 3.5.2.
Nu-Link-Gang
Dec. 23, 2019 Page 24 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Figure 4-9 LCD Display
Nu-Link-Gang
Dec. 23, 2019 Page 25 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
5 NU-LINK-GANG PROGRAMMER SETUP FOR AUTOMATIC IC PROGRAMMING SYSTEM
5.1 Software and Hardware Setup
Follow section 3.1 and 3.3 to setup the programming voltage and firmware image file for four programming units individually. Switch the programming mode to single-start.
5.1.1 Connection
Each programming units connects to the automatic IC programming system through individual slot and the control bus as Figure 5-1.
(Left side)Slot Pin Description
(Right side)Control Bus Pin Description
A
A
B
B
Figure 5-1 Automatic IC Programming System Connection
Nu-Link-Gang
Dec. 23, 2019 Page 26 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
5.1.2 Waveform
1. The Nu-Link-Gang power on. STARTx, BUSYx, PASSx, and FAILx are set to logic 1.
2. To start programming, STARTx needs to be set to logic 0 for TSTART, .
3. Programming start-up. BUSYx is set to logic 0 , and might toggle during programming.
4. When finish programming, BUSYx is set to logic 1, and PASSx or FAILx is set to logic 0.
When BUSYx is set to logic 1, and PASSx is set to logic 0, means “PASS”.
When BUSYx is set to logic 1, and FAILx is set to logic 0, means “FAIL”.
STARTx
BUSYx
PASSx
FAILx
TSTART
Figure 5-2 PASS Waveform
STARTx
BUSYx
PASSx
FAILx
TSTART
Figure 5-3 FAIL Waveform
Nu-Link-Gang
Dec. 23, 2019 Page 27 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6 NU-LINK-GANG PCB SCHEMATIC
6.1 Control Unit Schematic
UART_TXD_DUART_RXD_D
UART_RXD_DUART_TXD_D
All_KEYAll_KEY
ICE
CL
KIC
ED
AT
LCM_VCC_CtrlLCM_VCC_Ctrl
ADAVSS
JP15
ICE_HEADER 5X2 (簡易牛角90度)
1 23 45 67 89 10NUC_RST#
ICECLKICEDAT
VCC33
UA
RT
_R
XD
_A
UA
RT
_T
XD
_A
Buzzer
VCC33
BUZZER
R733
R0603 BZ1
2400Hz
12
L2 FERRITE BEAD
VCC33AVDD
L1 FERRITE BEAD
ADAVSS
Link2_VCCLink1_VCC
Link3_VCCLink2_VCCLink1_VCC
Link4_VCCLink3_VCC Link4_VCC
C3
0.1u
M0_RXDM0_TXD
AVDD
U16<M0518SD2AE>
PB
.14
/IN
T0
1
PB
.13
2
PB
.12
/CL
KO
/BP
WM
1_
CH
33
PF
.5/I
2C
0_
SC
L/P
WM
1_
CH
54
PF
.4/I
2C
0_
SD
A/P
WM
1_
CH
45
PA
.11
/I2
C1
_S
CL
/PW
M1
_C
H3
6
PA
.10
/I2
C1
_S
DA
/PW
M1
_C
H2
7
PA
.9/I
2C
0_
SC
L/U
AR
T1
_n
CT
S8
PA
.8/I
2C
0_
SD
A/U
AR
T1
_n
RT
S9
PB
.4/U
AR
T1
_R
XD
10
PB
.5/U
AR
T1
_T
XD
11
PB
.6/U
AR
T1
_n
RT
S12
PB
.7/U
AR
T1
_n
CT
S13
LD
O_
CA
P14
VD
D15
VS
S16
PB.0/UART0_RXD17PB.1/UART0_TXD18PB.2/UART0_nRTS/TM2_EXT/PWM1_BRAKE1/TM219PB.3/UART0_nCTS/TM3_EXT/PWM1_BRAKE0/TM320PD.6/BPWM1_CH121PD.7/BPWM1_CH022PD.14/UART2_RXD/BPWM0_CH523PD.15/UART2_TXD/BPWM0_CH424PC.3/SPI0_MOSI0/BPWM0_CH325PC.2/SPI0_MISO0/BPWM0_CH226PC.1/SPI0_CLK/BPWM0_CH127PC.0/SPI0_SS0/BPWM0_CH028PE.5/PWM0_CH5/TM1/TM1_EXT29PB.11/TM3/PWM0_CH430PB.10/TM231PB.9/TM132
PC
.11
/PW
M1
_B
RA
KE
133
PC
.10
/PW
M1
_B
RA
KE
034
PC
.9/P
WM
0_
BR
AK
E1
35
PC
.8/P
WM
0_
BR
AK
E0
36
PA
.15
/PW
M0
_C
H3
37
PA
.14
/PW
M0
_C
H2
38
PA
.13
/PW
M0
_C
H1
/UA
RT
5_
TX
D39
PA
.12
/PW
M0
_C
H0
/UA
RT
5_
RX
D40
PF
.7/I
CE
_D
AT
41
PF
.6/I
CE
_C
LK
42
AV
SS
43
PA
.0/A
DC
0/I
2C
1_
SC
L/U
AR
T5
_T
XD
/PW
M0
_C
H4
44
PA
.1/A
DC
1/I
2C
1_
SD
A/U
AR
T5
_R
XD
/PW
M0
_C
H5
45
PA
.2/A
DC
2/U
AR
T3
_T
XD
/PW
M1
_C
H0
46
PA
.3/A
DC
3/U
AR
T3
_R
XD
/PW
M1
_C
H1
47
PA
.4/A
DC
448
PA.5/ADC5/UART3_RXD49
PA.6/ADC6/UART3_TXD50
PA.7/ADC7/Vref51
AVDD52
PC.7/UART4_RXD/I2C0_SCL/PWM0_BRAKE153
PC.6/UART4_TXD/I2C0_SDA/PWM0_BRAKE054
PC.1555
PC.1456
PB.15/INT1/TM0/TM0_EXT/BPWM1_CH557
XT1_OUT/PF.058
XT1_IN/PF.159
nRESET60
VSS61
VDD62
PF.8/CLKO/BPWM1_CH463
PB.8/TM0/STADC/CLKO/BPWM1_CH264
LCM_RESET
LCM_LEDLCM_DC
D12MI
All_KEY
NUC_RST#
D12MO
UART_RXD_B
Link1_VCC
VCC33
BUZZER
UART_TXD_B
SPI0_CS#SPI0_CLK
SPI0_DOSPI0_DI
M_Trigger2M_Trigger1
M_Trigger1M_Trigger2
UART_Debug
Link2_VCC
LC
M_
VC
C_
Ctr
l
M_Trigger4M_Trigger3 M_Trigger4
M_Trigger3
Q38550
1
23
Link3_VCC
UA
RT
_T
XD
_C
Page_DownPage_Up
R5 0
VCC33
All Button Control
Link4_VCC UA
RT
_R
XD
_C
D12MO
X1
12MHz
D12MI
R433
C420p
C620p
Crystal
LCM_LED
SPI0_DO
SPI0_CS#SPI0_CLKSPI0_DI
LCM_DCLCM_RESET
M0_RXDM0_TXD
LCM_LEDLCM_RESET
LCM_SPI_MISOLCM_SPI_CLK
LCM_DC
LCM_SPI_SS
LCM_SPI_MOSI
UART_RXD_AUART_TXD_AUART_TXD_A
UART_RXD_A
VCC33Pow er on
R9 330LED1
GREEN(DIP)
UART_TXD_BUART_RXD_B
UART_RXD_BUART_TXD_B
SW1
RKSP86-N-A0-00(Red)
A1
B2
B3
A4
VCC33
R110K
All_KEY
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.0
M0518SD2AE
A4
1 7Friday , October 28, 2016
UA
RT
_T
XD
_D
UA
RT
_R
XD
_D
UART_RXD_CUART_TXD_CUART_TXD_C
UART_RXD_C
VCC33
ICE_RST
NUC_RST#
R210K
Reset
C110uF/10V
12
M_RST# NUC_RST#
C80.1uC9
1uF/16V
12
VCC33
Nu-Link-Gang
Dec. 23, 2019 Page 28 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.2 Power and Connection Schematic
VCC33
5VCC
J27 Hole (NC)
1
J29 Hole (NC)
1
J28 Hole (NC)
1
J30 Hole (NC)
1
Fail4Pass4Fail4
Pass4
J31 Hole (NC)
1
J20
ADuM1400
12345678
161514131211109
Switch
All_KEY
5VCC
JP30
choke
1 2
VCC33U3AMS1117 3.3V
IN3
GN
D1
OU
T2
OU
T4
POWER
All_KEY
Trigger1_4PTrigger2_4P
Pass3
Pass2Fail3
Fail2Pass1
Pass4Fail4
Fail1
All_KEY KEY1KEY2
KEY4KEY3Trigger4_4P
Trigger3_4P
JP2
SS12SDP2 (Switch)
123
M_Trigger2
M_Trigger1
3VCC_4
3VCC_4
M_Trigger3
M_Trigger4
J32 Hole (NC)
1
C5110uF/10V
12
J33 Hole (NC)
1
U21
SN74LS157
Select1
1A2
1B3
1Y4
2A5
2B6
2Y7
88
3Y93B103A114Y124B134A14Strobe15VCC16
J34 Hole (NC)
1
J35 Hole (NC)
1
5VCC
ADuM1400 隔離器
J1 DC5V(2.0mm)
1
3 2
DC5V I nput
C1010uF/10V
12
L16
FERRITE BEAD
KEY1
V1MC7805CT(TO-220)
IN1
OUT3
GN
D2
GN
D4
Power_GND
螺絲孔
KEY2
外部Trigger
M_Trigger1
M_Trigger3M_Trigger2M_Trigger1
M_Trigger4M_Trigger3M_Trigger2
KEY1M_Trigger4
KEY2KEY1
KEY4KEY3KEY2
KEY4KEY3
BUSY2Trigger2_4P
BUSY1Trigger1_4P
BUSY4Trigger4_4P
Trigger3_4PBUSY3
J22
HEADER 10X2
13579
1113151719
2468101214161820
L31 FERRITE BEAD
KEY3
單次/同時燒錄切換器
VCC_Other
KEY4
SW2
PushButton(Lock)
NC1NO2CM3
NC4
NO5
CM6
GND7
GND8
Trigger2_4PTrigger1_4PR90 10K
Trigger4_4PTrigger3_4PR92 10K
R91 10K
R93 10K
Pass2Fail2
Fail2Pass2
R94 0
J23 Hole (NC)
1
5VCC
C110.1u
All_KEYAll_KEY
C130.1u
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
Power & Connect
A4
2 7Sunday , December 04, 2016
JP21
NC
12
J9
NC
12
C1210uF/10V
12
Pass1Fail1Pass1
Fail1
JP31
choke
1 2
Pass3Fail3Pass3
Fail3
VCC_Other
Power_VDD
Trigger1_4P
Trigger4_4PTrigger3_4PTrigger2_4P
J26 Hole (NC)
1
All_KEY
Nu-Link-Gang
Dec. 23, 2019 Page 29 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.3 #1 NuLink Schematic
BUSY1
RP1
8P4R-330
1 23 45 67 8
C3410uF/10V
12
JP25
NC
123
UART_RXD_AUART_TXD_A
UART_RXD_AUART_TXD_A
TICE_CLK1TICE_RST1
R780
NuLink power for main chip ADC
CB2
0.1u
R16 330
R15 330Pass1
LED3
RED(DIP)
LED2
GREEN(DIP)
Fail1
3VCC_1
ICP Interface
UART_RXD_A
J3
mini USB 5pin
GND5
NC4
DP3
DM2
VCC1
SHIELD6SHIELD7SHIELD8SHIELD9
TICERST
TICERST
TICECLK
NuGang top board connect
3VCC_1
ADAVSS
ICE_CLKICE_DAT
U4
NUC12SRE3DE
PA0/ADC044PA1/ADC145PA2/ADC246PA3/ADC347PA4/ADC448INT0/PB14
1
CPO1/PB132
CPO0/PB123
VB
US
17
VD
D33
18
D-
19
D+
20
PB
0/R
X0
21
PB
1/T
X0
22
PB
2/R
TS
023
PB
3/C
TS
024
PC
2/S
DI0
026
PC
1/S
PC
LK
027
PC
0/S
S00
28
PC11/SDO1033PC10/SDI1034PC9/SPCLK135PC8/SS1036PA15/PWM337PA14/PWM238PA13/PWM139
X32I4
X32O5
I2C1SCL/PA116
I2C0SDA/PA89
I2C1SDA/PA107
I2C0SCL/PA98
RX1/PB410
TX1/PB511
RTS1/PB612
CTS1/PB713
PC
3/S
DO
00
25
AVSS43
ICE_CK42
ICE_DAT41
PA12/PWM040
LDO14
VSS16 VDD15
AD
C/P
A5
49
AD
C6/P
A6
50
AD
C7/P
A7
51
AV
DD
52
CP
N0/P
C7
53
CP
P0/P
C6
54
CP
N1/P
C15
55
CP
P1/P
C14
56
INT
1/P
B15
57
XT
1_O
ut
58
XT
1_In
59
/RE
SE
T60
VS
S1
61
VD
D1
62
PV
SS
63
ST
AD
C/T
M0/P
B8
64
PE
529
PB
11/T
M3
30
PB
10/S
S01/T
M2
31
PB
9/S
S11/T
M1
32
R821K
R831K
C461u
Link1_VCC
ICPLED
BUSY1IDLE1
M_Trigger1
ICELED
3VCC_1
JP20
3 pin DIP (Switch)
123
654
12M_O C14 20p
X3
12MHz
C15 20p
UART_TXD_A
12M_I
TICE_CLK1TICE_CLK1
UA
RT
_R
XD
_A
UA
RT
_T
XD
_A
DO_DIR1VCOM_En
SP
I0_D
IS
PI0
_C
LK
SP
I0_C
S#
SP
I0_D
O
VBUSUSBVBUS1
USB_D-USB_D+
C42 10uF/10V
12
VCC_1
12
BUSY1 GREEN(SMD)
M_Trigger1M_Trigger1
KEY1KEY1
U5
W25Q32
SOIC-8P
CS#1
DO2
WP#3
GND4
DI5CLK6HOLD#7VCC8
3VCC_1
J12
NC
1
DI_DIR2
TICEDAT
3VCC_1
3V input only
SPI0_DI
JP5
NC
12345
M_Trigger1
3VCC_1
3VCC_1
ICE_DAT
ICE_RSTICE_CLK
Power
SPI0_CS#
SPI0_CLKSPI0_DO
DO_DIR1
TICECLKTICERST
SN74LVC2T45DCUR
ICEU1
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
TICE_DAT1
VCC_1
TICE_DAT1
NOTE:
DEBUG的電源可以不用接VCC_1
3VCC_1
SPI FLASH
12
IDLE1 RED(SMD)
12
ICP1 YELLOW(SMD)
12
ICE1 RED(SMD)
C3510uF/10V
12
U17RT9164A 1.8V
IN3
GN
D1
OU
T2
OU
T4
U12AMS1117 3.3V
IN3
GN
D1
OU
T2
OU
T4
RTCK1100K
RTDA1100K
RRSET1100K
L3 FERRITE BEAD
5VCC_1
R14 33
Fail1
BUSY1BUSY1
MCU and USB
L19 FERRITE BEAD
VCC_1
Pass1
R13 33
5VCC_1
R50 NC
R62 100
3VCC_1AVDD1
1.8VCC_1
SN74LVC2T45DCUR
ICEU2
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
Fail1
R63 100
JP3
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
R51 NC
NUC_RST#
3VCC_1
ICE_RST
5VCC_1
R52 NC
L20 FERRITE BEAD
L4 FERRITE BEAD
TICECLK
Reset
3VCC_1
TICERST
SW3
RKSP86-N-A0-00(YELLOW)
A1
B2
B3
A4
R1010K
3VCC_1
KEY1
R11 NC
VCOM_En
ADAVSS
JP4
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
R1210K
CB10.1u RTDA21K
TICEDAT
Link1_VCCLink1_VCC
USBVBUS1
C1810uF/10V
12
Fail1
M_RST# NUC_RST#
TICE_DAT1TICE_RST1TICE_CLK1
L5 FERRITE BEAD
3VCC_1
R64 100
Pass1
TICEDAT
Pass1
R740
VCC_1
IDLE1
ICPLED
ICELED
BUSY1
3VCC_1
Display
C17
1u
TICE_DAT1
12M
_I
DI_
DIR
212M
_O
NU
C_R
ST
#
PVSS
3VCC_1 AVDD1
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
Nu-Link1
A3
3 7Friday , October 28, 2016
C1610uF/10V
12
5VCC
TICE_RST1TICE_RST1
Nu-Link-Gang
Dec. 23, 2019 Page 30 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.4 #2 NuLink Schematic
L8 FERRITE BEAD
SN74LVC2T45DCUR
ICEU4
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
R22 330
R23 330Fail2
Pass2
LED5
RED(DIP)
LED4
GREEN(DIP)
Pass2Fail2
3VCC_2
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
Nu-Link2
A3
4 7Friday , October 28, 2016
SP
I0_D
O
DO_DIR1VCOM_En
UA
RT
_R
XD
_B
UA
RT
_T
XD
_B
ICELEDICPLED
BUSY2IDLE1
M_Trigger2
USB_D-USB_D+
VBUS
SP
I0_D
IS
PI0
_C
LK
SP
I0_C
S#
TICECLKTICERST
DI_
DIR
2
TICEDAT
ICE_CLKICE_DAT
TICERST
12M_O
12M
_O
NU
C_R
ST
#
PVSS
12M
_I
M_RST# NUC_RST#
ICE_RST
NUC_RST#
12M_I
ICE_CLK
SPI0_DI
DI_DIR2
TICEDAT
TICERSTDO_DIR1
TICECLK
SPI0_CS#
SPI0_CLKSPI0_DO
ICE_DAT
ICE_RST
TICE_CLK2TICE_RST2
M_Trigger2
Pass2
Pass2Fail2
TICE_DAT2
VCOM_En
C2110uF/10V
12
RRSET2100K
C20 20p
J4
mini USB 5pin
GND5
NC4
DP3
DM2
VCC1
SHIELD6SHIELD7SHIELD8SHIELD9
JP8
NC
12345
L7 FERRITE BEAD
L6 FERRITE BEAD
RTDA41KJP7
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
C2310uF/10V
12
RTCK2100K
R18 NC
CB30.1u
X4
12MHz
C19 20p
RTDA3100K
C22
1u
CB4
0.1u
R1910K
U6
NUC12SRE3DE
PA0/ADC044PA1/ADC145PA2/ADC246PA3/ADC347PA4/ADC448INT0/PB14
1
CPO1/PB132
CPO0/PB123
VB
US
17
VD
D33
18
D-
19
D+
20
PB
0/R
X0
21
PB
1/T
X0
22
PB
2/R
TS
023
PB
3/C
TS
024
PC
2/S
DI0
026
PC
1/S
PC
LK
027
PC
0/S
S00
28
PC11/SDO1033PC10/SDI1034PC9/SPCLK135PC8/SS1036PA15/PWM337PA14/PWM238PA13/PWM139
X32I4
X32O5
I2C1SCL/PA116
I2C0SDA/PA89
I2C1SDA/PA107
I2C0SCL/PA98
RX1/PB410
TX1/PB511
RTS1/PB612
CTS1/PB713
PC
3/S
DO
00
25
AVSS43
ICE_CK42
ICE_DAT41
PA12/PWM040
LDO14
VSS16 VDD15
AD
C/P
A5
49
AD
C6/P
A6
50
AD
C7/P
A7
51
AV
DD
52
CP
N0/P
C7
53
CP
P0/P
C6
54
CP
N1/P
C15
55
CP
P1/P
C14
56
INT
1/P
B15
57
XT
1_O
ut
58
XT
1_In
59
/RE
SE
T60
VS
S1
61
VD
D1
62
PV
SS
63
ST
AD
C/T
M0/P
B8
64
PE
529
PB
11/T
M3
30
PB
10/S
S01/T
M2
31
PB
9/S
S11/T
M1
32
U7
W25Q32
SOIC-8P
CS#1
DO2
WP#3
GND4
DI5CLK6HOLD#7VCC8
3VCC_2
USBVBUS2
3VCC_2
ADAVSS
3VCC_2 AVDD2
3VCC_23VCC_2
3VCC_2
3VCC_2
3VCC_2
3VCC_2
VCC_2
VCC_2
AVDD2 3VCC_2
ADAVSS
TICE_DAT2
TICE_CLK2TICE_RST2
MCU and USB
M_Trigger2
NuGang top board connectICP Interface
SPI FLASH
NOTE:
DEBUG的電源可以不用接3V input only
Reset
R790
R21 33
KEY2
R1710K
3VCC_2
SW4
RKSP86-N-A0-00(YELLOW)
A1
B2
B3
A4
BUSY2
TICE_RST2R65 100 TICE_CLK2
R67 100
R66 100
TICE_DAT2
R841K
R851K
Link2_VCC
C471u
J13
NC
1
C3610uF/10V
12
C3710uF/10V
12
Power
U18RT9164A 1.8V
IN3
GN
D1
OU
T2
OU
T4
L23 FERRITE BEAD
U13AMS1117 3.3V
IN3
GN
D1
OU
T2
OU
T4
1.8VCC_2
5VCC_2
L24 FERRITE BEAD
5VCC_2
VCC_2
3VCC_2
JP6
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
R750
VCC_2
5VCC
KEY2KEY2
C43 10uF/10V
12
JP22
3 pin DIP (Switch)
123
654
Fail2
BUSY2BUSY2
JP26
NC
123
UART_TXD_BUART_RXD_B
UART_RXD_B
5VCC_2
UART_RXD_BUART_TXD_B
UART_TXD_B
NuLink power for main chip ADC
R20 33
VCC_2
RP2
8P4R-330
1 23 45 67 8
12
BUSY2 GREEN(SMD)
12
IDLE2 RED(SMD)
12
ICE2 RED(SMD)
12
ICP2 YELLOW(SMD)
IDLE1
ICPLED
BUSY2
ICELED
Display
3VCC_2
R54 NCR53 NC
R55 NC
TICERSTTICECLK
TICE_DAT2TICE_RST2TICE_CLK2
TICEDAT
Link2_VCCLink2_VCC
USBVBUS2
SN74LVC2T45DCUR
ICEU3
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
3VCC_2
Nu-Link-Gang
Dec. 23, 2019 Page 31 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.5 #3 NuLink Schematic
R27 33
RP3
8P4R-330
1 23 45 67 8
12
BUSY3 GREEN(SMD)
12
ICP3 YELLOW(SMD)
12
IDLE3 RED(SMD)
12
ICE3 RED(SMD)
ICPLED
ICELED
IDLE1
BUSY3
Display
3VCC_3
SW5
RKSP86-N-A0-00(YELLOW)
A1
B2
B3
A4
3VCC_3
KEY3
R2410K
3VCC_3
BUSY3
Fail3
Link3_VCCLink3_VCC
R30 330
R29 330Pass3
LED7
RED(DIP)
LED6
GREEN(DIP)
Fail3
3VCC_3
UART_TXD_CUART_RXD_C
UART_RXD_CUART_TXD_C
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
Nu-Link3
A3
5 7Friday , October 28, 2016
ICPLED
BUSY3IDLE1
M_Trigger3
VBUS
SP
I0_D
IS
PI0
_C
LK
SP
I0_C
S#
SP
I0_D
O
DO_DIR1VCOM_En
UA
RT
_R
XD
_C
UA
RT
_T
XD
_C
ICELED
USB_D-USB_D+
TICERST
TICECLKTICERST
SN74LVC2T45DCUR
ICEU5
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
PVSS
12M
_I
DI_
DIR
2
TICEDAT
ICE_CLKICE_DAT
12M_I
12M_O
12M
_O
NU
C_R
ST
#
M_RST# NUC_RST#
ICE_RST
NUC_RST#
DI_DIR2
TICEDAT
ICE_DAT
ICE_RSTICE_CLK
SPI0_DI
TICERSTDO_DIR1
TICECLK
SPI0_CS#
SPI0_CLKSPI0_DO
Pass3Fail3
TICE_DAT3
TICE_CLK3TICE_RST3
VCOM_En
M_Trigger3
Pass3
C2610uF/10V
12
RRSET3100K
C25 20p
JP11
NC
12345
L9 FERRITE BEAD
RTDA61K
L10 FERRITE BEAD
JP10
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
RTCK3100K
CB50.1u
C2810uF/10V
12
R25 NC
X5
12MHz
C24 20p
C27
1u
RTDA5100K
CB6
0.1u
R2610K
SN74LVC2T45DCUR
ICEU6
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8USBVBUS3
U8
NUC12SRE3DE
PA0/ADC044PA1/ADC145PA2/ADC246PA3/ADC347PA4/ADC448INT0/PB14
1
CPO1/PB132
CPO0/PB123
VB
US
17
VD
D33
18
D-
19
D+
20
PB
0/R
X0
21
PB
1/T
X0
22
PB
2/R
TS
023
PB
3/C
TS
024
PC
2/S
DI0
026
PC
1/S
PC
LK
027
PC
0/S
S00
28
PC11/SDO1033PC10/SDI1034PC9/SPCLK135PC8/SS1036PA15/PWM337PA14/PWM238PA13/PWM139
X32I4
X32O5
I2C1SCL/PA116
I2C0SDA/PA89
I2C1SDA/PA107
I2C0SCL/PA98
RX1/PB410
TX1/PB511
RTS1/PB612
CTS1/PB713
PC
3/S
DO
00
25
AVSS43
ICE_CK42
ICE_DAT41
PA12/PWM040
LDO14
VSS16 VDD15
AD
C/P
A5
49
AD
C6/P
A6
50
AD
C7/P
A7
51
AV
DD
52
CP
N0/P
C7
53
CP
P0/P
C6
54
CP
N1/P
C15
55
CP
P1/P
C14
56
INT
1/P
B15
57
XT
1_O
ut
58
XT
1_In
59
/RE
SE
T60
VS
S1
61
VD
D1
62
PV
SS
63
ST
AD
C/T
M0/P
B8
64
PE
529
PB
11/T
M3
30
PB
10/S
S01/T
M2
31
PB
9/S
S11/T
M1
32
U9
W25Q32
SOIC-8P
CS#1
DO2
WP#3
GND4
DI5CLK6HOLD#7VCC8
3VCC_3
USBVBUS3
AVDD3
3VCC_3
ADAVSS
3VCC_3
3VCC_3
3VCC_33VCC_3VCC_3
3VCC_3
3VCC_3
3VCC_3
VCC_3
3VCC_3AVDD3
ADAVSS
TICE_RST3
R57 NCR56 NC
TICE_DAT3
TICE_CLK3
R58 NC
NOTE:
DEBUG的電源可以不用接3V input only
Reset
MCU and USB
M_Trigger3
TICERSTTICECLK
NuGang top board connectICP Interface
SPI FLASH
TICE_DAT3TICE_RST3TICE_CLK3
TICEDAT
JP9
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
J5
mini USB 5pin
GND5
NC4
DP3
DM2
VCC1
SHIELD6SHIELD7SHIELD8SHIELD9
Pass3Fail3
C3810uF/10V
12
C3910uF/10V
12
Power
U19RT9164A 1.8V
IN3
GN
D1
OU
T2
OU
T4
U14AMS1117 3.3V
IN3
GN
D1
OU
T2
OU
T4
L26 FERRITE BEAD 1.8VCC_3
5VCC_3
L27 FERRITE BEAD
5VCC_3
3VCC_3
VCC_3
R760
5VCC
L11 FERRITE BEADR800
J14
NC
1
KEY3KEY3
NuLink power for main chip ADC
TICE_CLK3TICE_RST3R69 100
R68 100
R70 100 TICE_DAT3
R871K
R861K
Link3_VCC
C481u
5VCC_3
BUSY3BUSY3
VCC_3
VCC_3
JP23
3 pin DIP (Switch)
123
654
JP27
NC
123
UART_TXD_CUART_RXD_C
R28 33
C44 10uF/10V
12
Nu-Link-Gang
Dec. 23, 2019 Page 32 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.6 #4 NuLink Schematic
VCC_4
BUSY4BUSY4
R881K
R891K
C491u
Link4_VCC
Fail4
5VCC_4
JP24
3 pin DIP (Switch)
123
654
RP4
8P4R-330
1 23 45 67 8
12
IDLE4 RED(SMD)
12
BUSY4 GREEN(SMD)
12
ICE4 RED(SMD)
12
ICP4 YELLOW(SMD)
IDLE1
ICPLED
BUSY4
ICELED
Display
3VCC_4
VCC_4
USBVBUS4
3VCC_4
UART_TXD_DUART_RXD_D
JP28
NC
123
L14 FERRITE BEAD
C45 10uF/10V
12
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
Nu-Link4
A3
6 7Friday , October 28, 2016
VCOM_En
UA
RT
_R
XD
_D
UA
RT
_T
XD
_D
ICELEDICPLED
BUSY4IDLE1
M_Trigger4
USB_D-USB_D+
VBUS
SP
I0_D
IS
PI0
_C
LK
SP
I0_C
S#
SP
I0_D
O
DO_DIR1
TICERST
TICEDAT
ICE_CLKICE_DAT
TICERST
TICECLK
12M_O
12M
_O
NU
C_R
ST
#
PVSS
12M
_I
DI_
DIR
2
M_RST# NUC_RST#
ICE_RST
NUC_RST#
12M_I
SPI0_DI
DI_DIR2
TICEDAT
DO_DIR1
TICECLK
SPI0_CS#
SPI0_CLKSPI0_DO
ICE_DAT
ICE_RSTICE_CLKTICERST
M_Trigger4
Pass4
Pass4Fail4
TICE_DAT4
TICE_CLK4TICE_RST4
VCOM_En
RRSET4100K
C3110uF/10V
12
C30 20p
JP14
NC
12345
L13 FERRITE BEAD
L12 FERRITE BEAD
RTDA81KJP13
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
C3310uF/10V
12
RTCK4100K
R32 NC
CB70.1u
R59 NC
X6
12MHz
R60 NCTICERSTTICECLK
R61 NCTICE_DAT4TICE_RST4TICE_CLK4
TICEDAT
C29 20p
RTDA7100K
C32
1u
CB8
0.1u
R3310K
U10
NUC12SRE3DE
PA0/ADC044PA1/ADC145PA2/ADC246PA3/ADC347PA4/ADC448INT0/PB14
1
CPO1/PB132
CPO0/PB123
VB
US
17
VD
D33
18
D-
19
D+
20
PB
0/R
X0
21
PB
1/T
X0
22
PB
2/R
TS
023
PB
3/C
TS
024
PC
2/S
DI0
026
PC
1/S
PC
LK
027
PC
0/S
S00
28
PC11/SDO1033PC10/SDI1034PC9/SPCLK135PC8/SS1036PA15/PWM337PA14/PWM238PA13/PWM139
X32I4
X32O5
I2C1SCL/PA116
I2C0SDA/PA89
I2C1SDA/PA107
I2C0SCL/PA98
RX1/PB410
TX1/PB511
RTS1/PB612
CTS1/PB713
PC
3/S
DO
00
25
AVSS43
ICE_CK42
ICE_DAT41
PA12/PWM040
LDO14
VSS16 VDD15
AD
C/P
A5
49
AD
C6/P
A6
50
AD
C7/P
A7
51
AV
DD
52
CP
N0/P
C7
53
CP
P0/P
C6
54
CP
N1/P
C15
55
CP
P1/P
C14
56
INT
1/P
B15
57
XT
1_O
ut
58
XT
1_In
59
/RE
SE
T60
VS
S1
61
VD
D1
62
PV
SS
63
ST
AD
C/T
M0/P
B8
64
PE
529
PB
11/T
M3
30
PB
10/S
S01/T
M2
31
PB
9/S
S11/T
M1
32
R37 330
R36 330
U11
W25Q32
SOIC-8P
CS#1
DO2
WP#3
GND4
DI5CLK6HOLD#7VCC8
3VCC_4
ADAVSS
USBVBUS4
3VCC_4 AVDD4
3VCC_4
3VCC_4
3VCC_4
3VCC_4 3VCC_4
VCC_4
VCC_4
3VCC_4
3VCC_4
3VCC_4AVDD4
ADAVSS
TICE_DAT4
TICE_CLK4TICE_RST4
M_Trigger4
ICP Interface
SPI FLASH
NOTE:
DEBUG的電源可以不用接3V input only
ResetMCU and USB
NuGang top board connect
Link4_VCCLink4_VCC
Fail4
Pass4 LED8
GREEN(DIP)
LED9
RED(DIP)
SN74LVC2T45DCUR
ICEU7
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
JP12
ICE_HEADER 5X2 (簡易牛角)
1 23 45 67 89 10
SN74LVC2T45DCUR
ICEU8
SSOP-8
GND4 A23
VCCA1
DIR5
A12
B26B17VCCB8
C4010uF/10V
12
C4110uF/10V
12
Power
U20RT9164A 1.8V
IN3
GN
D1
OU
T2
OU
T4
U15AMS1117 3.3V
IN3
GN
D1
OU
T2
OU
T4
L29 FERRITE BEAD 1.8VCC_4
5VCC_4
L30 FERRITE BEAD
5VCC_4
3VCC_4
VCC_4
5VCC
R770
3VCC_4
SW6
RKSP86-N-A0-00(YELLOW)
A1
B2
B3
A4KEY4
R3110K
3VCC_4
J6
mini USB 5pin
GND5
NC4
DP3
DM2
VCC1
SHIELD6SHIELD7SHIELD8SHIELD9
TICE_CLK4TICE_RST4R72 100
R71 100
R73 100 TICE_DAT4
NuLink power for main chip ADC
KEY4KEY4
BUSY4
J15
NC
1
Pass4Fail4
R810
UART_RXD_DUART_TXD_DUART_RXD_D
UART_TXD_D
R35 33R34 33
Nu-Link-Gang
Dec. 23, 2019 Page 33 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
6.7 LCD Display Schematic
J11
HEADER 10(2.0母座)
12345678910
LCM_LED
SPI0_DO
SPI0_CS#SPI0_CLKSPI0_DI
LCM_DCLCM_RESET LCM_LED
LCM_RESET
LCM_SPI_MISOLCM_SPI_CLK
LCM_DC
LCM_SPI_SS
LCM_SPI_MOSI
VCC33
Tit le
Size Docum ent Num ber Rev
Dat e: Sheet of
<Doc> V1.2
TFT LCD (SPI)
A4
7 7Monday , December 05, 2016
320*240 TFT LCD
S8050
1
Base
3
Collector
Si2301BDS
2
Source
3
Drain
1
Gate2
Emitter
LCM_LED
J10
HEADER 10(2.0母座)
12345678910
LCM_DCLCM_SPI_SSLCM_SPI_MOSILCM_SPI_MISOLCM_VCC_Ctrl
LCM_RESETLCM_SPI_CLK
VCC33
Page_Up
B1
Big Buttom
BULE_BUTTOM
100K 改10K
R3910K
VCC33
Page_Down
B2
Big Buttom
BULE_BUTTOM
R4010K
LCM_VCC_CtrlLCM_VCC_Ctrl
PC6=RESET
PC9=CLKPC15=DCPC8=SSPC11MOSIPC10=MISOPA12=LCD_CtrlPC14=LED
Page_Up
Page_Down
Nu-Link-Gang
Dec. 23, 2019 Page 34 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
7 TROUBLESHOOTING
7.1 Pop-up Warning Message When Programming NUC505 Series
When pop-up warning message shows as Figure 7-1 while programming NUC505 series, please check all four programming units’ IC mode is set to Mode 1 on the Nuvoton NUC505 ICP Gang Adapter and press Reset button. If the warning message still pop-up, please check the NUC505 chip is placed currectly.
Figure 7-1 Pop-up Warning Message
7.2 Nu-Link-Gang Firmware Update
The Jp15 interface is to update the Nu-Link-Gang firmware provided by Nuvoton.
Note: When update the Nu-Link-Gang firmware, please update the programming units firmware to the lastest version as well.
7.3 Programming Unit Firmware Update
It is recommended to update the ICP Programming Tool to the lastest version. Connects the programming unit to ICP Programming Tool as section 3.3.1 and 3.3.2, the ICP Programming Tool will check the programming unit firmware version. The warning message as Figure 7-2 pops up when ICP Programming Tool starts updating programming unit. By following the tips shown by pop-up windows as Figure 7-2 and Figure 7-3, users can update the programming units’ firmware.
Note 1: When update the programming units firmware, please update the Nu-Link-Gang firmware to the lastest version as well.
Note 2: Please update all four programming units firmware to the same version.
Nu-Link-Gang
Dec. 23, 2019 Page 35 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Figure 7-2 Pop-up Warning Message
Figure 7-3 Programming Unit Firmware Update
Nu-Link-Gang
Dec. 23, 2019 Page 36 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
8 REVISION HISTORY
Date Revision Description
2019.12.23 1.00 1. Preliminary version.
Nu-Link-Gang
Dec. 23, 2019 Page 37 of 37 Rev 1.00
NU
-LIN
K-G
AN
G U
SE
R M
AN
UA
L
Important Notice
Nuvoton Products are neither intended nor warranted for usage in systems or equipment, any malfunction or failure of which may cause loss of human life, bodily injury or severe property damage. Such applications are deemed, “Insecure Usage”.
Insecure usage includes, but is not limited to: equipment for surgical implementation, atomic energy control instruments, airplane or spaceship instruments, the control or operation of dynamic, brake or safety systems designed for vehicular use, traffic signal instruments, all types of safety devices, and other applications intended to support or sustain life.
All Insecure Usage shall be made at customer’s risk, and in the event that third parties lay claims to Nuvoton as a result of customer’s Insecure Usage, customer shall indemnify the damages and liabilities thus incurred by Nuvoton.