Home

LPC1768-Xplorer

image

Contents

1. EZES El Console 2 b D Memory Wl Red Trace Tae C Build CMSISv1p30_LPC17ia 2 fS Ga amp J lt l make Nothing to be done for all R LS 55 Downloaded 24576 bytes LPC1 68 Fig 41 The same way we can flash the any bin file to the target board 25 www ngxtechnologies com User Manual LPC1768 Xplorer pz v Va 6 0 Schematic amp Board Layout 6 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 6 2 Board layout SPALL Kinna 4 HPT 8 8 85 rad iiil Ul i W E 7 R itl e 3 T RL K C T Y yk foo NESET Fig 42 O Quma pe i i d SALL La o See d TA a9 om on BR ga 0mmo o ow BR Gi lt T BR C23 7 ai 32 un onan R29 OL mm mm o gt e Ni y L Bs ba 2 Fig 43 26 www nextechnologies com User Manual LPC1768 Xplorer pz t 7 0 CHANGE HISTORY 7 1 Change History Rev Changes DE Are By dd mm yy Initial release of the manual 25 06 2012 Veeresh Tumbaragi 27 www nextechnologies com User Manual LPC1768 Xplorer PN Z oe NI TECHNOLOGIES About this document Revision History Version V1 0 author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt
2. Step 13 Write a C program for LED blinky after the program Click on Save as shown in below image Note Writing a C code for Blinky project Please refer Downloaded LPC1768 Xplorer_led_blinky example A Develop Blinky sre POT coq x File Edit Source Refactor Navigate Search Run Project Window Help Ti Q law gers bi 9 ai FE K Develop Be R Ty wey i ei oe S l Save Al gt aD 2 Y SE G FN 2 1000 C 7 S 55 A oo Core Perip 4 Welcome L maine s M 5 b gt Includes 7 a 3 src b i cr_startup_lpec176x c gt main c int main void 77 TODO insert code here b peng E 54 LPC_GPIOO gt FIODIR TEST_LED p Z CMSISv1 p30_LPC17xx 55 f f Enter an infinite loop just incrementing a 4 S HT while 1 L Start here d Lest led ej New project Import project s Build all projects na E console a E Memory Red Trace Preview j g Clean C Build Blinky Le 0 items selected LPC1 68 Fig 27 Step 14 To include LPC17xx h file in your project right click on your Project and click on Properties Mowe Rename F2 Window Help gg Import ts I ni 9 Export by xpo SS F amp A Be Build Project Clean Project i ig n Froje ISC Welcome LG main c 3 _ S Refresh E l Close Project Close Unrelated Projects Main void Build Configurations Make Targets f TODO insert code here Imie LPC GPIOO gt FIODIR TEST LED Enter an in
3. Fig 2 Steps to setup the LPC Link and LPC1768 Xplorer Board Note Please refer keil knowledgebase article for connecting 10 pin ribbon cable to NGX Xplorer Step 1 Connect one end of 10 pin ribbon cable to LPCLink 10 pin connector the 10 pin ribbon cable 5 www ngxtechnologies com User Manual LPC1768 Xplorer S vs LS xa i SEAN LA header notch should facing towards the NXP LPCLink Mark as shown in the following image Header Notch LPCLink Mark Fig 3 10 pin Cable u III ILA Idilio TTT oOo Roe Bn NXP LPCLink Fig 4 Step 2 Connect other end of 10 pin ribbon cable to 10 pin box header of the LPC1768 Xplorer board and 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 mini B to LPC Link and other end to computer Fig 5 Step 4 The setup is now ready to be used for development with LPCXpresso and NXP LPCLink 6 www nextechnologies com User Manual LPC1768 Xplorer S vs LS xa SE 3 0 LPC1768 Xplorer firmware Development 3 1 Executing the sample projects in LPC Xpresso Please note that the sample programs are available once the product is registered Steps to execute the sample project 1 Open LPCXpresso Browse the folder which contains LPC1768_Xplorer_LPCXpresso zip project and Click Ok Select a workspace LPCApresso stores your projects in a folder called a workspace Choose a worksp
4. User Manual LPC1768 Xplorer File Edit Navigate Search Run Project Window Help t Heela gels e em m SOHO Gs iA S BH amp B eA S S c N c timer_utilitis c 9 Welcome H N 75 E g 275 lpcxpresso pages registered htm ks H LPCXpresso4 is fully activated E Start here Welcome to LPCXpresso 4 The software is now fully activated and c gi New project generate and download applications containing up to 128KB of code ir p UI Import project s Build all projects Debug amp Build Blinky Debug UR Z Blinky Blinky No consoles to display at this time Fig 25 Step 12 After double click the main c file will open in LPCXpresso as shown in below image File Edit Source Refactor Navigate Search Run Project Window Help 3 lt SIS S 0 ded amp B ef ny E happa A E 8 amp B a er PS Project Exp 52 Hi Core Regist Peripherals 4 Welcome ec maine 3 gt 27 int main void Blinky inl Includes amp src f f Enter an infinite loop just incren 0 cr_startup_Ipcl76x c volatile static int i 0 L main c while 1 t p a a i Z f f TODO insert code here return 0 8 Import project s Biki al prek Peer Mo les to display at this time a Build Blinky Debug conso o display is time Writable smart Insert 8 23 NAP LPC1768 Fig 26 17 www ngxtechnologies com User Manual LPC1768 Xplorer
5. ee SS LPC1768 Xplorer_LPCXpresso 06 07 2012 11 1 2 Libraries v Homegroup jM Computer amp 0s C ca New Volume F cog New Volume G File name Fig 8 4 Click Finish iE Import archived projects zip n ON T A lel msn Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Select archive file C Users Nagaraj Desktop Veeresh LPC176 amp Projects CMSISv2p00_LPC1 fix CMSISv2p00_LPC1 no LPC1768_Aplorer_All_peripheral_test LPC1768_Xplorer_All_ E LPC1 68_Aplorer_Blinky LPC1 68_Aplorer_Blinky LPC1 68_Xplorer_ethernet LPC1768_Xplorer_ethernet LPC1768_XAplorer_i2c_eeprom LPCL 68_XAplorer_i2c_eeprorr LPC1 68_Aplorer_rtc LPC1 66_Xplorer_rtc LPC1 68_XplorerSDCard LPC1768_XplorerSDCard LPC1 68 xplorer_usbVcom_lib LPC1768 xplorerusbVcom_ R t Copy projects into workspace Fig 9 8 www ngxtechnologies com User Manual LPC1768 Xplorer 5 Right click on LPC1768_Xplorer_Blinky and left click on Build Project File Edit Navigate Sea P lt inf s i DY ka da lt Z CMSISv2p00_LPC17 b tS LPC1768_Xplorer_A as GL olor eS LPC1768_Xplorer_ b ME LPC1768_Xplorer_i2 b tS LPC1768_Xplorer_rt b tS LPC1768_Xplorer_SI ore Quickstart Panel 52 Project and File wizar Import and Export Import archived projec L Import exisiting projec A tS
6. gt NXP LPC11U00 projects gt NAD LPC1200 projects Semihosting C Project gt MXP LPCL x 8x projects gt NAP LPC1800 projects Fig 21 Step 8 Give Project name is Blinky and Click Next S rE T New LPCApresso C Project NAP LPC1 00 projects gt C Project Project name Gini Use default location on F ALPC1 68 Aplorer Sample_programs LPC1 6 Browse Fig 22 15 www nextechnologies com User Manual LPC1768 Xplorer E New LPCXpresso C Project Select the target MCU Target selection NAD LPC1768 LPC1 58 LPC1 59 LPC1 63 LPC1 64 LPC1 65 LPC1 66 LPC LPC1 69 LDC 774 LPC1776 Step 10 Click Finish S m D a _ _ New LPCxpresso C Project Select options for this project CMS amp IS peripheral header files initialization code anc CMSI5 Library to link project to WIS CMSIS DSP Library to link project to None The appropriate CMSIS library project s must exist in your workspace CMSS library projects can be imported from the Examples subdirectory of your IDE installation Code Read Protect CRP C Enable CRP in the target image Code Read Protection selection places a CRP word into the appropriate v memory location of the selected MCU See NXP documentation for your chip at bttp ics nxp com products lpcl000 all for more information on CRP Other options User source directory src a Fig 24 16 www nextechnologies com
7. je New project Import project s Build all projects Debug Build Blinky Debug of Clean Blinky Debug Blinky Debug C C MCU Application F LPC1 68 Xplorer_Sample_programs LPC1 68 Xplorer_E m x E eel Le Writable Smart Insert 64 1 MAP LPCL1 68 Fig 34 www nextechnologies com User Manual LPC1768 Xplorer gt Se 352 WII SS AN _ TECHNOLOGIES 4 0 LPC1768 Xplorer Programming 4 1 Programming options LPC1768 Xplorer can be programmed using the gt Secondary USB bootloader USB gt Debugger NXP LPC LINK 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 Look 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 requ
8. H TRIER nale Le OC 0 a E E sdaan cute cum E EE 5 2 2 Installation amp Configuration of LPCXpresso software sese 5 2 3 Setup for NXP LPC Link and LPC1768 Xplorer Board sese 2 5 0 LPC1768 Xplorer fitmware Development ssc wcaceccnosesuchacavedenesdiwusbacadedenioudiawsbalcnsedettebotasbasadedavouniawsnelcaudds 7 3 1 Executing the sample projects in LPCXpresso esse eee 7 3 2 Creating the sample Blinky project in LPCXpresso eee ee eee 12 AO LPCI768 Xplorer ans 22 A A Programming OPUODS ssssnccecensasussacsecuectoesseunsaeteocecdesesunnacseeiedasdeuenaesnarecdecauabnasteeueceasdeiaaeseeusedecanueaaenes 22 c Socondar y DOOUOdder ls OD n EEE EEE E EEEE EE N 22 4 1 2 Flashing the Doa rd using USB s ssssscsiiissreciseriiii ianei enii aana e iiini ai 22 5 0 Restoring LPC1768 Xplorer to Factory Defaults sese sese 22 K OB S K and LPC X 0 cit eeen E R eee eee 23 OEE A ers HR E E EE AE E EN T AE E E urea 26 CLS e e E E E E E E qsosedneasnessaaaeecancetenntacqvouesneasnar 26 O2 OAM NAY OUI a E E E A A A E densqeeicneneeseses 26 TO CHANOL TORI aera E E 21 LCR T O e E E E E E E S 21 3 www ngxtechnologies com User Manual LPC1768 Xplorer SAR I SEAN ING Fos a TECHNOLOGIES 1 0 INTRODUCTION This document is 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 o
9. 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 is 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 The 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 B
10. E 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 28 www ngxtechnologies com User Manual LPC1768 Xplorer SE 7 Nea BS TECHNOLOGIES Disclaimers Information in this document is believed to be reliable and accurate However 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 consequences of use of such information NGX Technologies reserves the right to make changes to information published in this document at any tme and without notice including without limitation specifications and product descriptions This document
11. Heela ae Gs EI GRE B A E BY PR D OPr Zero x Oion Core Registers ra Peripherals t LS CMSISv2p00_LPC17xx gt E LPC1768_Xplorer_All_peripheral_test t E LPCL768_Xplorer_Blinky t E LPCL768_Xplorer_ethernet b i LPC1768_Xplorer_i2c_eeprom t E LPC1768_Xplorer_rtc t E LPC1768_Xplorer_SDCard t E LPC1768 xplorer_usbVcom_lib e blinky c 3 44 15 46 0 Quickstart Panel 2 04 Variables e Breakpoints E Project and Hle wizards No consoles to display at this time 4 Eri Import and Export Kay Import archived projects zip Lj Import exisiting projects faa Import orciect s from XML Descriotion US L LPC1768_Xplorer Blinky LPC1 68 Xplorer Blink NXP LPC1768 Fig 13 10 www ngxtechnologies com User Manual LPC1768 Xplorer 9 Click on Run and select Resume F8 to start debugging the project Here the two LED D4 start blinking Bes Go b ps E Suspend L v ie E M qr L Terminate Ctrl F2 lt Step Into PS Project Explorer 2 Hi Core Registers P a ics Step Over Step Return 3 LPC1768_Aplorer_All_peripheral_test LPC1768_Xplorer_Blinky HF Binaries maana External Tools Src c blinky c 0 crstartup_Ipcl76x c p E Debug Keil LPC1768 Xplorer Blinky Debug launch Run te Line Use Step Filters Y Quickstart Panel oN x Variables Sa Breakpoints T po E Project and Hle wizards LPC1768_Xplorer_Blinky Debug C C MEU A m x E aS E Impor and Exp
12. LPc1768_ 6 For selecting a debug option right click on LPC1768_Xplorer_Blinky project go to Lunch New Go Into Open in New Window Copy Paste 3 Delete Move Rename Clean Project Refresh Close Project Close Unrelated Projects Build Configurations Make Targets Index Convert To Run As Debug As Fig 10 Ctrl C Ctrl V Delete F2 52 a C3 P as F5 7 oa A 8 consoles to display at i L E Y ry v b K E E b Configurations then select Open Current Launch Configurations Sa amp Br Open in New Window Copy Ctrl C Paste Ctrl V gt E CMSISv2 p00 X Delete Delete Z LPC1768_Xple Move T LPC1768_Xple Rename F2 Z LPC1768_Xple gt Z LPC1768 Xp I Import Z LPC1768_Xplc r Export gt ES LPC1768_Xpl L gecen Build Project Clean Project Z Refresh F5 Close Project W Quickstart Panel Close Unrelated Projects L am 2 Project and File Build Configurations gt Bic amp BRIZ s T E Import and Exp Make Targets b No consoles to display this time Import archived Index E 4 By tir 7 Import exisiting Convert To 235 Import project s Run As K Il Imnaet filar inta Debug As gt We iS LPC Profile As gt LPC1768 Xplorer B Team Compare With K Restore from Local History Launch Configurations K 2i Smart update gt Delete Cat L LEILA Utiliti
13. ace folder to use for this session Workspace EVM S Re T a 1 D GS LGT ua S R STS EEE T Use this as the default and do not ask again Fig 6 2 Click on Import and Export then Click on Import archived projects zip Develop Welcome o x File Edit Navigate Search Run Project Window Help ri wert er Shim BHO OS Ow FY K Develop A Ey SWF A Br i Qr i kWriero r GS Project Explorer 3 oror Core Registers a Peripherals A Debug X m ahd RS h Ble RY debug bnk 9 Welcome 53 a Ha 12 2 275 lpexpresso pages registered htm gt D E LPCXpresso 4 is fully activated Welcome to LPCXpresso 4 The software is now fully activated and can L Quit KStalt Pan El L Quick Settings Project and File wizards E Import and Export T Import archived projects zip 3 eee Variables S Breakpoints 7 7 g Console 0 Memory Red Trace Previe E Search m No consoles to display at this time t E riy gt Import exisiting projects 25 Import project s from XML Description Fig 7 7 www nextechnologies com User Manual LPC1768 Xplorer Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory Select archive file Organize v New folder MB Desktop Name Date modified FP Downloads J metadata 06 07 2012 11 1 ER t PI
14. e 2 main void TODO insert code here PC GPIOO gt FIODIR TESTI LED Enter an infinite loop just incrementing a ile 1 test led www nextechnologies com User Manual LPC1768 Xplorer File Edit Source Refactor Navigate Search Run Project Widow Help The sla te gd EI lea B err t E Blinky t LS CMSISv1p30_LPC17xx b LPC1 68 Xplorer_all_peripheral_test t tS LPC1768 Xplorer_ethernet b LPC1 68 Xplorer_extint t LT LPC1768 Xplorer i2c eeprom 4 I int main void f TODO insert code here LPC GPIOO gt FIODIR TEST LED f f Enter an infinite loop just incrementing a om tin ob to bK If Quick 2 b Varia while 1 U LD D Start here New project Import project s B ati s Build all projects Debug C Build Blinky i S GE SE Ex of Gl ca a Build Blinky Debug Text data dec hex filename g Clean Blinky Debug 1124 a 1124 464 Blinky axf test_led NAP LPC1768 Fig 33 Step 20 Click Resume for free running the LED D4 is starts blinking on LPC1768 Xplorer 21 v K slal E X Develop ere Suspend Terminate Step Into F5 Step Over Fo Blinky l Step Return F7 UP Binaries SI Khat Run to Line Ctrl R GB src Use Step Filters Bo O 01 cr_startup_Ipel 6x c k mE ad External Tools ic main c aware a ms oF W Quick 22 08 Varia 9 Start here
15. es gt Z Create Launch Configurations Fig 11 www ngxtechnologies com User Manual LPC1768 Xplorer 7 Select LPC1768_Xplorer_Blinky Debug then select Debugger and select NXP LPC17xx option and click on Apply E l E gt ea Create manage and run configurations Ly a B Name LPC1768 Xplorer_led_blinky Debug type filter tat B Main g ig Ey Source E Common C C Application C C pea to Application a man fe C C MCU Application fe LPC1768 Xplorer_all_per pheral_tes fe LPC1768 Xplorer_all_perpheral_tes Target configuration Main fe LPC1768 Xplorer_ethernet Debug fc LPC1768 Xplorer_ethernet Release E LPC1768 Xplorer_extint Debug LC st Show all fe LPC1768 Xplorer_extint Release fe LPC1768 Xplorer_i2c_eeprom Debt slana S aa Configuration Option Value able Crystal XTAL frequency and PLL value e ETOT ted _ Vector catch false fe PC1768 Xplorer_rte Debug z Enable Red Trace true fe LPC1768 Xplorer_rtc Release EE Semihosting support Auto fe LPC1768 Xplorer_sdcard Debug fe LPC1768 Xplorer_sdcardRelease 1 j r TET OS Apply d Filter matched 21 of 21 items Apply 4 Fig 12 Debugger Options Debugger configuration Script values r 8 After building project click on Debug Develop LPC176 File Edit Source Refactor Navigate Search Run Project Window Help o
16. ethernet b E LPC1768 Xplorer_extint 19 www nextechnologies com User Manual LPC1768 Xplorer Step 17 Click OK and OK as shown below image Sl type filter text Settings Resource Builders C C Build Build Variables Discovery Options Environment Logging MCU settings Settings Tool Chain Editor C C General Project References Run Debug Settings MCU C Compiler Preprocessor Symbols 53 Includes Optimization Add directory path Debugging Warnings B Miscellaneous S workspace_loc CMSISv1 p30_LPC17xx Core Device NXP LPC17xx Include Target MCU Assembler 3 General Target MCU Linker 3 General Libraries 3 Miscellaneous 3 Shared Library Settings Target Directory CD tand wertspace Filesystem Include files include Fig 31 Step 18 Right Click on Blinky Project and click on Build Project build must be error free o x File Edit Go Into crix E Open in New Window cN ey EA I m Copy Ctrl C Paste Ctrl V a Delete Delete Move TE Rename F2 gg Import Pt p Export b ESLP l cha J Clean Project T Quick Refresh F5 Close Project E Start rea Close Unrelated Projects ici New p p l l Build Configurations 4 Impo Make Targets Build Ind 20 Window Help lef x ES X Develop g amp Br GI B min
17. finite loop just incrementing a Convert To Run As i Debug As te st led Profile As i Tez lt a ig G D Memory B Red Trace Preview m Compare With ge B KB Ex et E rio Restore from Local History vt ul OE cx 7 S T dec hex filename Launch Configurations 1124 464 BlinkyLaaf E Smart update Utilities Alt Enter 18 www ngxtechnologies com User Manual LPC1768 Xplorer Step 15 Select C C Build gt Settings then Includes click on Add then click on workspace to select the h files path as shown below image I type filter text Settings Resource Buil gers MCU C Compiler Preprocessor E mpo Build Variables Discovery Options 83 Optimization Debugging l Warnings Directory bols Add directory path Environment Logging MCU settings E Settings 5 Miscellaneous BS Tool Chain Editor gt Target C C General D MCU Assembler 3 Project References gt General Target spain a MCU Linker Giorispace 3 General Libraries 3 Miscellaneous Shared Library Settings 3 Target Include files include Fig 29 Step 16 Select LPC17xx h file path then click OK as shown below image Folder selection x a L Device a NXP a L LPC i xx b LZ Source gt L Debug b docs b ES inc b eb sre n b E LPC1768 Xplorer_all_peripheral_test 7 b E LPC1768 Xplorer_
18. ire 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 __ Becks amy computer 4 Fig 35 22 www ngxtechnologies com User Manual LPC1768 Xplorer S vs LS xa SE Flashing the bin file Drag amp drop D Biel E File Edit Yiew Favorites Tools Help Ax L Back v 5 wi po Search T Folders RHD Address S D lt gt Go File and Folder Tasks Other Places a W My Computer 7 3 My Documents My Network Places Details 0 objects 0 bytes d My Computer h e Fig 36 5 0 Restoring LPC1768 Xplorer to Factory Defaults 5 1 LPC link and LPCXpresso To restore the factory defaults for the Xplorer the user needs the LPC link to flash LPC1768 Xplorer_all_peripheral_test bin file in LPCXpresso Steps to restore the factory defaul
19. n 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 Quick Start Guide Click here For the most updated information on the LPC 1768 Xplorer board please refer to NGX website 4 www nextechnologies com User Manual LPC1768 Xplorer S vs LS xa i SEAN LA 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 LPCXpresso and NXP LPC Link as the IDE and debugger respectively 2 2 Installation amp Configuration of LPCXpresso software For installation and configuration of LPCXpresso Click here Note We have used LPC Xpresso version 4 2 2_275 while creating the User manual for this evaluation kit Please ensure that you are using LPC Xpresso version 4 2 2_275 or above 2 3 Setup for NXP LPC Link and LPC1768 Xplorer Board The Xplorer board has on board 10 pin SWD JTAG box the 10 pin cable is not a part of the LPC1768 Xplorer package the user needs to buy 10 pin cable separately To run the LPCXpresso examples you will need the following and the image shows the each components NXP LPC Link 10 pin cable LPC1768 Xplorer Board One USB AM to Micro B cable
20. ort Kan Import archived projects zip Lj Import exisiting projects ray Import project s from XML Description DRS Writable Smart Insert LPC1 68 Xplorer Blink NXP LPC1 68 Fig 14 11 www ngxtechnologies com User Manual LPC1768 Xplorer S vs LS xa SE 3 2 Creating the sample Blinky project in LPC Xpresso Step 1 Open an LPCXpresso v4 2 2_275 IDE Troubleshoot compatibility Open file location TortomeS VN K Run as administrator i Zip K Add to archive Add to Ipexpresso rar Compress and email Compress to lpcxpresso rar and email Pin to Taskbar Pin to Start Menu Fig 15 Step 2 Click Browse as show below fc Workspace Launcher 5 Sl B anan Select a workspace LPCXpresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace Ceme _ Use this as the default and do not ask again Cancel Fig 16 12 www nextechnologies com User Manual LPC1768 Xplorer S vs LS xa SE Step 3 Please select LPC1768 Xplorer_Examples_V1 folder which downloaded from website as shown below image and click OK as shown in below image Select Workspace Directory kspace directory to use a LPC1768 Xplorer_LPCXpresso metadata gt CMSISv1p30_LPC17xx di LPC1768 Xplorer_all_peripheral_test gt LPC1768 Xplorer_ethernet gt LPCL768 Xplorer_extint gt di LPC1 68 A
21. plorer_i2c_eeprom Rr gt di LPC1 68 Aplorer_led_blinky b di LPC1 66 Aplorer_rtc gt LPC1768 Xplorer_sdcard gt LPC1768 xplorer_usbVcom_lib LPT Folder LPC 1768 Xplorer_LPCXpresso Fig 17 Step 4 Click OK Select a workspace LPCApresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace F LPC1 68 AplorerSample_programs LPC1 68 AplorerLPCApresso Use this as the default and do not ask again Fig 18 13 www nextechnologies com User Manual LPC1768 Xplorer Step 5 Click on File gt New gt Project as shown below image Develop LPCXpr File Edit Navigate Search Run Project Window Help New Alt Shift N Led Ab F Other Ctrl N Close Ctrl W Close All Ctrl Shift W Save Ctri Save As Save All Ctrl Shift S Revert Move Rename F2 LA Refresh F5 Print Ctrl P Switch Workspace E Restart Fig 19 Step 6 Select LPC Xpresso C Project and Click Next as shown below image New Project Ei Select a wizard Wizards type filter text t L General a L LILLE 7 C Project ST L T LPCXpresso C ZT LPC ATG i Makefile Project with Existing Code b S CVS 14 www nextechnologies com User Manual LPC1768 Xplorer E New LPC presso C Project MXP LPC1700 projects gt C Project Wizard a NAP gt MXP LPC1100 projects gt NXP LPC1102 projects gt NXP LPC11E00 projects
22. 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 29 www nextechnologies com
23. ts for Xplorer Step 1 Open LPCXpresso Import the LPC1768 Xplorer_LPCXpresso zip as explained above in the section 3 1 Click on the program flash D Gers ss TO oioi Core Perip 7 BS E LPC1768 Xplorer_all_peripheral_test E LPC1768 Xplorer_ethernet tS LPC1768 Xplorer_extint E LPC1768 Xplorer_i2c_eeprom E LPC1768 Xplorer_led_blinky E LPC1768 Xplorer_rtc MW Lad ar ow 41 m C Quick 72 N 69 Varia 92 Break Start here ej New project Z Import project s l E Console 72 D Memory Red Trace Preview mal C Build CMSISv1 p30_LPC17 0 0 R GHB wt rei MAOC QII op Build all projects make Nothing to be done for 0 items selected Fig 37 Step 2 Click on Browse 23 www nextechnologies com User Manual LPC1768 Xplorer Program Flash Program target flash LPC17xx Options Display progress log Reopen on completion d Reset target on completion Repeat on completion Connection Options Speed 250 Use JTAG interface Code Read protect CRP selection None Erase flash memory Select file Base address Erase Options Mass erase Fig 38 Step 3 Select bin and then select the following path Binaries LPCXpresso Bin LPC1768 Xplorer_all_peripheral_test bin and click open PE GGT Binaries LPCApresso K Bin Organize lt New folder Select amp file 35 MD Desktop m
24. u User Manual LPC1768 Xplorer S vs LS xa ATS LPC1768 Xplorer OGo0oo0oo0oo0oo0000000000000000000000000000 rp m t gt E AE ba l ze HA SLA 3 pr 4 t J r3 b le 1119999155 rKITLII11 11 KX laryo p Jo yman dr IRH UH LU od tah i rs l j ihe EE Fig 1 1 www ngxtechnologies com User Manual LPC1768 Xplorer PN Z oe NI 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 M0 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 Table of Contents 159 MN E Pe K LEI 4 2 0 LPC1768 Xplorer Development Tool Setup sss sss eee 5 DO
25. y Downloads E Recent Places g Libraries a LPC1 68 Aplorer_izc_eeprom bin LPC1 68 Aplorer_led_blinky bin 10 05 2012 19 0 LPC1 68 Aplorer_rtc bin 11 05 2012 15 0 LPC1 68 Aplorer_sdcard bin 11 05 2012 15 1 a Homegroup jE Computer amp 05 c cog New Volume F coy New Volume G r 4 IH File name LPC1768 Xplorer_all_peripheralte Step 4 click OK 24 www nextechnologies com User Manual LPC1768 Xplorer Program Flash Program target flash LOC 7x Options Display progress log Reopen on completion Reset target on completion Repeat on completion Connection Options Speed 250 Use JTAG interface Code Read protect CRP sekecdtion Nane o iry Erase flash memory Select file Binaries LPCXpresso Bin LPC1768 Xplorer_all_peripheral_test bin Base address Erase Options D Mass erase Erase only required pages Fig 40 Step 5 Wait till the download process is completed then RESET the Xplorer to restore the Xplorer to factory defaults EW a E E E RTE a Bs a ee ars File Edit Navigate Search Run Project Window Help i i He ola MOr tE Chia a haO en eR E NH Core S penp LU Blinky iE CMS5I v1p30_LP LPC1768 Xplore LPC1768 Xplore i LPC1768 Xplore eo Raa wt Quick 2N 6 v Start here S New project 5 Import project s Build all projects A Build g Clean

Download Pdf Manuals

image

Related Search

LPC1768 Xplorer

Related Contents

User Manual: Vivotek IP7161  Avanti BCA31SS-IS drink cooler    Prepac BCAW-0200-1 Instructions / Assembly  Descargar    着ぐるみ「すいちゃん」取扱説明書(PDF:121.9KB)  BOMBAS BHI - Bombas Imbil  Indigo 150 LED V2  Operating Instructions/Bedienungsanleitung/ Mode d'emploi  

Copyright © All rights reserved.
Failed to retrieve file