03 - Nano100 Tool Installation
03 - Nano100 Tool Installation
2013/02/27
Agenda
• Disc Content Introduction
• Software Installation
• Learning Board Introduction
• Run Learning Board Code
• NuMicro Product Flow Chart
• Tools
1
Disc Content Introduction
2
Software Installation
IRDA
INT1
Touch Key
LCD
7 Segment 7
Slider
Line I/O Mic
Learning Board Introduction – (2)
Smart Card
SD Card
Nano100
LQFP48
8
Learning Board Introduction – (3)
Block Pin Function
Nu-Link-Me ICE_CLK SWD interface
ICE Bridge ICE_DATA
USB_VBUS Power Supply
USB_VDD33_CAP Internal Power Regulator
USB
USB_D- USB Differential Signal D-
USB_D+ USB Differential Signal D+
GPE2 SP1_CLK
GPE6 SD_PWR_ON
SD Card GPE14 SD_CTL
GPE15 SD_INT
nINT0 SD_CD
GPD0 SC1_CLK
GPD1 SC1_DAT
Smart Card GPD2 SC1_PWR
GPD3 SC1_RST
GPD4 SC1_PRES
9
Learning Board Introduction – (4)
Block Pin Function
GPE2 SPI0_CLK
GPE1 SPISS00
GPE3 SPIMISO00
GPE4 SPIMOSI00
Flash
GPB2 SPI1CLK
GPB3 SPISS10
GPB0 SPIMOSI10
GPB1 SPIMISO10
GPA8 I2C0_SDA
GPA9 I2C0_SCL
GPE0 I2S_MCLK
GPD2 I2S_LRC
WAU8822
GPD3 I2S_BCLK
GPD5 I2S_DACDATA
GPD4 I2S_ADCDATA
GPA12 Plug in/out detection
10
Learning Board Introduction – (5)
Block Pin Function
GPA14 UART0_RXD
UART
GPA15 UART0_TXD
GPB4 UART1_RXD
LIN
GPB5 UART1_TXD
Thermistor GPA0 ADC0
Variable Resistance GPA1 ADC1
BAT_VD GPA4 ADC4
GPF4 CTK6
Touch Key
GPF5 CTK7
GPA13 CTK11
GPC8 CTK12
Slider GPC9 CTK13
GPC10 CTK14
GPC11 CTK15
11
Learning Board Introduction – (6)
12
Jumper Setting – (1)
Function Selection :
1-2 : SC1_PRES
2-3 : I2S_DIN
JP1
14
Jumper Setting – (2)
J3
J6
15
Jumper Setting – (3)
J8
J10
16
Run “START_KIT” Code
NuMicro NANO100B
NANO100BSeriesBSP_CMSIS_V1.00.005 Document Driver Reference Guide
Sample
Nu_LB
START_KIT
KEIL START_KIT.uvproj
17
Step 1. Setup Nu-LB-Nano100
18
Step 2. Double Click to enter the project
Project Path :
C:\Nuvoton\BSPLibrary\NANO100BSeries
BSP_CMSIS_V1.00.005\Samples\Nu_LB\S
TART_KIT\KEIL
19
Step 3. Build the Project
Rebuild
Build Output
Window
20
Step 4. To Download & Enter Debug
21
Step 5. Press or “F5” to run the code
Disassembly
Run (F5)
Window
22
NuMicro Product Flow Chart
On-Line In Circuit Programming
Customer Nuvoton
Target Board
USB ICP AP
SWD
In System
NuMirco-SDK Off-Line In Circuit Programming Programming
Keil RVMDK
Customer
Target Board Nuvoton
SWD ISP AP
Customer IC Programming
Target Board Nuvoton
SWD USB
Gang Programmer USB, UART
or others
24
Tools
• NuMicro ISP Programming Tool
• NuMicro ICP Programming Tool
• NuGang Programmer
• Nu-Link
• Nu-Link-Me
• Nu-Link
• Nu-Link-Pro
25
ICP (In Circuit Programming)
NuMicro ISP AP
USB
Nu-Link
SWD I/F
Nano130KE3BN
26
Program The NuMicro ISP Firmware Code
Configuration
NuMicro ISP AP
Nano130KE3BN
28
NuGang Programmer - Feature
• 4-chip gang programming
• 128 k flash size only needs 10 sec.
• Easy off-line copying operation
• On-line downloading: by engineer
• Off-line copying operation: for production line’s operator
• Good data security
• No source-chip copying
• Code data downloaded in the programmer are well
encrypted
• Different adapter boards for different chip packages
29
NuGang Programmer
#1 #2 #3 #4
Adapter PASS/FAIL
Board LEDs
Main
Board
DC9V
USB Connector LCD Panel Ready / Busy Power Input
LED DC9V
Buzzer Auto Key
Power Switch
30
Nu-Link
31
Run “Semihost” Code
NuMicro NANO100B
NANO100BSeriesBSP_CMSIS_V1.00.005 Document Driver Reference Guide
Sample
Nu_LB
START_KIT
KEIL START_KIT.uvproj
33
SemiHost – (1)
34
SemiHost – (2)
36