Home

For KEIL MDK ARM with ULINK2

image

Contents

1. de dr Build Output Fig 17 Step 5 Click on Load to download as shown in the below image File Edit View Project Flash Debug Peripherals Tools SVCS Window Help j P rr Thr a ETER mB Blinky a 5 4 Blinky J E Source E A blinky c Ey Startup int main void o pe startup_LPC11Ux s ten 411 oy B Eia LPC GPIC gt DIR 0 TEST LED1 TEST LED2 O Documentation while i led test Build Output 13 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 6 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 File Edit View Project Flash J Debug Peripherals Tools SVCS Window Help P g g y Ea a ee ee eee ti ce S fie Ba LPC_IOCON e EE S BB Bling BF Reset cru Project a EE Run F5 blinky c 7x amp stop H A blinky c Startup F Step Over F10 o Lo A startup _LPC11 Uws F Step Out Ctri F11 E A system LPC Woe i 4 Run to Cursor Line Ctrl F10 Show Next Statement Breakpoints Ctrl B J Insert Remove Breakpoint Pa Enable Disable Breakpoint Ctrl F9 Kill All Breakpoints Ctrl Shitt F9 4 E Build Output CP Disable All Breakpoints OS Support Execution Profiling F a 4 j Memory Map Enter or leave a debug session SSE O Inline Assembly Fig 19 3 2 C
2. Dialog DLL Paramet Dialog DLL DARMP1 DLL feLPCTIUR TARMP1 DLL EL Fig 11 Step 2 Click on the settings option the Cortex M Target Driver Setup window opens then select SW port After selection of the SW port the ULINK2 detected is as shown in the image below Options for Target Blinky a Device Target Output Listing User C C Asm Linker Debug Utities Settings Use ULINK2 ME Cortex Debugger Settings Cortex M Target Driver Setup Debug Trace Fash Download ULINK USB JTAG SW Adapter ULINK Version Cz Device Family Cortex M aE EEL iw f Automatic Detection ID CODE Manual Coriiguration Device Name PO Deaete Update IR ler J Reset after Connect Stop after Bootloader 10 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 3 Click on Utilities and select ULINK2 Cortex Debugger as shown below AA Options for Target amie x Device Target Output Listing User C C Asm Linker Debug Configure Flash Menu Command Use Target Driver for Flash Programming Settings I Update Target before Debugging T Run Independent Fig 13 Step 4 By Clicking on Settings the Cortex M Target Driver Setup window opens Click on Add to select the flash as shown below Options for Target Blinky as Device Target Output Listing User C C Asm Linker Debug Utilities Configure Hash Menu Command
3. Erase all Flash Code Ad Frot Oscillator MHz Te Erase blocks used by Hex File Interface None ISP Step 3 Hex File Hex File C wwork ngesBlueboard LPCTIU244BLUEBOARD LPC11U24_O 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 WIM esacademy com tagi docs E k ee Fig 33 Step 3 Click Start to flash the hex file Press Reset to run NOTE Make sure that the Board is not powered through USB 22 www ngxtechnologies 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 5 NGX TECHNOLOGIES Fe CT C6 C4 melee e La g Lul i a i 4k amp 27 i mT 23 www nextechnologies com User Manual BlueBoard LPC11U24 37 _ TECHNOLOGIES 6 0 Trouble Shooting For newly created bin file you should update crc Unfortunately the checksum generated is not correct and unless the checksum of the bin file is modified the
4. Dosis Dosis W Beep When Complete Start Debugging Fig 29 Step 4 Click on the Linker tab amp select the Use Memory Layout from Target Dialog then click ok and build the project finally bin file will be created Make RW Sections Position Independent R O Base 00000000 7 Make RO Sections Position Independent a n _ l Dont Search Standard Libraries I Report might fail Conditions as Errors disable Wamings o 19 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Note For newly built bin file you should update crc Refer 6 0 Trouble Shooting for more details 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 ULINK2 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 Practical 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 A Press and hold the ISP button A Press
5. Intemupt Controller N VIC Memory Up to 32 kE on chip Fash ISP and IAF via on chip bootloader software Upto 4kB on chip EEPROM Up to 10kB SRAM 8 kB main 2 kB USB 16 kE boot ROM ROM based drivers Power profiles 32 bit integer division routines Gerrard eae HID MSC and CDC Ctrl 5 Print Ctrl F Frint Preview 1 blinky 2 blinky 3 memory 4 F BlueBoard LPC11U24 sd 5 LPC11U24 spi 6 BB LPC11U24 main 7 gled_platform_IpeliUi24 16 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 6 Save the file with some name Td Save As ed 5 d New folder X A Search New folder Organize v New folder w Favorites ae MB Desktop _ blinky plg Bb Downloads amp blinky S Recent Places L blinky_Target 1 dep asm startup_LPC11Ux Libraries 8 Homegroup jE Computer amp asics File name dblinky c i Save as type a Hide Folders Fig 25 Step 7 Add the file to the source group as shown in the below image File Edit View Project Flash Debug Peripherals Tools SVCS Window Help 0g Hu g aala e PRARB a SetOutReport Alt F7 Open File Open List File Open Map File L Build target Translate File Build Output Add Group Remove Group Source Group 1 and its Files a Manage Components Add Files to curre n r E 17 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 F
6. for ULINK2 and BLUEBOARD LPC11U024 37 Board The BlueBoard LPC1 1U24 37 board has on board 20 pin SWD box the ULINK2 is not a part of the BlueBoard LPC1 1U24 37 package user need to buy separately To run the BlueBoard LPC11U24 37 examples you need the following components and the image shows the each components e ULINK2 e BlueBoard LPC11U24 37 Board e USB type B cable Fig 9 Connections of components are as shows in the following image Fig 10 The above setup is ready to use for development in Keil IDE 9 www nextechnologies com User Manual BlueBoard LPC11U24 37 NN 2 4 Configuration of ULINK2 Debugger The configuration flow of ULINK2 Debugger is 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 option and select the ULINK2 debugger as shown in the image Device Target Output Listing User C C Asm Linker ebug utiities Use Simulator Settings ne ae Limit Speed to Real Time E ae ee Run to mai F Load Application at Startup V Run to main Initialization File Initialization File Edt FLASH ini a m Restore Debug Session Settings m Restore Debug Session Settings MV Breakpoints I Toolbox V Breakpoints MV Toolbox IV Watch Windows amp Performance Analyzer V Watch Windows W Memory Display V Memory Display CPU DLL Driver DLL Parameter SARMCM3 DLL m SARMCM3 DLL
7. 78 bytes 2 Dirts gt 22 316 539 964 bytes free C2 Worksngx B lue board_LPC11024sBLUEBOARD_LPC11024_Documents BLUEBOARD_LPC1i1U24_D ocuments Blue Board_LPC1i1U024 Source_programs BLUEBOARD_LPC11U024_KETL_with_GLCD B linky Keilworkspace 0bj gt lpcerc Blinky bin succesfully updated crc to ef fFFPh3 Fig 35 24 www nextechnologies com User Manual BlueBoard LPC11U24 37 7 0 CHANGE HISTORY 7 1 Change History Rev Changes Date dd mm yy By Initial release of the manual 18 06 2012 Veeresh Tumbaragi 8 0 REFERENCES In addition to this document the following references are included on the NGX BLUEBOARD LPC11U24 37 product 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 Keil uvision 4 23 http www keil com download product 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 elec
8. Flashing the board using USB ssneessessssssserssssssssscerrssssssssceersssssssseeresssssssscereeosssssseeereesssssseeeeeeo 21 Ano Flashine the Hex e ROU Oli UAR Dossi anea EE EEA EREE 22 30 OC Me MIA Ce Board Layo t oa eiereroteatetcnctiasedeumeenonototies ebenadewsonstieaelnansinet tetelsaadeustoectiesebeanaiastseenaeleestias 23 ie AE a vat cae ste E tecogso esasesqsasseereaacesoredtecedee seas saeaseneaanqaredtuceeveva ssesesass 23 D2 OAmGh AY OU 5 cater sseceuatiotes Mat stamenctiasauicnt asabeuctintons E E seat anion E A E S 23 OOO IS SOO UO E E E E A E A A A A E E 24 LOC HANGE TIS TOR Y oee E E 25 TARO FC LISTON Ys E T E A E E A E E T E T 25 SO RECPERENCE apse a E E nesses 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 M0O 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
9. LPC11U37 board please refer to NGX website 4 www nextechnologies com User Manual BlueBoard LPC11U24 37 NNN 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 coupled tightly with any one particular combination of IDE and debugger The following sections will explain the setup for KEIL and ULINK as the IDE and debugger respectively 2 2 Installation amp Configuration of KEIL software The Installation of KEIL software is explained below Note We have used Keil uvision version 4 23 while creating the User manual for this evaluation kit Please ensure that you are using uvision version 4 23 or above Step 1 Open the keil setup N Search Keil setup 423 Organize v Open Burn New folder 4 ii lll 4 z ab gt Computer gt New Volume G Keil setup 4 23 7 SS e EE E gt SE EL _ VS EE Jr Favorites cw Libraries Run as administrator Troubleshoot compatibility a Homegroup 7 Zip gt TortoiseSVN gt jE Computer linia a OS C Add to archive Add to mdk423 rar Compress and email c New Volume F ca New Volume G cy Microsoft Office Click to wm XR Compress to mdk423 rar and email Pin to Taskbar Fig 2 5 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 2 Keil uvision4 23 information Click on N
10. User Manual BlueBoard LPC11U24 37 NEN BlueBoard LPC11U24 37 T 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 Any external connection ma
11. age 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 a inch Tr Folders Ha as es gt Firmware bimn i rim ML media File bin pe 32 0 KB of My Computer Fig 31 Flashing the bin file Drag amp drop D OLX Fie Edit Yiew Favorites Tools Help ar Q Back v amp x E po Search mar Folders BA z Address D x gt Go File and Folder Tasks Other Places a W My Computer My Documen ts My Network Places Details 0 objects 0 bytes 9 My Computer YW Fig 32 Note For newly built bin file you should update crc Refer 6 0 Trouble Shooting for more details 21 www ngxtechnologies 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 GH AB VES Y w 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 O 002000 0 002F FF Erase block 3 0s003000 0s003FFF Baud Rate S600 S Erase block 4 0x004000 0x004FFF Erase black 5 0x005000 0 005F FF
12. de 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 IN WOM TOWN e E E 4 2 0 BLUEBOARD LPC11U24 37 Development Tool Setup ceccsseccccecceeeeeeeseeeceeeeesaaeeeeseeees 5 D7 A ME I COU C8 aos sires heat E E E astatinend ones taeeen E E anautaesensceneeaatas 5 2 2 Installation amp Configuration of KEIL software cccccccccssssssseccececcceaeenseeecceceeeeaaeeseeeceeeeeeaeaaeaees 5 2 3 Setup for ULINK2 and BLUEBOARD LPC11U24 37 Board ccc ccccnseseseeeeeeeeeenaeeeeees 9 2 4 Configuration of ULINK2 Debugger sss cttea semana erence sanuiadrenaactevdemenacapkancduvssniwadsonuedueesezeneeneectieoses 10 3 0 BLUEBOARD LPC11U24 37 Software Development cccccssssseeeeeeeeeeeaseeseeeeeeeeeeeaaaeeeees 12 JL Executing the sample OCC IS ceecee ten Sea cueaeanatnoneopiaaesGenetnennceussoreunatmorecpiodies 12 Di CAEN INV ONO e E N 14 Dig Gt Bn eS e EE E E E E 18 4 0 BLUEBOARD LPC11U24 37 Programming seeeeeessessssssssssssseererereesssssssssssseseeeeereereeesssssssssssseeeee 20 EPO ano Op O e E E E 20 All On Chip Dootloader USB or UAR Tjoemen a A SERE 20 4 1 2
13. e 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 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 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 nextechnologies com
14. er Tasks gt L4 Other Places l 9 binky uvopt ii pa LWOPT Fie binky i 61KB C My Documents Qiy Compute haa BAF My Network Places SKE Details T blinky uvquiNGat A binky uvgui_NG 12 bak NG Fi m BAK Fie 146 kE i 146 kE binky Blinky dep binky uvopt bak DEP Fie pi BAK Fie 2kB i ol kE Fig 15 Step 3 This launches the IDE File Edit View Projet Flash Debug Peripherals Tools SVCS Window Help Ga P i jE ff G LPC_IOCON Binky BFN a 3 system_LPC11Uxx c a Abstractbt B blinky c os _ _ ene Source o H blinky c j a Startup int main void e E startup LPC Uos H 2 system_LPC11 Wc a Documentation Abstract tet while 1 led test LPC GPIC gt DIR 0 TEST LEDi TEST LED2 Build Output Fig 16 12 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 4 Click on Build to build the project as shown in the below image WoueBoard PC LE hs HL ara y File Edit View Project Flash Debug osiniananin Tools SVCS Window Help jaa g i BS A r Pe y m z E jE i a LPCIOCON 2 e ES EF Blinky F A q system_LPCLL Uae E Blinky As Source H 2 blinky c Ey Startup int main void startup_LPC11Lsa s i H E system_LPC11Uba c 4 5 Documentation LPC _GPIO gt DIR 0 TEST LED1 TEST LED 2 while i i led test
15. ext Setup MDK ARM V4 23 Welcome to Keil p ision KE fi L Release 12 2011 Tools by ARM This SETUP program installs MDK ARM W425 This SETUP program may be uted to update a previous product installation However You should make a backup copy betore proceeding lt iz 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 Terms amp conditions Setup MDK ARM V4 23 License Agreement YY KE j L Flease read the following license agreement carefully Tools by ARM To continue with SETUP you must accept the terns 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 is 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 CKING AGREE OY INSTALLING OR OTHERWISE USING OR COPYING fel vVisiond Setup eee K hen O Cancel _ Fig 4 6 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Step 4 Provide the destination path and Click on Next Setup MDK ARM V4 23 Folder Selection YY KE i L Select the folder where SETUP will install
16. f Use Target Driver for Flash Programming ULINK2 ME Cortex Debugger Cortex M Target Driver Setup Debug Trace CEE oma Download Function Eg of Grase Sedos V Verny On chip Flash Donot Erase W Reset and Run LPC122 IAP 128kB Fash On chip Flash LPC1ba 12x IAP 16kB Fash On chip Flash Programming Algorithm LPC tex Tce IAP 24KB Hash On chip Hash LPT ba 1 231 ox IAP 32k On chip Hash LPC122 IAP 48kB Fash On chip Hash LPC122IAP 64kB Flash On chip Flash LPC1 Tc 1 ax IAP 8k B Flash On chip Flash LPC122 IAP 280kb Flash On chip Flash LPC122 IAP 96kB Flash On chip lash LPCT Ax IAP 128KB Hash On chip Hash LPC1 Acc IAP 256K Hash On chip Hash LPC1 Ax IAP 32kB Fash On chip Flash LPC1 fix IAP 512kB Flash On chip Flash LPC1 cx IAP 64kB Flash On chip Flash MBSBFS00 2566 Hash On chip lash Fig 14 Click OK to complete the ULINK2 Debugger configuration 11 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 NEN _ TECHNOLOGIES 3 0 BLUEBOARD LPC11U24 37 Software Development 3 1 Executing the sample projects The sample projects are provided with the available kit Steps to execute the sample projects Step 1 Open the project folder Step 2 Then open the file project_name uvproj eg blinky uvproj i C Work ngx Blueboard_LPC11U24 BLUEBOARD_LPC11U24_Documents BLUEBOARD _LPC11U24_Documents Blue B 2i Folder Sync Fie Edt View Favorites Tools Help CES a ue Seah ted File and Fold
17. files Tools by ARM SETUP will install vision in the following folder To install to thie folder press Next To install to a different folder press Browse and select another folder ell pising Setup ge Back Cancel Fig 5 Step 5 Fill your Personal information and Click on Next Setup MDK ARM Customer Information YY KE f i Please enter your information Tools by ARM Please enter your name the name of the company for whom you work and your E mail address First Mame Company Mame NGet Technologies Pwt Ltd Kel p isiond Setup Fig 6 Step 5 Click on Next 7 www nextechnologies com User Manual BlueBoard LPC11U24 37 Setup MDK ARM V4 File installation completed KE i L Tools by ARM Wisan Setup has installed all files successfully if Retain current pvision configuration Iw Add example projects to the recently used project list Preselect Example Projects for Simulated Hardware Kel pisong Setup Cancel Fig 7 Step 6 Keil uVision4 23 setup is completed Click on Finish Setup MDK ARM V4 23 Keil p ision4 Setup completed YY KE L MDK ARM Y4 25 Tools by ARM vision Setup has performed all requested operations successfully W Launch Driver Installation ULINK Pro Driver Y1 0 W Show Release Notes Keil pising Setup n D cra Fig 8 8 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 NNN 2 3 Setup
18. firmware will be rejected by the USB bootloader Thankfully this is relatively easy to fix There is free utility to fix the checksum A pre compiled version for Windows named Ipcrc exe is also located in the root folder To fix the checksum simply go into the command line and go to the root folder where both the Ipcrc exe tool and your bin file are located the file will be named firmware bin unless you have modified the Makefile and enter the following command Fixing the firmware bin Checksum Ipcrc firmware bin ey CO WINDOWS system3 2 cmd exe Directory of C Work ngx Blueboard_LPC11U24 BLUEBOARD_LPC11U24_Documents BLUEBOPY ARD_LPC11024_Documents Blue Board_LPC11024 Source_programs BLUEBOARD_LPC11U024_KEqe IL_with_GLCD Blinky Keilworkspace 0hbhj 12 09 2011 65 51 lt DIR gt 12 89 2611 65 51 lt DIR gt ns 12 09 2011 65 51 16 112 Blinky axf 12 89 2611 65 51 1 300 Blinky bin 12708 20911 12 49 31 238 blinky crf 1270872011 12 49 366 blinky d 127 0972011 85 51 3 717 Blinky hex 12 69 2011 85251 15 275 Blinky htm 12 69 2611 65 51 339 Blinky Inp 12 08 2011 12 49 33 624 blinky o 12 09 2011 65 51 572 Blinky plg 16 18 2611 65 68 479 Blinky sct 12 69 2011 85251 1 889 Blinky tra 11 89 2611 85 84 19 ExtD1ll iex 3 22 2811 12 49 47 342 lpcrc exe d27 087201i 12 49 4 344 startup_LPCi1Uxx o 12 06 2811 12 49 34 458 suyustem_lpciluxx crf 12 08 2011 12 49 456 system_lpceliuxx d 12768726011 12 49 37 348 system_lpciluxx o 17 Filets 228 8
19. ig 26 Step 8 Select the file and click on Add as shown in the below image Add Files to Group Source Group 1 eel Look in Jo New folder Name p blinky Date modified 20 06 2012 11 18 i i File name Chir gt Files of type lc Source file c Close Fig 27 Step 9 To build download and debug follow the steps 4 5 and 6 in section 3 1 3 3 Creating Bin File For creating bin file follow the below steps Step 1 Open the project amp click Target Options and a window will appear NXP founded by Philips LPC11U24 401 Xtal MHz Operating system None Y System Viewer File Sfr SFD NXP LPCT 1Ubx LPC11 Ub SFR m Read Only Memory Areas default off chip Start Size Startup r room c C Roz fe a aes 6hsdS ein eeiie iROM1 0 08000 ane r 18 www ngxtechnologies com User Manual BlueBoard LPC11U24 37 Fig 28 Step 2 Check the device amp the start address of IROM1 should be 0x0 Step 3 Then go to the User tab amp insert the below line in the Run 1 fromelf bin Obj file axf output Obj file bin Device Target Output Listing ser C C Asm Linker Debug Utilities Run User Programs Before Compilation of a C C File Run 1 ac DOS16 M Runga ao Dosi Run User Programs Before Build Rebuild Run 1 l 7 DOS16 fromelf bin XObj Blinky f output Obj Bliriky bin
20. reating New project Follow the below steps for creating new project Step 1 Open the keil IDE Troubleshoot compatibility Open file location Tortoises VN Run as administrator T Zip Add to archive Add to Uv rar Compress and email Fig 20 14 www nextechnologies com User Manual BlueBoard LPC11U24 37 Step 2 Click on to the Project tab new uvision project 7 le f g f i uvision Proiect Ee 3 ri P e stat anne i LO OPEM Hipi New Multi Project Workspace Open Project Project Close Project Export Manage Select Device for Target Remove Item a Options Clean target LE Build target E Pr e itis Rebuild all target files Build Output _ i Batch Build Fig 21 Step 3 Give project name then click Save Ei Create New Project x yf Scorch Newfolder Organize New folder ir Favorites Ml Desktop p Downloads E Recent Places No items match your search Libraries a Homegroup jE Computer L os c File name blinky save as type w gt Hide Folders 15 www negxtechnologies com User Manual BlueBoard LPC11U24 37 Nia Step 4 Select the controller Note Both LPC11U24 and LPC1I1U37 are pin and binary compatible we can select LPCI1U24 device for BB LPC1I1U37 LPC11U24 401 ARM Cortex M0 processor ioe Le E 50 MHz Vectored
21. 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 The LPC11U24 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 20 www nextechnologies com User Manual BlueBoard LPC11U24 37 NTA 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 stor
22. tronics 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 25 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 assistanc

Download Pdf Manuals

image

Related Search

Related Contents

Istruzioni per l`uso  Istruzioni d`uso VEGABAR 83  Dicota BlueLight  User`s Manual  Mode d`emploi 555 880  Scan 1200  DW911ES / DW911EB  Manual Lince II - Todo-POI  Worldwide Homefurnishings 203-768BN Instructions / Assembly  

Copyright © All rights reserved.
Failed to retrieve file