Home

- NGX Technologies

image

Contents

1. BB4PC 11024 Xpresso Sample Programs Fig 16 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 BlueBoard LPC11U24 BB LPC11U24_XApresso_Sample_Programs C Use this as the default and do not ask again Fig 17 13 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 5 Click on File gt New gt Project as shown below image Develop pr File Edit Navigate Search Run Project Window Help New Alt Shift N Open File Fe Other Ctrl N Close Ctrl W Close All Ctri Shift W Save Ctri S Save As Save All Ctri Shift Revert Move Rename F2 2 Refresh F5 Print Ctrl P Switch Workspace Restart Fig 18 Step 6 Select LPCXpresso C Project and Click Next as shown below image 2 New Project Select a wizard Wizards type filter text b gt General a gt C C EC C EEA kii Makefile Project with Existing Code b E CVS Finish 14 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 7 Select NXP LPC11U00 projects gt C Project and click Next as shown below image New LPCXpresso C Project NAP LPCI1U00 projects C Project Wizard a NAP t NXP LPC1100 projects t MXP LPC1102 projects t MXP LPC11E0O C Static Library Project Semihosting Project t NAP LPC1200 projects gt NAP L
2. J File Edit Source Refactor Navigate Search J Run Project Window Help iv H e 4 Ol QResume J e b FY e Develop lQ amp p 7 i 4 Project Ex 3 i ii Core Regi Periphera E mx Step Into h Step Over F Step Return F7 Run to Line Ctrl R JP Use Step Filters b F BB LPC11U24_rtc gt F BB LPC11U24 sdcard gt F BB LPC11U24_uart b F BB LPC11U24_usb_hid gt iS Blinky b TES CMSISv2p00_LPC11 Uxx G External Tools Quickstart 22S 60 Variables Breakpoin E E Start here je New project Import project s Build all projects Debug Build Blinky Debug af Clean Blinkew Dehunl n Blinky MXP LPC11U24 401 while i 4 mn Fig 38 24 www nextechnologies com User Manual BlueBoard LPC11U24 37 4 0 BLUEBOARD LPC11U24 37 Programming 4 1 Programming options BLUEBOARD LPC11U24 37 can be programmed using the gt On chip bootloader USB or UART gt Debugger NXP LPC Link 4 1 1 On Chip bootloader USB or UART In order to program the board either through USB or UART we need to get the board under programming mode Getting the board in programming mode Theory The On chip 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 Pract
3. 52 ON R blinky h z Close Project EL i 57 int main void Close Unrelated Projects 53 f Build Configurations i i LPC GPIO gt DIR O TEST LED1I TEST Make Targets ice Index 157 while i 58 i Convert To 59 led t estil Run s 60 1 Debug As e 61 62 Profile As Tes Team 4 m ere z Compare With e FE Consol 23 FL Proble g Memor E Red Tr m Restore from Local History gt consoles to display at this time Ely rie Launch Configurations Smart update Utilities Properties Alt Enter Fig 36 Step 24 After successful build click on Debug as shown in below image Faden Edit Source Refactor Navigate Scandia roje ionmh f Be amp la de Ase ef ni FY X Develop moO OO os E a i erisio o rar z ai Core Regi b s seen ak maces b F BB LPC11U24 sdcard F b te BB LPC11U24_uart 54 LPC GPIO gt DIR 0 IEST LED1 TEST LI b E BB LPC11U24_usb_hid E t E Blinky t E CMSISv2p00 LPC11Ubo while 1 Quickstart 4 A 69 Variables Breakpoin j led test Start here je New project Import project s Build all projects Debug Build Blinky Debug fancies ae ege ERE vf Clean Rlinkw Mehin J i Blinky NXP LPC11U24 401 Fig 37 23 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Nia Step 25 Click Resume for free running the LED D3 and D4 are starts blinking on BB LPC11U24 37 L misk x Blinky wW a
4. EE BB LPC11U24_blinky BB LPC11U24 blinky NXP LPC11U24 401 Fig 13 11 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 3 2 Creating the sample Blinky project in LPCXpresso Step 1 Open an LPCXpresso v4 2 2 275 IDE Troubleshoot compatibility Open file location TortoiseSVN X Run as administrator Zip Add to archive Add to Ipexpresso rar Compress and email Compress to Ipcxpresso rar and email Pin to Taskbar Pin to Start Menu Fig 14 Step 2 Click Browse as show below FE Workspace Launcher y r steam Select a workspace LPCXpresso stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace a a ie ell Use this as the default and do not ask again Fig 15 12 www nextechnologies com User Manual BlueBoard LPC11U24 37 NTA Step 3 Please select BB LPC11U24_Xpresso_Sample_programs For BB LPC11U37 BB LPC11U37_Xpresso_Sample_programs folder which downloaded from website click OK as shown in below image 4 BB LPC11U24_Xpresso_Sample_Programs b gt di metadata gt BB LPC11U24_ade gt di BB LPC11U24_All_peripheral b BB LPC11U24 blinky gt Uk BB LPC11U24_buzzer gt BB LPC11U24_Drivers_lib gt di BB LPC11U24_Ext_inrrpt_and_wakeup gt uk BB LPC11U24_Ext_interrupt gt Uk BB LPC11U24 Gled gt Uk BB LPC11U24_Gled_driver_lib ll
5. Erase block 3 003000 08003FFF Baud Rate S600 S Erase block 4 0x004000 0x004FFF Erase block 5 Os005000 0 005F FF Erase all Flash Code Ad Frot Oscillator MHz 12 Erase blocks used by Hex File Interface None ISP Step 3 Hex File Hex File C wwork ngesBlueboard LPCTIU244BLUEBOARD LPC11U24 D Modified Monday November 28 2011 7 38 36 PM more into step 4 Options Step 5 Start Verty after programming Fill unused Flash Gen block checksums Execute Technical on line articles about 8057 and sA programming WWW esacademy com tagdocs A ee Fig 41 Note Check the MCU on the board for part number if the part number is LPCI1U24 301 select Device LPC11U24 301 Step 3 Click Start to flash the hex file Press Reset to run NOTE Make sure that the Board is not powered through USB 27 www nextechnologies com User Manual BlueBoard LPC11U24 37 NTA 5 0 Schematic amp Board Layout 5 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 5 2 Board layout sae E ma LCD_L x2 Meeeeeeeseeeeeees WARK EWP a al ri HE ke oh mm C5 NGX TECHNOLOGIES Fe CT C6 C4 melee e La g Lul i a i 4k amp 27 mT 28 www nextechnologies com User Ma
6. Open pa i zip Import archived projects zip Select a directory to search for existing Eclipse projects Select root directory 9 Select archive file Select archive containing the projects to import gt OO Ji Blue BB LPC11U24 Xpresso S gt EE Organize v New folder v Gl Em Desktop Date modified 18 Downloads B i J metada 22 06 2012 10 5 i Recent Places SE 8B LPC11U24_Xpresso Sample Programs 22 06 2012 10 4 CO Libraries eg Homegroup jE Computer amp os C ca New Volume F c New Volume G 7 I Filename BB LPC11U24 Xpresso Sample Pr v Step 4 Click Finish Import archived projects zip r Select a directory to search for existing Eclipse projects f Select root directory Browse Select archive file F BlueBoard LPC11U24 BB LPC11U24_Xpresso_ Browse Projects BB LPC11U24_All_peripheral BB LPC11U24_All_peripheral BB LPC11U24_blinky BB LPC11U24_blinky All B LPC11U24 buzzer BB LPC11U24 buzzer BB LPC11U24_Drivers_lib BB LPC11U24_Drivers_lib B LPC11U24_ Ext_inrrpt_and_wakeup BB LPC11U24 Ext_inrrpt_z B LPC11iU24 Ext_interrupt BB LPCI1U24 Ext_interrupt Y BB LPC11U24 Gled BB LPC11U24 Gled BB LPC11U24 Gled driver lib BB LPC11U24 Gled_driver_lib nn LMS a LE rea F LL Gt ul BB LPC11U24 ade BB LPC11U24 adc Select All Teal h zZ Copy projects into
7. below image LF KJ File Edit Source Refactor Navigate Search Run Project Window Help r EG el A esser le ki ses Go py A Er Bw KF r Br ela ar Bi e sc Project Ex F ON b l Core Regi G Welcome maine 53 SE 25 TODO insert other definitions and a 27 int main void 28 Blinky Si Includes E sre j ff TODO insert code here L cr startup Ipcllu c 30 Le main c E 31 ff Enter an infinite loop just int eS CMSISv2p00_LPC11 Unc 32 volatile static int i 0 33 while i W Quickstart 2 S69 Variables e Breakpoin 34 itt 35 H E Start here 36 return 0 je New project 37 38 Import project s nm Build all projects Debug Build Blinky Debug af Clean Blinky Nehunl Writable NAP LPCI1U24 401 17 www nextechnologies com User Manual BlueBoard LPC11U24 37 NZ 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 BB LPC1 1 U24_blinky example Sra Run Project Window Help geo k r et hy ES X Develop A E BSW P A pr Y main c 2 OW blinky h IF Project Ex 7 mS 7 p F BB LPC11U24_rtc SIOE ant main ae bt FE BB LPC11U24 sdcard i b i BB LPC11U24_uart 54 LPC GPIO gt DIR 0 TEST LED1 TEST LI gt BB LPC11U24 usb hid a gt E Blinky b E CMSISv2p00_LPC11 Ux while 1 i led _ testi E Start
8. 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 BLUEBOARD LPC11U24 37 Board The BLUEBOARD LPC11U24 37 board has on board 10 pin SWD JTAG box the 10 pin cable is not a part of the BLUEBOARD LPC11U24 37 package the user needs to buy 10 pin cable separately To run the BLUEBOARD LPC11U24 37 examples you need the following components and the image shows the each components NXP LPC Link 10 pin cable BLUEBOARD LPC11U24 37 Board One USB AM to Mini B cable Fig 2 5 www nextechnologies com User Manual BlueBoard LPC11U24 37 NEN Separate the LPCXpresso controller part and use only the NXP LPC Link Connections of components are as shows in the following image Fig 3 The above setup is ready to use for development in LPC Xpresso IDE 6 www nextechnologies com User Manual BlueBoard LPC11U24 37 NEN TECHNOLOGIES 3 0 BLUEBOARD LPC11U24 37 firmware Development 3 1 Executing the sample projects in LPC Xpresso Please note that the sample programs
9. here je New project i Import project s B ql Build all projects Debug amp Build Blinky Debug af Clean Rlinkey Mehua g LE Blinky NXP LPC11U24 401 Fig 26 Step 14 To include h files from BB LPC11U24_Driver_lib in your project right click on your Project and click on Properties Rename F2 Help Import Export ef ny Build Project ir Br Clean Project Refresh F5 mai 2 Close Project int main void Close Unrelated Projects i Build Configurations gt LPC_GPIO gt DIR 0 TEST_LED1 TEST Make Targets d Index gt 7 while 1 Convert To led test Run As gt Debug As gt Profile As Team gt rener SEE a Consol 33 E Proble O Memor Red Tr Sim Restore from Local History BESET EPE R at this time a Launch Configurations gt Smart update gt Utilities r Alt Enter 18 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 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 type filter text Resource Builders Build Variables Discovery Options Environment Logging mi ettings Tool Chain Editor C C General Project References Run Debug Settings Settings 883 MCU C Compiler Include paths I Preprocessor SS 53 Includes Sfworkspace_loc CMSISv2p00_LPC11Uxx inc GE
10. workspace Fig 7 8 www nextechnologies com User Manual BlueBoard LPC11U24 37 Nia Step 5 First build the BB LPC11U24_Driver_lib and BB LPC11U24 Glcd_Driver_lib To build project Right click on project then click on build Project For example BB LPC11U24_Blinky as shown in the below image Develop Welcon LPC ms File Edit New r Go Into Open in New Window Copy Ctrl C Paste Ctrl V Q Delete Delete pexpresso pages registered htm v gt 5 Move E Rename F2 z Import Lrg PCXpresso 4 is fully activated Clean Project Welcome to LPCXpresso 4 The software is now fully activated Y Refresh F5 Close Project onsole 52 E Proble O Memory Red Tra e Close Unrelated Projects onsoles to display at this time Ely rie Build Configurations gt Quick Make Targets b Z Project Index gt O Convert To BB LPC11 Run As r me Naha Ar Fig 8 Step 6 After building project click on Debug Welcome amp pexpresso pages registered htm v p gt gt A gt eS BB LPC11U24 adc gt ES BB LPC11U24_All_peripheral gt E BB LPC11U24_blinky gt ES BB LPC11U24_buzzer PRES gt ES BB LPC11U24_Drivers_lib gt ES BB LPC11U24_Ext_inrrpt_and_wakeup LPCXpresso 4 is fully activated Quickstart 52 N 0 Variables Breakpoin og vunu un prujorta Howuy Welcome to LPCXpresso 4 The software
11. Any external connection made to the GPIO ports may alter the EMC behaviour Usage of this device under domestic environment may cause unwanted interference with other electronic equipment s User is expected to take adequate measures The device is not intended to be used in and end product or any subsystem unless the user re evaluates applicable directive conformance 2 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Table of Contents KON WOM TOWN SEE ES E E 4 2 0 BLUEBOARD LPC11U24 37 Development Tool Setup eeceseeeccceeeeeeeeeeeeecceeeeeeaaeeeeeeeees 5 AED Ed COU Cas EEN E E A E E S 5 2 2 Installation amp Configuration of LPCXpresso software cccccccccccccceseeeseeeceeeceeaaeeseececeeseesaaaeeseeess 5 2 3 Setup for NXP LPC Link and BLUEBOARD LPC11U24 37 Board W W u sssssneeeeeseereeeee renerne 5 3 0 BLUEBOARD LPC11U24 37 firmware Development seeenenssssssssoeressssssssserrrsssssssseerrssssssseeerees 7 3 1 Executing the sample projects in LPCXpresso ccccccccccccssssessseccecccecaeeeseeecceceeeeaaeaeseeeceeeeeeaeaeesees 7 3 2 Creating the sample Blinky project in LPCXpresso ie eeecccccccccceeeeeeeeeeceeeceeaaeeeeeeeceeeeeeaaeeenees 12 4 0 BLUEBOARD LPC1 1U24 37 Programming 1 svensoiveisentaucnstessoedioneseatonnveluestenceaces 25 Ade PRO SEA OP HORSE E E E E E 29 4 1 1 On Chip bootloader USB or UART ssssseeesssssssseeressssssseseeesssssssseceeosssssseccreesssssssecere
12. Board LPC11U24 37 NIN ZO 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 Press SW4 then SW5 release SW5 then SW4 the mass storage device will appear on your screen On the board LED D1 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 Help irer inch qo Folders i Firmware bin um A VLC media File bind BEB i 32 0 KB w My Computer Fig 39 Flashing the bin file Drag amp drop File Edit View Favorites Tools Help ar Q Back v gt i po Search eer Folders Ess 3 Address o Eg File and Folder Tasks Other Places a a My Network Places Details 0 objects 0 bytes P My Computer W Fig 40 26 www nextechnologies com User Manual BlueBoard LPC11U24 37 NIN ZO 4 2 Flashing the Hex file through UART Step 1 Connect the serial cable to the PC as well as to the board UARTO and open the flash magic tool Step 2 Input all the parameters as shown in below Fig Flash Magic NON PRODUCTION USE ONLY File ISP Options Tools Help ee Go 7A9 vES Y Step 1 Communications Step 2 Erase LPL U24 401 Erase block O 0s000000 02000F FF Erase block 1 0s001000 0001FFF COM Port COM 1 a Erase block 2 0x002000 0x002FFF
13. Optimization lt Add directory path Debugging GE Warnings Miscellaneous Target MCU Assembler General Target 8 MCU Linker 3 General GE Libraries Miscellaneous Shared Library Settings 3 Target Include files include Fig 28 Step 16 Select h files path then click OK as shown below image 19 FE om Select one or more Workspace Folders b F BB LPC11U24 ade gt FE BB LPC11U24_All_peripheral b F BB LPC11U24_blinky b ES BB LPC11U24 buzzer B LPC11U24 Drivers ib gt f Debug gt gt Src gt FE BB LPCI1U24 Ext_inrrpt_and_wakeup t BB LPC11U24_Ext_interrupt gt F BB LPC11U24 Glcd gt F BB LPC11U24 Glcd driver lib p BE BB LPC11U24_ps _keyboard b FE BB LPC11U24 rte t F BB LPC11U24 sdcard www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 17 Click OK and OK as shown below image type filter text 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 Settings W POO Settings w Build Steps Build Art tact loi Binary Parsers amp 9 Error Parsers E B D B MCU C Compiler Preprocessor Symbols Includes Optimization Debugging Warnings Miscellaneous Target MCU Assembler General Ta
14. PC1300 12bit ADC projects gt NAP LPC1300 projects gt NXP LPC1700 projects gt NAP LPCL x 8x projects Finish Fig 20 Step 8 Give Project name is Blinky and Click Next E oO New LPCxXpresso C Project MXP LPCI1U00 projects gt C Project Project name GW o Use default location Location F BlueBoard LPC11U24 BB LPC11U24 Xpresso_Sz Browse Finish Fig 21 15 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 NN Step 9 Select the target MCU is LPC11U24 401 and click Next as shown in below image Note Check the MCU on the board for part number if the part number is LPCI1U24 301 select LPC11U24 301 New LPCXpresso C Project Select the target MCU Target selection MAP LPCILU24 401 t LPEE LPC11U12 201 LPC11U13 201 LPC11U14 201 LPC11U23 301 LPC 17301 nl PC11U24 401 gt LPC1llo gt LPC1200 LPC13x gt LPC130 12bit ADC Finish Step 10 Click Finish a n m TE New LPCXpresso C Project Select options for this project CMSIS peripheral header files and initialization code CMSIS Library to link project to ac MSISv2p00_LPC11 Lex The appropriate CMSIS library project must exist in your workspace CMSIS library projects can be imported from the Exarnples 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 memory location of the sel
15. User Manual BlueBoard LPC11U24 37 NEN BlueBoard LPC11U24 37 gt ite a N f B N 1 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 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 M3 MO 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 CE certification NGX Technologies BLUEBOARD LPC11U24 37 board have been tested for radiated emission as per EN55022 class A standard The device is under the limits of the standard EN55022 class A and hence CE marked No other test have been conducted other than the radiated emission EN55022 class A standard The device was tested with the ports like USB Serial and Power excluding the GPIO ports
16. are available to download once the product is registered Steps to execute the sample project Step 1 Open LPCXpresso Browse the folder which contains BB LPC11U24_Xpresso_Sample_programs zip For BlueBoard LPC11U37 BB LPC11U37_Xpresso_Sample_programs zip project and 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 BlueBoard LPCI1U24 BB LPC11U24_ Xpresso Sample Programs Use this as the default and do not ask again Cancel Fig 4 Step 2 Click on Import and Export then Click on Import archived projects zip Develop Welcome F oy Sh es i MH a SS File Edit Navigate Search Project Run Window Help mine Gee vv amp ej hj FY A Develop meee Gey A Er Sw S b r 5 v Q v G wy v we w v Y E Project Ex 52 N II Core Regi Periphera O Welcome amp N Fm i amp ages registered htm v gt j A Ne LPCXpresso4 is fully activ n vi o start Welcome to LPCXpresso 4 The software is now f Quick Settings v generate and download applications containing up 4 mW Project and File wizards T 7 ar 5 Say n eS id ml ad y a No consoles to display at this time Elrr r Fig 5 7 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 3 Click on Browse to select a archived project zip and Click on
17. board as shown in the below image If the part number is LPC11U24 301 select LPC11U24 301 Properties for BB LPC11U24 blinky type filter text MCU settings Resource Target k NXP LPC11U24 401 Build Variables LPC11U13 201 Discovery Options LPC11U14 201 Environment LPC11U23 301 TV E V LPC11U24 301 L mcu settings Ecua Settings LPC11xx Tool Chain Editor LPC1200 C C General LPC13xx Project References LPC13xx 12bit ADC Run Debug Settings LPC1700 LPC18xx LPC2000 Target architecture cortex m0 10 www nextechnologies com User Manual BlueBoard LPC11U24 37 TECHNOLOGIES Step 7 Click on Run and select Resume F8 to start debugging the project Here the two LED s D3 and D4 start blinking rr ce Se 4 Fill E OR File Edit Source Refactor Navigate Search Project Run Window Help Bees s A Suspend gored Terminate Step Into Step Over ola oot Core Regi Step Return b E BB LPC11U24_All_peripheral a 1 BB LPC11U24_blinky ON P Binaries FE Use Step Filters gt Ej Includes gt gt Debug Run to Line Ctrl R Q External Tools gt e blinky c l Quickstart 52 OP Variables a Breakpoin po j l CUNA Gee Pepee preeu J amp Build BB LPC11U24_blinky Debug while 1 of Clean BB LPC11U24_blinky Debug s Debug BB LPC11U24_blinky Debug T T E Quick Settings E Project and File wizards T
18. ected MCU See NAP documentation for your chip at http ics nxp com products lpcl000 all for more information on CRP E 2 Other options User source directory sre Nets Fig 23 16 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 11 The New Blinky Project is created double click on main c file as shown below image File Edit Navigate Search Run Project Window Help i dee Lr B D Eg dy A Er Sw H 4 B Dy iif Core Regi Periphera 2 blinky c Welcome XN m amp file C nxp LPCXpresso_4 2 2 275 gt 8 b Includes a 4 E src i gt et cr startup Ipcllu c NGO PRES male main c 8 E gt E CMSISv2p00_LPC11Uxx LPCXpresso 4 is fully activated Quickstart 53 N 69 Variables Breakpoin CO Welcome to LPCXpresso 4 The software is now fully activated BI Start here generate and download applications containing up to 128KB of c ej New project Getting Started Y p Y vr CJ Import project s lease read the oettine started ouide for step bv steo instru ton Build all projects Debug Build Blinky Debug af Clean Blinky Mehun O Blinky sre main c Blinky NXP LPC11U24 401 console 3 i Proble Memory il Red Tra No consoles to display at this time A El r r Fig 24 Step 12 After double click the main c file will open in LPCXpresso as shown in
19. ical On the BLUEBOARD LPC11U24 37 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 gt gt 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 We know that the on chip bootloader can be used with USB or UART Please note that if you have connected a USB cable to the board the USB bootloader is activated else the UART bootloader is activated Meaning if you have connected the USB cable as your power source then you cannot use UART bootloader you need to use an alternate external power source DC jack to enable UART bootloader If a particular MCU supports USB bootloading it is highly recommended to use the same for programming Programming through USB is the most convenient way to program the BlueBoard LPC11U24 37 The LPC11U24 37 has an on chip USB bootloader support which 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 is just drag n drop your binary to this drive Note Not all NXP USB MCUs support USB boot loading For example the LPCI1U14 does not support USB bootloader although it has support for USB on the chip 25 www nextechnologies com User Manual Blue
20. is now fully activated ii amp Build BB LPC11U24_blinky Debug g Clean BB LPC11U24_blinky Debug Debug BB LPC11U24 blinky Debug E Console 53 gt B Proble G Memory al Red Tra SDR No consoles to display at this time EOrrir Quick Settings v Project and File wizards UR tS BB LPC11U24_blinky BB LPC11U24 blinky NXP LPC11U24 301 Fig 9 9 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 If you get an error as shown in the below image LPCXpresso Error ezm Error launching Debug BB LPC11U24 _blinky axt 03 Failed on chip setup Ec 01 Invalid mismatched or unknown part Fig 10 Check the MCU on the board for part number Right click on project go to properties as shown in the below image Rename F2 Import Window Help BE s r Build Project r Br Clean Project Refresh F5 main c 23 N h blinky h Close Project int main void Close Unrelated Projects 2 Build Configurations 54 LPC GPIO gt DIR 0 TEST_LED1 TEST Make Targets 6 Index 57 while i Convert To E Run As Debug As Profile As led test Team ras gt h i kompana B Proble Memor Red Tr 5 ELDR ne DERE OD J gt consoles to display at this time Errf r Launch Configurations Smart update Utilities gt Alt Enter Fig 11 Select the MCU as same as the part number on the
21. nder 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 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 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 30 www ngxtechnologies com
22. nual BlueBoard LPC11U24 37 6 0 CHANGE HISTORY 6 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 18 06 2012 Veeresh Tumbaragi 7 0 REFERENCES In addition to this document the following references are included on the NGX BLUEBOARD LPC11U24 37product and can also be downloaded from www ngxtechnologies com E NGX BLUEBOARD LPC11U24 37 schematic for the Development board Additional references include Information on development tool being used LPCXpresso http lpcxpresso code red tech com LPCXpresso Flash magic http www flashmagictool com 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 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 componen
23. rget MCU Linker General Libraries Miscellaneous Shared Library Settings Target Include paths D Sfworkspace loc CMSISv2p00 LPC11L5o x inc EL Add directory path Directory S workspace_loc BB LPC11U24_Drivers_lib inc CORD cancel Workspace Fie system Include files include 0 amp ul Fig 30 Step 18 To include BB LPC11U24_Driver_lib in blinky project right click on Blinky Project and click on Properties 20 Build Build Rename Import Project Clean Project Refresh Close Project Close Unrelated Projects Configurations Make Targets Index Convert To Run As Debug As Profile As Team Compare With Restore from Local History Launch Configurations Smart update Utilities F2 ER BY X Develop Bo AY BY blinky h int main void gt LPC_GPIO gt DIR 0 TEST LEDi TEST gt gt 7 while 1 led _test b gt gt gt Consol 22 SER Proble 0 Memor Red Tr m gt consoles to display at this time El rir gt gt gt Alt Enter Fig 31 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 19 Select C C Build gt Settings then Libraries click on Add enter the library name then click OK as shown below image _ R ES a er GZ type filter text Set
24. ssssssseeeeeos 25 412 Flashing the board usme USB 4 4 serene essere herre khader Na a SEEEN 26 42 Flashine the Hex file throchi UAR TE soon EE A S EE P 30 Schemat amp Board Lay OW os regerer re a RE E E NEE A 28 Die E e a a S E E weedenses 28 SB SART VAY OU ee EE E E E E 28 OCHAN OGE H TROY sista eA E EEA EA EEN ENON AA EEE E ENE EA E E E 29 MEEN AE a E E E E E Er rare 29 AD WR TET Ne SEES E E N E A E E atuaeeeactesenesseuse 29 3 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 1 0 INTRODUCTION This document is the User Manual for the BLUEBOARD LPC11U24 37 a low cost ARM Cortex M0 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 BLUEBOARD LPC11U24 37 features and BLUEBOARD LPC11U24 37 verification For BLUEBOARD LPC11U24 37 Quick Start Guide Click here For the most updated information on the BLUEBOARD LPC11U24 board please refer to NGX website For the most updated information on the BLUEBOARD LPC11U37 board please refer to NGX website 4 www nextechnologies com User Manual BlueBoard LPC11U24 37 2 0 BLUEBOARD LPC11U24 37 Development Tool Setup 2 1 IDE and debugger As mentioned in the earlier section NGX s MCU evaluation platforms are not
25. tings Gro Y F Resource FE Builders By MCU C Compiler Libraries I E 2947 mC Build A 5 Preprocessor _ 3 Symbols CMSISv2p00_LPCL11 User Build Variables g Symbo Discovery Options Includes e EB Optimization Enter Value Environment ae Logging pi ugging i Y Es Warnings ID Pa rles I PTsettings Miscellaneous BB LPC11U24 Drivers lib E Target E MCU Assembler General 2 Target 3 MCU Linker Tool Chain Editor C C General Project References Run Debug Settings Wiscellaneous 7 i Lib ch path L as 83 Shared Library Settings sas seca En Han af 2 Target Sfworkspace loc CMSISv2p00 LPC11Uo Debuq Fig 32 Step 20 Click on Add then click on Workspace as shown below image E Popetiestortiny RR RR RE REE HT az typefiltertet Settings m es Resource Builders MCU C Compiler Libraries 1 aS repr wa Build ur LECU Build Variables i Symbo R E Includes Discovery Options oe Environment Open 82 Debugging E Add directory path E Warnings Logging MCU settin Miscellaneous Tool Chain Editor ER Te C C General SE aiga Assembler Project References iar General Run Debug Settings om am 22 General 22 Libraries Miscellaneous Shared Library Settings E Target Directory Fig 33 21 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 21 Brows the hbrary path then click OK as shown belo
26. ts 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 29 www nextechnologies com User Manual BlueBoard LPC11U24 37 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 u
27. w image BB LPC11U24 adc BB LPC11U24 All peripheral BB LPC11U24 blinky BB LPC11U24 buzzer B U24 Drivers li eT Debug ns gt FE sre BB LPC110U24 Ext inrrpt and wakeup BB LPC11U24 Ext_interrupt BB LPC11U24 Gled BB LPC11U24 Gled_driver_lib gt BB LPC11U24 ps keyboard BB LPCL1U24 rtc BB LPCLI1U24 sdeard Fig 34 Step 22 Click OK and OK as shown below image 22 type filter text 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 Settings Wy 1001 Settings Build Steps vgv Build Artitact lor Binary Parsers 49 Error Parsers 8 MCU C Compiler Include paths I Preprocessor Symbols GE Includes Optimization Add directory path Debugging i GE Warnings Directory Miscellaneous S workspace_loc BB LPC11U24_Drivers_lib inc Target MCU Assembler 3 General Target 8 MCU Linker 3 General 3 Libraries Miscellaneous Shared Library Settings 3 Target S workspace_loc CMSISv2p00_LPC11Uxx inc Fig 35 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 23 Right Click on Blinky Project and click on Build Project build must be error free Rename F2 Impott Window Help Export Er ef ny P amp r Clean Project NE 3 Refresh Eo main c

Download Pdf Manuals

image

Related Search

Related Contents

carton d`invitation  Finanzmathematischer Taschenrechner HP 12c  Canon PIXMA MG5150  HL400-I - Chronographe electronique Pocket  Projecta Holo Screen  Exchange Fee System (EFS) User Manual  TE 4-A22  取扱説明書 - 日立の家電品  Domo2 Phone Manual (Telefonica) – Full  F9.9C `03(66N2) F13.5A`03(69V3) F15A `03(66M2)  

Copyright © All rights reserved.
Failed to retrieve file