
NuTiny-SDK-M058S User Manual
Aug. 1, 2013
10 of 16
Rev. 1.00
Rev. 1.00
4.4
Smpl_NuTiny-M051 Example Program
The example demonstrates how to download and debug an application on a
NuTiny-SDK-M058S board.
The example can be found in the directory list shown in the following figure.
(Sample code can be downloaded from Nuvoton website).
Directory
Project File
Figure 4-2 Smpl_NuTiny-M051 Example Directory
To use this example:
Start IAR Embedded
Workbench
File-Open-Workspace
Open the Smpl_NuTiny-M051.eww
workspace file
Project - Make
Compile and link the Smpl_NuTiny-
M051 application
Project
– Download and Debug
Program the application code into on-
chip Flash ROM
Single step through code
Reset the device
Run the application
The P3.6 LED on the NuTiny-EVB-M058S board will be toggled on.