
M031/M032
Jan 28, 2019
Page
13
of 26
Rev 1.00
NUT
INY
-S
DK
-M
03
1
US
E
R
MA
NU
A
L
Example Program
3.4
This example demonstrates the ease of downloading and debugging an application on a NuTiny-
SDK-M031TC board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton
NuMicro
®
website.
The example file can be found in the directory list shown in Figure 3-2.
Directory
C:\Nuvoton\BSP
Library\M031_Series_BSP_CMSIS_V3.00.000\SampleCode\Template\Keil
Project
File
Figure 3-2 Example Directory
This sample code will show some functions about system manager controller and clock controller.
Start uVision
®
Start debug mode
When using the debugger commands,
you may:
Project
– Open
Open the SYS.uvproj project file
Review variables in the watch
window
Single step through code
Project
– Build
Compile and link the SYS application
Reset the device
Flash
– Download
Program the application code into on-chip
Flash ROM
Run the application