Nu Micro MCU Learning Board SDK Installation Department
Nu. Micro MCU Learning Board SDK Installation Department of Electrical Engineering, National Taiwan Ocean University 3/7/2013 Richard Kuo Assistant Professor www. ee. ntou. edu. tw
Outline Department of Electrical Engineering, National Taiwan Ocean University ► ► ► ► Nu. Micro Product Flow Chart Learning Board Introduction Software Installation Nu. Micro SDK Run Learning Board Code ICP Introduction ISP Introduction www. ee. ntou. edu. tw
Nu. Micro Product Development Flow Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw On-Line In Circuit Programming Customer Target Board Nuvoton ICP AP SWD Nu. Mirco-SDK Keil RVMDK Off-Line In Circuit Programming Customer Target Board SWD IC Programming USB IAR EWARM Code Development Nuvoton Gang Programmer Third Party Writer Mass Production
Software Installation (CD-ROM) Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw Readme. txt Customer CD Keil MDK 423 NUC 1 xx flash tool User’s Guide KEIL Evaluation Development Tools Schematic Nu-Link_001 ICE Driver User’s Guide ICP Tool User’s Guide 1. Keil MDK : mdk 450. exe 2. Nu-Link Driver : Documents. Info_Nu-Link_Keil_Driver_v 1. 19. 5786. zip 3. Nuvoton BSP : Documents. Info_NUC 100 Series. BSP_v 1. 05. 003. zip
Software Development Tools Installation Department of Electrical Engineering, National Taiwan Ocean University ► www. ee. ntou. edu. tw mdk 450. exe – ARM/Keil provide free IDE tool – Free download from Keil eval download ► Documents. Info_Nu-Link_Keil_Driver_v 1. 19. 5786 z. ip – Nuvoton provide Nu. Link ICE device driver (Nu. Link ICE is built-in on Nu-LBNUC 140 learning board) – After installing Keil MDK,unzip and run it to install this Nu. Link device driver ► Documents. Info_NUC 100 Series. BSP_v 1. 05. 003. 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-NUC 140 to follow the installation steps
Step 1. Install Keil u. Vision 4 Department of Electrical Engineering, National Taiwan Ocean University 免費版本支援程式碼大小為 32 KB www. ee. ntou. edu. tw
Step 2. Install Nu. Link ICE device driver Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw Nu-Link ICE 驅動程式最新版本可至 Nuvoton 網頁 www. nuvoton. com下載
Step 3. Install Nuvoton driver & sample codes Department of Electrical Engineering, National Taiwan Ocean University Documents. Info_NUC 100 Series. BSP_v 1. 05. 002. zip ► Unzip it in C: nuvoton ► Nuvoton BSP最新版本可至 Nuvoton 網頁 www. nuvoton. com 下載 www. ee. ntou. edu. tw
SDK CD Auto Installation Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
Learning Board Quick Start Department of Electrical Engineering, National Taiwan Ocean University Select www. ee. ntou. edu. tw
LB Quick Start Department of Electrical Engineering, National Taiwan Ocean University Select www. ee. ntou. edu. tw
Install 3 steps Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
BSP Directory Hierarchy Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw Readme. txt Customer_CD NUC 1 xx BSP Driver Reference Guide NUC 1 xx_BSP Nuvoton. Platform_Keil Sample NUC 1 xx-LB_002 Smpl_Start_Kit : beginner’s sample Smpl_Start_Kit. uvproj
Step 1. connecting Nu-LB-NUC 140 to PC Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
Step 2. open project Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
Step 3. select sample project to open Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
Step 4. build project (compile codes) Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw Build Output
Step 5. Download binary to MCU & Debug Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
Step 6. Run (F 5) Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
ICP & ISP Software Intro Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw Readme. txt Customer CD Development Tools ISP Binary File Schematic Nu-Link_001 ICE Driver User’s Guide ICP Tool User’s Guide ISP Tool AP Binary File LD Binary File ICP AP software: “Nu. Micro ICP Programming Tools. exe” ISP AP software:
ICP (In-Circuit Programming) Department of Electrical Engineering, National Taiwan Ocean University Nu. Micro ICP AP USB Nu-Link SWD I/F NUC 140 www. ee. ntou. edu. tw
To program ISP firmware code Department of Electrical Engineering, National Taiwan Ocean University Configuration bits setting www. ee. ntou. edu. tw Nu. Micro ISP firmware code: ISP_LD_CODE. bin
ISP (In-System Programming) Department of Electrical Engineering, National Taiwan Ocean University Nu. Micro ISPAP RS 232 Cable USB Cable UART I/F USB I/F NUC 140 www. ee. ntou. edu. tw
Nu. Micro ISP Firmware Flow Chart Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw
General Disclaimer Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw 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. 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. 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 (CCBY-SA) and the GNU Free Documentation License (GFDL);
General Disclaimer Department of Electrical Engineering, National Taiwan Ocean University www. ee. ntou. edu. tw 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.
- Slides: 26