Department of Electrical Engineering, National Taiwan Ocean University NuMicro MCU Learning Board SDK Installation 3/7/2013 Richard Kuo Assistant Professor
Department of Electrical Engineering, National Taiwan Ocean University Outline ► NuMicro Product Flow Chart ► Learning Board Introduction ► Software Installation ► NuMicro SDK ► Run Learning Board Code ► ICP Introduction ► ISP Introduction
Department of Electrical Engineering, National Taiwan Ocean University NuMicro Product Development Flow Code Development NuMirco-SDK IAR EWARM Keil RVMDK Mass Production Customer Target Board USB SWD Nuvoton ICP AP Customer Target Board Nuvoton Gang Programmer SWD Customer Target Board SWD Third Party Writer On-Line In Circuit Programming Off-Line In Circuit Programming IC Programming
Department of Electrical Engineering, National Taiwan Ocean University Software Installation (CD-ROM) Customer CD Readme.txt Development Tools Nu-Link_001 ICP Tool User’s Guide ICP Tool User’s Guide ICE ICP ICE Driver User’s Guide ICE Driver User’s Guide Schematic KEIL Evaluation Keil MDK423 NUC1xx flash tool User’s Guide Keil MDK423 NUC1xx flash tool User’s Guide 1. Keil MDK : mdk450.exe 2. Nu-Link Driver : DocumentsInfo_Nu-Link_Keil_Driver_v zip 3. Nuvoton BSP : DocumentsInfo_NUC100SeriesBSP_v zip
Department of Electrical Engineering, National Taiwan Ocean University Software Development Tools Installation ► mdk450.exe –ARM/Keil provide free IDE tool –Free download from Keil eval downloadKeil eval download ► DocumentsInfo_Nu-Link_Keil_Driver_v z.ip –Nuvoton provide NuLink ICE device driver (NuLink ICE is built-in on Nu-LB- NUC140 learning board) –After installing Keil MDK , unzip and run it to install this NuLink device driver ► DocumentsInfo_NUC100SeriesBSP_v zip –Nuvoton’s Basic Sample Package including device drivers and sample codes –Just unzip it (usually it is put under C:\Nuvoton\) Note: you can autorun CDROM, and select Learning Board Nu-LB-NUC140 to follow the installation steps
Department of Electrical Engineering, National Taiwan Ocean University Step 1. Install Keil uVision4 免費版本支援程式碼大小為 32KB
Department of Electrical Engineering, National Taiwan Ocean University Step 2. Install NuLink ICE device driver Nu-Link ICE 驅動程式最新版本可至 Nuvoton 網頁 下載
Department of Electrical Engineering, National Taiwan Ocean University Step 3. Install Nuvoton driver & sample codes Nuvoton BSP 最新版本可至 Nuvoton 網頁 下載 ► DocumentsInfo_NUC100SeriesBSP_v zip ► Unzip it in C:\nuvoton\
Department of Electrical Engineering, National Taiwan Ocean University SDK CD Auto Installation
Department of Electrical Engineering, National Taiwan Ocean University Learning Board Quick Start Select
Department of Electrical Engineering, National Taiwan Ocean University LB Quick Start Select
Department of Electrical Engineering, National Taiwan Ocean University Install all 3 steps
Department of Electrical Engineering, National Taiwan Ocean University BSP Directory Hierarchy Customer_CD Readme.txt NUC1xx BSP Driver Reference Guide NUC1xx BSP Driver Reference Guide NUC1xx_BSP NuvotonPlatform_Keil NUC1xx-LB_002 Sample Smpl_Start_Kit. uvproj Smpl_Start_Kit Smpl_Start_Kit : beginner’s sample
Department of Electrical Engineering, National Taiwan Ocean University Step 1. connecting Nu-LB-NUC140 to PC
Department of Electrical Engineering, National Taiwan Ocean University Step 2. open project
Department of Electrical Engineering, National Taiwan Ocean University Step 3. select sample project to open
Department of Electrical Engineering, National Taiwan Ocean University Step 4. build project (compile codes) Build Output
Department of Electrical Engineering, National Taiwan Ocean University Step 5. Download binary to MCU & Debug
Department of Electrical Engineering, National Taiwan Ocean University Step 6. Run (F5)
Department of Electrical Engineering, National Taiwan Ocean University ICP & ISP Software Intro Customer CD Readme.txt Development Tools Nu-Link_001 ICP Tool User’s Guide ICP Tool User’s Guide ICE ICP ICE Driver User’s Guide ICE Driver User’s Guide Schematic ISP ISP User’s Guide ISP Tool ISP User’s Guide ISP Tool Binary File AP Binary File LD Binary File AP Binary File LD Binary File ICP AP software: “NuMicro ICP Programming Tools.exe” ISP AP software:
Department of Electrical Engineering, National Taiwan Ocean University ICP (In-Circuit Programming) NuMicro ICP AP NUC140 USB SWD I/F Nu-Link
Department of Electrical Engineering, National Taiwan Ocean University To program ISP firmware code NuMicro ISP firmware code: ISP_LD_CODE.bin Configuration bits setting
Department of Electrical Engineering, National Taiwan Ocean University ISP (In-System Programming) NuMicro ISPAP NUC140 USB Cable USB I/FUART I/F RS232 Cable
Department of Electrical Engineering, National Taiwan Ocean University NuMicro ISP Firmware Flow Chart
Department of Electrical Engineering, National Taiwan Ocean University General Disclaimer The Lecture is strictly used for educational purpose. MAKES NO GUARANTEE OF VALIDITY ► The lecture cannot guarantee the validity of the information found here. The lecture may recently have been changed, vandalized or altered by someone whose opinion does not correspond with the state of knowledge in the relevant fields. Note that most other encyclopedias and reference works also have similar disclaimers.similar disclaimers No formal peer review ► The lecture is not uniformly peer reviewed; while readers may correct errors or engage in casual peer review, they have no legal duty to do so and thus all information read here is without any implied warranty of fitness for any purpose or use whatsoever. Even articles that have been vetted by informal peer review or featured article processes may later have been edited inappropriately, just before you view them.peer reviewfeatured article No contract; limited license ► Please make sure that you understand that the information provided here is being provided freely, and that no kind of agreement or contract is created between you and the owners or users of this site, the owners of the servers upon which it is housed, the individual Wikipedia contributors, any project administrators, sysops or anyone else who is in any way connected with this project or sister projects subject to your claims against them directly. You are being granted a limited license to copy anything from this site; it does not create or imply any contractual or extracontractual liability on the part of Wikipedia or any of its agents, members, organizers or other users. ► There is no agreement or understanding between you and the content provider regarding your use or modification of this information beyond the Creative Commons Attribution-Sharealike 3.0 Unported License (CC-BY-SA) and the GNU Free Documentation License (GFDL);Creative Commons Attribution-Sharealike 3.0 Unported License GNU Free Documentation License
Department of Electrical Engineering, National Taiwan Ocean University General Disclaimer Trademarks ► Any of the trademarks, service marks, collective marks, design rights or similar rights that are mentioned, used or cited in the lectures are the property of their respective owners. Their use here does not imply that you may use them for any purpose other than for the same or a similar informational use as contemplated by the original authors under the CC-BY- SA and GFDL licensing schemes. Unless otherwise stated, we are neither endorsed by nor affiliated with any of the holders of any such rights and as such we cannot grant any rights to use any otherwise protected materials. Your use of any such or similar incorporeal property is at your own risk. Personality rights ► The lecture may portray an identifiable person who is alive or deceased recently. The use of images of living or recently deceased individuals is, in some jurisdictions, restricted by laws pertaining to personality rights, independent from their copyright status. Before using these types of content, please ensure that you have the right to use it under the laws which apply in the circumstances of your intended use. You are solely responsible for ensuring that you do not infringe someone else's personality rights.personality rights