Home

For KEIL MDK ARM with ULINK2

image

Contents

1. ei e Fig 34 Step 3 Insert the user command in Run 1 ticking the check box After compile and build the entire project from elf it creates hex file along with the hex file there will be another file with the extension axf This user command is used to convert axf file to bin Here in fig Above project_name axf is converted to project name bin which is used for drag drop programming with the USB boot loader that allows you to enumerate the board as a Mass Storage Device Device Target Output using sen cscs Aa Linker Debug Utilities Run User Programs Before Compilation of a C C File I Run 1 E I Dosis fromelf bin o SL L bin SL L ad V Beep When Complete Start Debugging 22 www ngxtechnologies com User Manual 4 0 Schematic amp Board Layout 4 1 Schematic This manual will be periodically updated but for the latest documentations please check our website for the latest documents The Board schematic and sample code are available after the product has been registered on our website 4 2 Board layout ia CL p i MIE l na be d 23 25 0 T a 7 3 TI C10 J e Fig 36 O Qmm p gt 264 ap ae Esa 2 Wah si TA R19 mm a EE ee CLI a lt lt MW Db nu cl a B C23 7 ii CI an nono Da R29 C3l CIN I eTo mE mm 07 mo s on I nn Cho n I CE 000000000000000000000000
2. To install to this folder press Nest To install to a different folder press Browse and select another folder Kel p isiond Setup Fig 5 Step 5 Fill your Personal information and Click on Next Setup MDK ARM V4 23 pineal SIKEIL Please enter pour information Tools by ARM Please enter pour name the name of the company for whom you work and pour E mail address First Hama Cokpany Name NG Technologies Pwt Ltd abof ngxtechnologies com keil pVision4 Setup _ _ _ ehl lt Back Neto 1 Cancel Fig 6 7 www ngxtechnologies com User Manual LPC1768 Xplorer Step 6 Click on Next Setup MDK ARM V4 23 File installation completed YY KE L Tools by ARM uvision Setup has installed all files successfully Ke Retain current pvision configuration he Add example projects to the recently used project list Preselect Example Projects for Simulated Hardware i fel pvisiond Setup Cancel Fig 7 Step 7 Keil uVision4 23 setup is completed Click on Finish Setup MDK ARM V4 23 lm Keil p ision4 Setup completed YY KE i i MDK ARM 4 23 Tools by ARM Uvision Setup has performed all requested operations successfully Ke Launch Driver Installation ULINK Pro Driver 1 0 W Show Release Notes keil pVision4 Setup Gmn e Fig 8 8 www ngxtechnologies com User Manual LPC1768 Xplorer NA
3. My Documents My Network Places Details O objects O bytes 4 My Computer 4 e Fig 32 4 1 3 Creating the Bin file compatible with Secondary USB bootloader Steps to create bin file that is compatible with the free loader secondary USB bootloader are as follows Step 1 Open the project open the Target options Z F LPC1768 Xplorer Sample_programs LF File Edit View Project Flash Debug Peripherals Tools SVG Window Help Dug aal W A 4 a B setoutReport Bey Startup Code startup_LPC1 fioc s Bey System Code mi systern_LPC1 Tice ce Main o h blinky c l H 2 delay c ig Readme 6 OF lte Build Output Configure target options TODO insert code here LPC GPIOO gt FIODIR TEST LED f Enter an infinite loop just incrementi while i test led Fig 33 Step 2 Change the start address of on chip IROMI memory from 0 to 0x2000 as shown in fig below This is the area where user program is placed and has to run when the controller is reset 21 www ngxtechnologies com User Manual LPC1768 Xplorer Tr Tr rm Device Output Listing User C C Asm Linker Debug Utilities NXP ffounded by Philips LPC1768 Code Generation Xtal MHz 12 0 Operating system None Read Write Memory Areas default off chip Start Size Nolnit Ram E Ram2 of RM3 ff on chip IRAM1 a lt 10000000 08000 n IRAM2 0x2007C000 foxeooo
4. Fig 37 www ngxtechnologies com User Manual LPC1768 Xplorer 5 0 CHANGE HISTORY 5 1 Change History Rev Changes Date By dd mm yy Initial release of the manual 25 06 2012 Veeresh Tumbaragi 24 www ngxtechnologies com User Manual LPC1768 Xplorer TECHNOLOGIES About this document Revision History Version V1 0 author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit is intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and 1s not considered by NGX Technologies Pvt Ltd to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards This evaluation board kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility restricted substances RoHS recycling WEEE FCC CE or UL and therefore may not meet the technical requirements of these directives or other related directives T
5. ULINK2 bag cn de Fig 12 Step 4 The setup is now ready to be used for development with KEIL IDE and ULINK2 10 www ngxtechnologies com User Manual LPC1768 Xplorer NA 2 4 Configuration of ULINK2 Debugger The configuration flow of ULINK2 Debugger 1s explained below Step 1 Open the Keil Workspace then by clicking on the target option the window opens as shown below Next click on Debug and then select the ULINK2 ME Cortex Debugger as shown in the image KJ Options for Target FLASH Use Simulator Limit Speed to Real Time Load Application at Startup Run to main V Load Application at Startup KW Runto main Initialization File Initialization File j ta ta m Restore Debug Session Settings i r Restore Debug Session Settings W_Breakpoints Iv Toolbox V Breakpoints MW Toolbox V Watch Windows amp Performance Analyzer IV Watch Windows V Memory Display M Memory Display CPU DLL Parameter Driver DLL Parameter SARMCM3 DLL MPU SARMCM3 DLL MPU Dialog DLL Parameter Parameter DARMP1 DLL pLPC1768 mu DLL pLPC1768 Fig 13 Step 2 Next Click on the settings option the Cortex M Target Driver Setup window opens then select JTAG port After selection of the JTAG port the ULINK2 detected 1s as shown in the image below K4 Options for Target FLASH Debug Trace Flash Download m ULINK USB JTAG SW Adapter JTAG Device Chain Serial No IVO168AVR v t
6. shown in the below image File Edit View Project Flash Debug Peripherals Tools SVCS Window Help OD mala 1 mmm R amp B setoutReport ES Target 1 Open File Open List File Open Map File Translate File Stop build Build Output Add Group Remove Group Source Group 1 and its Files oh Manage Componerts Show Include File Dependencies Add Files to curre Soe Fig 29 Step 8 Select the file and click on Add as shown in the below image Add Files to Group Source Group 1 m Dei Name Datemadifad Fig 30 Hence building the code will create the Hex file Step 9 To build download and debug follow the steps 5 6 and 7 in section 3 1 19 www ngxtechnologies com User Manual LPC1768 Xplorer TECHNOLOGIES 4 0 LPC1768 Xplorer Programming 4 1 Programming options LPC1768 Xplorer can be programmed using the gt Secondary USB bootloader USB gt Debugger ULINK2 4 1 1 Secondary bootloader USB In order to program the board through USB we need to get the board under programming mode Getting the board in programming mode Theory The secondary bootloader looks for a logic LOW to be present on a pre defined PIN ISP pin during reset If the ISP pin is held LOW and reset signal is provided to the MCU the MCU enters into programming mode Practical On the LPC1768 Xplorer the RESET and ISP signals are connected to buttons provided on the board L
7. 2 3 Setup for ULINK2 and LPC1768 Xplorer Board The Xplorer board has on board 10 pin SWD JTAG box ensure that the ULINK2 ME must havpin SWD JTAG support for development The ULINK2 debugger 20 pin to 10 pin adapter and pin ribbon cable are not a part of the LPC1768 Xplorer package the user needs to buy separately To program debug the KEIL examples you will need the following and the image shows the components ULINK2 ARM JTAG to Cortex JTAG Adapter 20 pin to 10 pin Adaptor 10 pin ribbon cable LPC1768 Xplorer Board One USB AM to Micro B cable Fig 9 Steps to setup the ULINK2 and LPC1768 Xplorer Board Note Please refer keil knowledgebase article for Connecting ULINK2 ME 10 pin ribbon cable to NGX Xplorer Step 1 Connect one end of 10 pin ribbon cable to 20 pin to 10 pin adapter as show in following Image Fig 10 9 www ngxtechnologies com User Manual LPC1768 Xplorer NA Step 2 Connect other end of 10 pin ribbon cable to 10 pin box header of the LPC1768 Xplorer board as shown in the following image GO CU dG UV m Ben ru ww Fig 11 Step 3 Now connect the ULINK2 20 pin cable to 20 pin to 10 pin adapter connect one end of USB AM to Micro B cable to LPC1768 Xplorer board and other end to computer connect one end of USB type B to ULINK2 and other end to computer as shown in the following image aitih i i ak a 83 SJKEIL
8. Flash Debug Peripherals Tools SVCS Window Help ee Dal PRA aj E H B SetoutReport El Kia q LPC17xx Flash LPC17xx RAM 52 LPC17xx Flash LPC GPIOO FIOPIN amp TEST LED ES Source E blinky c delay 20000 ag Startup 3 3 Casi int main void LE system LPC170x c TODO insert code here Enter an infinite loop just incrementing a counter while 1 test led ULINK2 ME Cortex Fig 19 Step 5 Click on Build to build the project as shown in the below image File Edit View Project Flash Debug Peripherals Tools SVCS Window Help RA eRe EA ala setoutrepor om int main void Ea Startup Code Ea System Code g Main 20 E blinky c B1 Readme TODO insert code here LPC_GPIOO gt FIODIR TEST LED f Enter an infinite loop just incremer while i test led Build Output Rebuild all target files Fig 20 14 www ngxtechnologies com User Manual LPC1768 Xplorer Na Step 6 Click on LOAD the executable is loaded into internal flash The program can be run by pressing RESET switch or the program can be debugged from the flash by clicking start stop debug session Click Run F5 to execute from the Flash LED D4 on Xplorer should blink File Edit View Project Flash Debug Dede aal el Se GD LPC17 0 Flash o LPC Flash E Source E blinky c Startup startup LP Cs A Common H E system_LPC17xx c Peripherals
9. MA USB 2 0 full speed Device controller and Host OTG controller with DMA CAN 2 06 with two channels Four UARTs one with full Modem interface Three 2C serial interfaces Three SPI SSP serial interfaces 25 interface General purpose 140 pins 12 bit ADC with 8 channels 10bit DAC Four 32 bit Timers with capture compare Standard PWM Timer block System Tick Timer Repetitive Intemupt Timer Brown out detect circuit Power On Reset Power Management Unit Wakeup Intemupt Controller Crystal oscillator 4MHz intemal RC oscillator PLL 4 lr j 17 www ngxtechnologies com User Manual LPC1768 Xplorer Step 5 Go to file new amp start writing the code do Cao Ctrl S Print Setup Print Ctrl F Print Preview 1 blinky 2 blinky 3 memory 4 F BlueBoard LPC11U24 sd 5 LPC11U24 spi 6 BB LPC11U24_main 7 glcd platform Ipcl1U24 Step 6 Save the file with some name Save As ne _ SE gpz csi x 5 an Organize v New folder Traw Name w Favorites RI Desktop _ blinky plg 25 la Downloads blinky uvgui NGX12 21 S Recent Places blinky uvopt 21 blinky 25 Libraries blinky_Target 1 dep 25 asm startup_LPC17xx 17 28 Homegroup il Computer L OSICA Save as type All Files Fig 28 18 www ngxtechnologies com User Manual LPC1768 Xplorer Step 7 Add the file to the source group as
10. Tools SVG Window Help se jE 1 8 SetOutReport Description Input Output Note z E tE E E E o a E a E o E E a E E E E o E tt ttt ttt ttt ttt ttt tet f void test led void int j LPC GPIOO gt FIODIR TEST LED for j 075 lt 5745 i GB UFR DE ULINK2 I Te Fig 21 Step 7 To debug the code click on Debug option then click on Start Stop Debug session as shown in the below image Press F5 to free run or press F10 to line by line debug sonni ples VI LPC1768 Xplorer E 05 Edit View Project Flash Debug Peripherals Tools SVCS Window Help tri F5 Z dl SetOutRepor SS ll Run Fs poctimer c ees Stop tttt tt ttt et ia dani are Step F11 H System Co oe 3 Main Step Over F10 P blinky c Step Out Ctrl F11 Ea Readme Run to Cursor Line Ctrl F10 Show Next Statement N TEST LED Breakpoints Ctrl B Insert Remove Breakpoint Fo amp TEST LED Enable Disable Breakpoint Ctri F9 ees Pe PA Z EE Pr Ge fhe Te Disable All Breakpoints 7 Kill All Breakpoints Ctrl Shitt Fo Build Qutput a E OS Support Li m Execution Frofiling a is 4 t Enter or leave a debug session 15 Memory Map Fig 22 www ngxtechnologies com User Manual LPC1768 Xplorer 3 2 Creating New project Follow the below steps for creating new project Step 1 Open the keil IDE Troubleshoot compatibility Open file location To
11. User Manual LPC1768 Xplorer LPC1768 Xplorer 0000000000000000 00000000000000000 ra ne Pe Ch aya 2 ut lt 4 A LLLLLLLLL LL PTT o di aa A salici n li f gt d a n IALIA III od ALN anale 13 RLA i i Fig 1 1 www ngxtechnologies com User Manual LPC1768 Xplorer TECHNOLOGIES About NGX Technologies NGX Technologies is a premier supplier of development tools for the ARM7 ARM Cortex MO M3 and M4 series of microcontrollers NGX provides innovative and cost effective design solutions for embedded systems We specialize in ARM MCU portfolio which includes ARM7 Cortex MO M3 amp M4 microcontrollers Our experience with developing evaluation platforms for NXP controller enables us to provide solutions with shortened development time thereby ensuring reduced time to market and lower development costs for our customers Our cost effective and feature rich development tool offering serves as a testimony for our expertise cost effectiveness and quality Contact Information NGX Technologies Pvt Ltd No 216 5th main Road R P C Layout Vijayanagar 2nd Stage Bangalore 560 104 Phone 91 80 40925507 email sales ngxtechnologies com 2 www ngxtechnologies com User Manual LPC1768 Xplorer TECHNOLOGIES Table of Contents KOINTRODUCEON n 4 2 0 LPC1768 Xplorer Development Tool Setup on 5 ani MOP and Duo O one ee Rea AO UBno Ren Nasa aan naat 5 2 2 I
12. X12 bak 20 04 2012 12 24 BAK File Libraries _ Blinky uvopt 20 04 2012 12 44 UVOPT File Bi Documents w Blin 19 04 2012 19 15 pVision4 Project bal J a Music _ Blinky_LPC17xx Flash dep 20 04 2012 12 44 DEP File Pictures _ Blinky uvopt bak 20 04 2012 12 24 BAK File Subversion _ Blinky uvproj bak 30 12 2011 10 50 BAK File F Videos 7 4 el t i Blinky Date modified 19 04 2012 19 13 Date created 19 04 2012 18 30 Va HVisiond Project Size 33 2 KB Fig 17 File Edit View Project Flash Debug Peripherals Tools SVG Help Dee aa n n EE B setoutReport i BE pare RAM Mala a E A LPC RAM Source Note EE EEEE EEEE EEEE E E E E a E E E E E E E E E E E E E E E E E E E E E E E vold test ledivoid Se Common H E systerm_LPC17xx c int j LPC GPIOO gt FIODIR TEST LED for 3 075 lt 5 j LPC GPIOO gt FIOPIN TEST LED delay 20000 LPC GPIOO gt FIOPIN amp TEST LED delay 20000 E Pr 13 www ngxtechnologies com User Manual LPC1768 Xplorer Na If you are using ulink2 debugger click Debug on menu bar then click on start stop debug session click Run F5 to execute from the Internal RAM LED s D4 on Xplorer should blink Steps to execute the sample project in Internal Flash Step 4 Select LPC17xx Flash option as shown in the below image FALPC1768 Xplorer Sample code LPC1768 Xplorer LPC1768_Xplorer_Blinky Keil Blinky uvproj pVision4 File Edit View Project
13. a IR len ULINK Version JULINK2 i LIO cessa ARM Cosor METE Device Family Cortex M Firmware Version V142 M SWJ Pc TLP 1 Max Clock 1MHz Debug Cc amp Reset Onti Connect Normal Reset Autodetect 9 Reset after Connect J Stop after Bootloader Download to Flash Fig 14 Note The Cortex M3 can be programed using SW or JTAG 11 www ngxtechnologies com User Manual LPC1768 Xplorer NA 2 4 Configuring Internal Flash Step l Open the Keil Workspace then by clicking on the target option the widow opens as shown below click on Utilities and select ULINK2 ME Cortex Debugger K4 Options for Target FLASH Device Target Output Listing User C C Asm Linker Debug Configure Hash Menu Command Use Target Driver for Flash Programming 4 ULINK2 ME Cortex Debugger Settings V Update Target before Debugging ess rr tt Use Extemal Tool for Aash Programming I Pun Independent Fig 15 Step 2 Now Click on Settings then in Cortex M Target Driver setup click add and select FLASH on LPC17xx Flash programing algorithm and click add Device Target Output Listing User C C Asm Linker Debug Utilities Configure Fash Menu Command Use Target Driver for Flash Programming JULINK2 ME Cortex Debugger f Settings Ik Update Target before Debugging Cortex M Target Driver Setup Debug Trace Flash Download Download Function Luap C Ese Full C
14. he user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies NGX Technologies from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES NGX Technologies currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive NGX Technologies assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages No license is granted under any patent right or other intellectual property right of NGX Technologies covering or relating to any machine process or combination in which such NGX Technologies products or services might be or are used 25 www ngxtechnologies com User Manual LPC1768 Xplorer NA TECHNOLOGIES Disclaimers Information in this document is believed to be reliable and accurate Howeve
15. hp v Program LPC122IAP 64kB Flash Erase Sectors V Verify LPC11ov 13o IAP 8kB Flash On chip Flash Donot Erase Reset and Run LPC122 IAP 20kB Flash On chip Flash LPC122 IAP 96kB Flash On chip Flash LPC1 7x IAP 128kB Flash On chip Flash LPC1 7x IAP 256kB Flash On chip Flash LPC 17x IAP 32kB Flash On chip Flash LPC1 fox IAP 512kB Flash On chip Flash LPC 17x IAP 64kB Flash On chip Flash M29WI160ET LPC18004 Ext Flash 16 bit MESBF500 256kB Flash On chip Flash MBSxFiocl 64kB Flash On chip Flash MES Fo2 128kB Flash On chip Flash MESFod 256kB Flash On chip Flash MBSxFio5 384kB Flash On chip Flash MESFoc6 512kB Flash On chip Flash Fig 16 Click OK to complete the ULINK2 Debugger configuration 12 www ngxtechnologies com User Manual LPC1768 Xplorer NA 3 0 LPC1768 Xplorer Software Development 3 1 Executing the sample projects in KEIL Please note that the sample programs are available once the product 1s registered Steps to execute the sample project Step 1 Open the project folder Step 2 Then open the file project name uvproj Example Blinky uvproj ii Gli LPC1768 Xplorer Blinky Keil 5 Search Keil Organize Open Burn New folder Gill 7 sir Favorites Name Date modified Type MI Desktop Uh Let 19 04 2012 18 34 File folder l Downloads F J Obj 20 04 2012 12 24 File folder i Recent Places Blinky uvgui NGX12 20 04 2012 12 44 NGX12 File _ Blinky uvgui NG
16. is SETUP program installs MDK ARM Y4 23 This SETUP program may be used to update a previous product installation However you should make a backup copy before proceeding It ig recommended that you exit all Windows programs before continuing with SETUP Follow the instructions to complete the product installation Kel p isiond Setup Fig 3 Step 3 Select Terms amp conditions check box and click on Next Setup MDK ARM V4 22 License Agreement YY KE T Please read the following license agreement carefully Tools by ARM To continue with SETUP you must accept the terms of the License Agreement To accept the agreement click the check box below END USER LICENCE AGREEMENT FOR MDK ARM THIS END USER LICENCE AGREEMENT LICENCE IS A LEGAL AGREEMENT BETWEEN YOU EITHER A SINGLE INDIVIDUAL OR SINGLE LEGAL ENTITY AND ARM LIMITED CARM FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE ARM IS ONLY WILLING TO LICENSE THE SOFTWARE TO YOU ON CONDITION THAT YOU ACCEPT ALL OF THE TERMS IN THIS LICENCE BY CLICKING AGREE OR BY INSTALLING OR OTHERWISE USING OR COPYING el pVisiond Setup Back ew gt RN Fig 4 6 www nextechnologies com User Manual LPC1768 Xplorer Step 4 Provide the destination path and Click on Next Setup MDK ARM V4 Folder Selection SIKEIL Select the folder where SETUP wall install files Tools by ARM SETUP will install pvisiond in the following folder
17. k Start Guide Click here For the most updated information on the LPC 1768 Xplorer board please refer to NGX website 4 www ngxtechnologies com User Manual LPC1768 Xplorer NA 2 0 LPC1768 Xplorer Development Tool Setup 2 1 IDE and debugger As mentioned in the earlier section NGX s MCU evaluation platforms are not coupled tightly with any one particular combination of IDE and debugger The following sections will explain the setup for KEIL and ULINK2 as the IDE and debugger respectively 2 2 Installation amp Configuration of KEIL software The Installation of KEIL software is explained below Step 1 Open the KEIL setup ica Computer New Volume E AA Organize Open Burn New folder sr Favorites ME Desktop Il m Downloads Open NonTechni Technical MDK ry Run as administrator E Recent Places cal Troubleshoot compatibility Libraries T Zip j E Documents Ml Select Left File for Compare a Music TortoiseSVN Pictures E Videos Add to archive SS Addto MDKA423 rar jE Computer Compress and email amp OS C Compress to MDK423 rar and email DVD RW Drive D N Pin to Taskbar cca New Volume F Pin to Start Menu Restore previous versions Si Networ _ la Send to Cut Fig 2 5 www ngxtechnologies com User Manual LPC1768 Xplorer Step 2 Click on Next Setup MDK ARM V4 2 Welcome to Keil pYizion KE L Release 12 2011 Tools by ARM Th
18. nstallation amp Configuration of KEIL software ooo aa d 2 3 Setup for ULINK2 and LPC1768 Xplorer Board aa 9 24 Configuration of ULINK Debu see seen naga Dena ada 11 24 C onn utan Inten Pa oo aa Na ana 12 3 0 LPC1768 Xplorer Software Development 13 Sal Executing the sample projects in REI 13 SIZE NA pro eh Mn Ma ate aa 16 AO LPCI768 Xplorer bro Or MNS ee sun ea na means oa Ra aan 20 AA PO MAT MSO LIO 20 Als secondary boorloader USB iii iniezioni BARA piero 20 4 4 2Floshim gt ine board Us USB aan gm oa las 20 4 1 3 Creating the Bin file compatible with Secondary USB bootloader ZA 4 0 Schematic amp Boatd Layouts rio sisi pinna nica E aida imitando 23 Pb SIM 23 42 RI FRA 23 IOCAN OE HD TOR err era A EAR E EE EEE E O EE E R 24 ig AE O a E E E E em no O Naser Rena 24 3 www ngxtechnologies com User Manual LPC1768 Xplorer TECHNOLOGIES 1 0 INTRODUCTION This document 1s the User Manual for the LPC 1768 Xplorer a low cost ARM Cortex M3 based board by NGX Technologies This document reflects its contents which include system setup debugging and software components This document provides detailed information on the overall design and usage of the board from a systems perspective Before proceeding further please refer the quick start guide for LPC 1768 Xplorer features and hardware verification For LPC1768 Xplorer Quic
19. ook for the RESET and ISP marking on the board Therefore to enter into programming mode A Press and hold the ISP button A Press the RESET button and release it A Now release the ISP button A The board is in the programming mode Programming through USB is the most convenient way to program the LPC1768 Xplorer The USB bootloader makes programming the board very simple You don t require any PC application to program using USB bootloader Once the board enters the programming mode it appears as a drive on your Windows machine and all you need to do 1s just drag n drop your binary to this drive 4 1 2 Flashing the board using USB The pre build binaries can be used to flashing onto to the board for each peripheral by using the USB bootloader as a Mass storage device After loading the USB bootloader firmware to the LPC1768 Xplorer board Press ISP then RESET release RESET then ISP the mass storage device will appear on your screen On the board LED D3 glows Remove firmware bin file and then place your bin file and then press reset switch to execute the specific code written on to the flash __Be oKe amy computer 2 Fig 31 20 www ngxtechnologies com User Manual LPC1768 Xplorer Flashing the bin file Drag amp drop TDA ZE File Edit Yiew Favorites Tools Help Ax Ca Back gt v wi po Search Wo Folders En Address e D Go File and Folder Tasks Other Places a vr 18 My Computer
20. r NGX Technologies does not give any representations or warranties expressed or implied as to the completeness or accuracy of such information and shall have no liability for the conseguences of use of such information NGX Technologies reserves the right to make changes to information published in this document at any time and without notice including without limitation specifications and product descriptions This document replaces and supersedes all information supplied prior to the publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners 26 www ngxtechnologies com
21. rtosesVN Fun as administrator I ip Add to archive Add to Uv4 rar Compress and email Fig 23 Step 2 Click on to the Project tab new uvision project MH Vision Ca x File Edit View E Project Flash Debug Peripherals Tools SVCS Window Help New Multi Froject Workspace Open Project Project Close Project Export Manage Select Device for Target Remove Item pas Options Clean target kzl Build target E Rebuild all target files Build Output Batch Build Fig 24 16 www nextechnologies com User Manual LPC1768 Xplorer Step 3 Give project name then click Save Create New Project r neve e Organize Mew folder wr Favorites Name Desktop la Downloads Recent Places No items match your search Libraries ad Homegroup glia Computer L os ci Save as type Project Files uvproj w Hide Folders Step 4 Select the controller CPU Vendor NXP founded by Philips Device LPC1768 Toolset ARM Data base ARM 32 bit Cortex M3 Microcontroller with MPU CPU clock up to 100MH 512kB on chip Hash ROM with enhanced Hash Memory Accelerator Ta In System Programming ISP and In Application Programming LAP 64kB RAM Nested Vectored Intemupt Controller Eight channel General purpose DMA controller AHB Matrix APB Ethemet 10 100 MAC with RAMII interface and dedicated D

Download Pdf Manuals

image

Related Search

Related Contents

groom master sand trap rake  Ficha técnica  ATEX 05 11  Formalités d`adhésion mode d`emploi  取扱説明書  PDF herunterladen    Haier HDE03WNA User's Manual  

Copyright © All rights reserved.
Failed to retrieve file