NANO100
Feb. 26, 2018
Page
11
of 18
Rev 1.00
NUT
INY
-S
DK
-N
A
NO
1
00
U
S
E
R
M
A
NUA
L
Example Program
3.4
This example demonstrates the ease of downloading and debugging an application on a NuTiny-
SDK-NANO100 board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton
NuMicro
®
website.
Directory
C:\Nuvoton\BSP Library\
Nano100B_Series_BSP_CMSIS_v3.02.002\SampleCode\StdDriver\SYS_MCLKO\KEIL
Project
File
Figure 3-2 Example Directory
To use this example:
This sample code will change module clock and output from PB.12 pin.
Start μVision
®
Project-Open
Open the SYS.uvproj project file
Project - Build
Compile and link the SYS application
Flash
– Download
Program the application code into on-
chip Flash ROM
Start debug mode
Using the debugger commands, you
may:
Review variables in the watch
window
Single step through code
Reset the device
Run the application