Home
        For LPC-Xpresso with NXP LPC-Link
         Contents
1.     Flash Driver  Flash driver   LPC18504 435504 SPIFLoche          Code Read protect  CRP selection   None       Erase flash memory    Select file   FAXplorer releasehFinal Release LPC1830 Xpl    SUI    Erase Options  O Mass erase    Fig 42    Step 6  Wait till the download process is completed then RESET Xplorer twice to restore the    Xplorer    3  factory defaults       3  DINnKy vepug iauncn 92 p   B Blinky Release launch E E g ee   zross  i  EE CMSISV2p10 LPC18xx DriverLib S 4  eS LPC1830 Xplorer Audio oc    LPC1830_Xplorer_Blinky 96       tS LPC1830 Xplorer Ethernet  E LPC1830_Xplorer_ExtInt          E Pre lomom OO           Quickstart 23 69  Variables     Start here  fej New project                            4  RRR RRR RRR   o    e  o so   e      e leo do ka lada dodo dodo do   o da da ko lo ka la ala  x  x               x    EGbrief Reports the name of the source  where the CHECK PARAM error has   param in  file Pointer to the source file    sc           s   a    e        2 Import project s    Build all projects  Debug      Build    Blinky     Debug    S Clean Blinky  Debug    5 Debug    Blinky     Debug         3 Quick Settings v       Details  gt  gt             Project and File wizards          Import and Export                   le  lt 1 Downloaded 28928 bytes  gt   a     26 www nextechnologies com    User Manual  LPC1830 Xplorer       5 0 Schematic  amp  Board Layout    5 1 Schematic    This manual will be periodically updated  but for the latest documentations
2.   25 Import project s  from XML Description             y Smart Import wizard          Console 23  No consoles to display at this time        Bi  X Develop      v v         m      gt  B      Welcome 23  O        S file   C  nxp LPCXpresso_4 2 2_275 lpcxpresso pages registered htm    LPCXpresso4 is fully activated    Welcome to LPCXpresso 4  The software is now fully activated  and can be used for production  LPCXpresso can be used to       generate and download applications containing up to 128KB of code into an LPC target 1       powered by dicode red    Getting Started    Please read the getting started guide for step by step instructions to build your first LPCXpresso project      LPCXpresso Getting Started Guide    The Red State Guide provides information on using Red State state machine generator within LPCXpresso          LPCXpresso Resources    Check the LPCXpresso Support page for new LPCXpresso software releases  more example projects  and announcements       Visit www nxp com Ipcxpresso support    LPCXpresso Forum   The LPCXpresso Forum community is exclusively built for LPCXpresso users and is an invaluable resource for getting help an   advice on use of the LPCXpresso tools and boards    unit  T        r H    3      O         Sn net connected and inin the   PC X  nresen comm        lt             B  Problems g Memory MI Red Trace Preview    Fig 6    www nextechnologies com    User Manual  LPC1830 Xplorer    Step 3  Click on Browse to select an archived project  zi
3.  E v K               a  Z Blinky    oe   agger da ao  Fu uP ae   eee  a an a pro hit    b ERE E    i    Step Return     main  ca 0x100002f0  a  24 sre     Run to Line Ctrl R  p     crstartup_Ipel 8c  F Use Step Filters 2 ee HHHEHNASE a ar           b gt   ej main c linker to generate wrapper ct     gt   3 Debug  4  External Tools and initialize and copy coc               Blinky Debug  launch ke     LOOLTSELS  the entry point is through _  36 file  and that startup code will setur    Blinky Release  launch  b E CM5b gt v  pl   LPC1Bx DriverLib   gt  E LPC1330 Xplorer Audio     gt  LPC1830_Aplorer_Blinky   gt  5  b 5       87 int main  void           LPC1830_Aplorer_Ethernet  LPC1830_Aplorer_Extint  De eT ets bes ee           34    brief Reports the name of the    j oc            e    CH i     Start here a    35 where the CHECK FARAM eri  Fig 37    23 www nextechnologies com    User Manual  LPC1830 Xplorer iNT xa       4 0 Restoring Xplorer to Factory Defaults    4 1 LPCLink and LPCXpresso    Download the binary files from the NGX website and unzip file to restore the factory defaults for the  Xplorer  the user needs to flash LPC1830_Xplorer_PeripheralTest bin file in Xplorer and RESET the  board     Steps to restore the factory defaults for Xplorer     Step 1  Open LPCXpresso and click on    Program Flash        E Develop   Blinky sre main c   LPCKpresso M tT    File Edit Source Refactor Navigate Search Run Project Window Help       B  aO   B   v E R da BG EB      A v    1  Pr
4.  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    BO RESET Re g  i NM  nts IF  s  1111 1111 u3 TA   FB2    Ta   oon        US     N  o     s  o       3    A  ta   a     FB       Feson g   TP  1 ress CTP U    EET ie IM     3o  m    East giae  T yei  Designed by NGX and NXP       SILKSCREEN TOP SIDE    Fig 44    R26 ME  s  NR    o       2D  w w     a  10 0000000000000000000000000 a a    aje a m S    5  T  8  0  D  w    i           27 www nextechnologies com    User Manual  LPC1830 Xplorer       6 0 CHANGE HISTORY    6 1 Change History  Rev Changes Date  dd mm yy  By    Initial release of the manual 29 03 2012 Ashwin Athani    e Added section for Restoring   10 04 2012 Nagaraj Baddi  Xplorer to factory defaults in  LPCXpresso   e Added section for setting up  LPCXpresso for LPC1830       e Creating a sample Blinky 12 06 2012 Nagaraj Baddi  Project 1s added    28 www nextechnologies com    User Manual  LPC1830 Xplorer         TECHNOLOGIES    About this document   Revision History    Version  V1 1 author  Nagaraj Baddi    Company Terms  amp  Conditions  Legal  NGX Technologies Pvt  Ltd  provides the enclosed product s  under the following conditions     This evaluation board kit 1s intended for use for ENGINEERING DEVELOPMENT   DEMONSTRATION  and EDUCATION OR EVALUATION PURPOSES ONLY and 1s not considered  by NGX Technologies Pvt  Ltd to be a finished 
5. 0x10080000 01 2000  RamAHB32 0x20000000 0x8000  RamAHB16 0x20008000 0x4000          RamAHB_ETB16 0x2000000 0x4000    a                 20 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 20  Click Apply  OK and OK to completing     SPIFI flash driver        Memory details   Flash driver  LPC1850A 43504 SPIFI cfx    Memory Type Name Location Size  SPIFlash 0x14000000 0x40000  namLocl z    RamLoc72 0x10080000    RamAHB32 0x20000000    RamAHB16 0x20008000  RamAHB_ETB16 0x2000c000        Restore Defaults                   Fig 33    om D  M                 ad    i For your changes to fully take effect  you must press OK on the Properties Dialog              Fig 34    21 www nextechnologies com    User Manual  LPC1830 Xplorer TATA       Step 21  Right click on    Blinky Project    and click on    Build Project     build must be error free     E Develop   Blinky sre main c   LPCXpresso E O    File Edit    Source Refactor Wavigate Search Kun Proves Mindor                i b  New   ae  Go Into  ain c   i  Open in New Window be o      a   Copy Ctrl C E he  Paste Ctley P    T      Delete Delete Jinta  Move    bf  Rename    P F 1     Import       Export    r  ifde         Bf eee  Build Project        b  Clean Project id  Refresh F5   apy  Close Project b   Gre    Close Unrelated Projects oe   TI ee ee ha    Fig 35    Step 22  After successful build  click on Debug as shown in the following image   E Develop   Blinky sre main c   LPCXpresso ME OOOE a a  File Edit Source 
6. 30 Xplorer Pe    I  S   g Import        TES LPCIEBO Xplorer Sq or LPCXpresso  4 is f   gt  S LPC1830_Xplorer_Sd c a      g k Welcome to LPCXpresso 4  The   gt  LPC1830_Xplorer_Ug Build Project generate and download applicat   gt  S  LPC1830 Xplorer U     li     ES LPC1830 Xplorer Us 3 Getting Started   gt     LPC1830_Xplorer_Us    Refresh F5 Please read the getting started g  Close Project      LPCXpresso Getting Starte  Close Unrelated Projects x The Red State Guide provi  i 1 2      O Quickstart     N FV Build Configurations  gt  LPCXpresso Resources     Start here Make Targets  gt  Check the LPCXpresso Support     Project and File wizard Index   Visit www nxp com lpexpr     Import and Export Convert To    LPCXpresso Forum    g Import archived projec Run As  gt  The LPCXpresso Forum commun  Debug jf  gt  advice on use of the LPCXpress     Import exisiting project So  get connected and join the L  a Profile As  gt   HEH Import project s  from   To view the forum  and to rec  Team d z  gt        Import files into  LPC18 Compare With     Fr Problems   O Memory  M Red Trace Previe      Export projects to archi Restore from Local History    ay at this time         Export projects and ref   Launch Configurations  gt         u Smart Import wizard Smart update  gt     Delete Launc  U     Build and Settinas Utilities  gt   W   Create Launch Configurations  O   tS LPC1830 X Properties Alt  Enter       Fig 10       www nextechnologies com    User Manual  LPC1830 Xplorer       Step 7  
7. Location to 0x14000000 and size to  0x40000 then click Browse   as shown in the following image       an aan        B a    Memory configuration editor  Edit configuration for LPC4330       Flash driver selection    Flash driver      Memory configuration    Name Location Size   RamlLoc72 0x10080000 012000  RamAHB32 0x20000000 0x8000  RamAHB16 0x20008000 0x4000  RamAHB ETB16 0x2000c000 0x4000    0 ED ED            19 www nextechnologies com    User Manual  LPC1830 Xplorer iNT xa       Step 18  Select the  LPC18550A 4350A SPIFI cfx file     the    LPC1850A_ 4350A SPIFI cfx file    is  normally found at LPCXpresso installation folder  here is the path      C  nxp LPCXpresso_4 2 3_292 lpcxpresso bin Flash     click Open         Flash driver  a    r  eS  1     Ipexpresso   bin   Flash v        presso  gt    TY    Organize v New folder    LW Favorites Date modified    a 30 05 2012 AM 04     MI Desktop 30 05 2012 AM 04     a Libraries    s 30 05 2012 AM 04       Documents  _  SST39VF3201x_Hitex_LPC1850A_4350A cfx     30 05 2012 AM 04     a Music  fe  Pictures  F Videos  B Nagaraj       Computer  th Network  M ARHISHFK 11                   v  4   U    File name  LPC1850A _4350A_SPIFI cfx  cfx x       Fig 31    Step 19  Select Flash and click on Up button until it reach first position  then click OK     Flash driver selection    Flash driver   LPC1850A 43504 SPIFI cfx    Memory configuration    Name Location Size      SPIFlash 0x14000000 0x40000  RamLoci28 0x10000000 0x20000  RamLoc 2 
8. Refactor Navigate Search Run Project Window Help     A ealm    amp       JE   Eh meso    Ges      4 Project Ex  3  gt  au  Core Regi      Perif Debug    Blinky  Debug  P E n      EE is da dei Tali he Pa  a m es    lls  i i os ee T  el el a A               83 allow the linker to gener   a ic Blinky    24 heap area  and initialize  b Hi Includes 235 toolsets  the entry point    i    a  3 sre file  and that startup coc  p fa  cr startup Ipd   c  b  ie  main c  b    CMSISv2p10_LPC18xx_DriverLib  b LS LPC1830 Xplorer Audio          nt main  vo1d     return c entryl      io fo Cm fo co  co   a j    D lo     imya       b E LPCI 830_Aplorer_Blinky    z       b i LPC1830_Xplorer_Ethernet A 5     pA oe PITT TIE TIE TI TY  b E LPC1330 Xplorer Extlnt 94   fbrief Reports the r  b LS LPC1830 Xplorer Peripheral Test 35   where the CHE  b E LPC1830_Xplorer_Sct 56   param in  file Pointer  t E LPC1330 Xplorer Sdcard 37   param in  line assert     b tS LPC1830 Xplorer Uartlnt 98   return None o  s In 102N ee A EE S y PE O09 eee ee ee ee ee ee dd    Fig 36    22 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 23  Click Resume for free running  the LED D2 and D3 are start blinking on Xplorer             ES Develop   Blinky srcfmain c   LPCXpre   Firmie Some meat Navigate Search   Run   Project Window Help  ri  H Bi    def   SE  Suspend     3 Mroject Ex 22      aot Core Regi at Periphera   m Temi  erminate      gt     MCU Application        Step Into sigh       BO         a    
9. Select    LPC1830 Xplorer Blinky Debug    then select Debugger and select    NXP LPC18xx   SWD  option    and click on Apply        s      Debug Configurations    Create  manage  and run configurations          Seax ex    Name  LPC1830_Xplorer Blinky Debug    fe   C C   Application  fe   C C   Attach to Application Stop on startup at main    Debugger Options    Target configuration Main      Debugger options  NXP LPC1830  cortex  m3   NXP LPC18xx  SWD      XP LPC18xx  SWD         AU                     Launch Group             Configuration Option   abf  Crystal  XTAL  frequency and PLL value   z  Vector catch    82  Enable Red Trace     Semihosting support   ie  Debug interface                         4   U    Filter matched 6 of 6 items    O                             Fig 11    Step 8  After building project click on Debug        E Develop   LPC1830_Xplorer_Blinky src ma PCA Pre  File Edit Source Refactor Navigate Search Project Run Window Help  9 HB6lRB ae  6     S Nu BBC    Ba    E Project Ex Eg N Core Regi      Periphera         I  CMSISY2p10 LPCIB x DriverL  b         E LPC1830 Xplorer Audio   HNA E ee  uthor    l l  Fate alo   I    2 ll a Version    ik  Binaries l S i M 1     Includes 6 Copyright   Copyright  C   a  7 Description   main definition  src a a   ej cr startup Ipl  ax c gwy   ic  main c 10     Debug   11 ifdef _USE_CMSIS  abstract txt 12  include  LPCIBxx h   3 LPC1830_XAplorer_Ethernet 13  endif  i LPLI1B3U   Aplorer Extlnt 14     LPC1830_Xplorer_Peripher
10. User Manual  LPC1830 Xplorer       LPC1830 Xplorer    aaa aa    eri            9    x     TPATPSj    Ces cez  Ti    J m a     t        Designed by NGX ond nNxp  R23        www nextechnologies com    User Manual  LPC1830 Xplorer         TECHNOLOGIES    About NGX Technologies    NGX Technologies is a premier supplier of development tools for the ARM7  ARM Cortex MO  M3 and  M4 series of microcontrollers  NGX provides innovative and cost effective design solutions for  embedded systems  We specialize in ARM MCU portfolio  which includes ARM7  Cortex MO  M3  amp   M4 microcontrollers  Our experience with developing evaluation platforms for NXP controller enables  us to provide solutions with shortened development time thereby ensuring reduced time to market and  lower development costs for our customers  Our cost effective and feature rich development tool  offering  serves as a testimony for our expertise  cost effectiveness and quality     Contact Information     NGX Technologies Pvt  Ltd    No 216  5th main Road  R P C  Layout   Vijayanagar 2nd Stage    Bangalore     560 104   Phone    91 80 40925507   email sales  ngxtechnologies com    CE certification     NGX Technologies LPC1830 Xplorer board has 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 p
11. alTest 15 finclude   cr section macros  h gt   Ee LPC1830_Xplorer_Sct 16 include  lt NXP crp h gt   17  Fig 12    10 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 9  Click Run and select Resume  F8  to start debugging the project  The two LED   s  D2 and D3     start blinking on Xplorer         Develop   LPC1830_Xplorer_Blinky src main c     File Edit Source Refactor Navigate Search Project   Run   Window Help             H HBeaela were B  A Ey Bt     ES Project Ex xih ooi Core Regi i    Periphera    o i  in   Terminate B    E z P ug  C C   MCU Application       tep Into   ore ae  EE CMSISv2p10_LPC18 0 DriverLib a A ai  gt  LG PRA ae   i ote Ver r  r  E3 int hr  E LPC1830_Xplorer_Audio   r  S LPC1830 Xplorer Blinky  f Step Return 7 pp 0A400020  s Binaries Run to Line Ctrl R  inj  Includes Use Step Filters   EERE   4 src     to generate wrapper cod   i  cr startup Ipl8x c External Tools PASARAAES   SEDU SEE   ej z       onen ry point is through s  BD a   86 file  and that startup code will setup s  Debug  abstract tet       LPC1830_Aplorer_Blinky Release launch     LPC1830_Xplorer_Ethernet  4 LPC1830_XAplorer_Extint  15 LPC1830_Xplorer_PeripheralTest 92 g ifdef DEBUG    mE   e403 Valnenr             ga PRR Ree REE REE ee ee eee ee ee ee ee k k k E             U  Quickstart  3   b9  Variables     e Breakpoin    O g4    brief Reports the name of the sou  _ A 95   where the CHECK PARAM error      Start here s li         T pe Olos  rares 96  param in  file Poi
12. as shown below image        Develop   pr  Edit Navigate Search Run Project Window Help                             _  New Alt Shift N i Project  7  bm A  Open TRE F  Other   Ctrl N    Close Ctrl W  Close All Ctri Shift W  Save Ctri  S  Save As     Save All Ctrl Shift    Revert  Move     Rename    F2    Refresh F5  Print    Ctrl P  Switch Workspace  gt   Restart       Fig 18    13 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 6  Select    LPCXpresso C Project    and click Next as shown in the following image              New Project sol LE     Select a wizard    Wizards   type filter text   gt    gt  General  a    O   C Project    KRAS          m Makefile Project with aa Code  b Ge CVS       Fig 19    Step 7  Select NXP LPC1800 projects   gt     C Project    and click Next as shown in the following image    r    New LPCxXpresso C Project  MXP LPC1800 projects   gt  C Project     gt  WAP LPC1100 projects   gt  MXP LPC1102 projects    gt  NAP LPC11A00 projects    gt  MXP LPC11E00 projects    gt  NAP LPC11U00 projects    gt  MXP LPC1200 projects    gt  NAP LPC1300  12bit ADC  projects   gt  NAP LPC1300 projects    gt  NAP LPC1 00 2 projects    Semihostina c Project       Finish       14 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 8  Give project name  example  Blinky  and click Next     New LPCXpresso C Project  NAP LPC1800 projects   gt  C Project             Project name  Blinky    Use default location  Location    G  Test lpcl830_Xpl
13. cations  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     29 www nextechnologies com       User Manual  LPC1830 Xplorer    Nt xa      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  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     30 www nextechnologies com    
14. ect        allow the linker              file  and that st  6 int main void        Close Unrelated Projects         om tin Ob G amp G  AD    eT  O  0   gt        D  ct      a   1  ry     m   D  s    ct       Build Configurations  gt   Make Targets  gt               return c entry         OD tp  y         Index    12 al      i ifdef DEBUG    Po RR Re RR ee    Convert To     Run As  Debug As  gt   Profile As g  Team    Compare With  gt          ho    3   brief Repo            an             onsole 33  gt  Br Problems   g  inated gt  Blinky Debug  C C   K            Restore from Local History              Launch Configurations S              5 Revita all Smart update       Utilities             closed by GDB           Properties    18 www nextechnologies com    User Manual  LPC1830 Xplorer    Nt xa       Step 16  Select C C   Build   gt     MCU settings    and click Edit   as shown in the following image       Poy ny em    type filter text   MCU settings       Resource LUJU  Builders LPC4350 M0    mag  C   Build aa Target architecture    build Variables  Discovery Options cortex   Environment    ria    Memory details    Flash driver     Settings Name Location Size   Tool Chain Editor Ramloc128     0x1000    0x20000  C C   General RamLoc72 0x1008    0x12000  Project References RamAHB32     02000    0x8000  Run Debug Settings RamAHB16     02000    0x4000  RamAHB_E        0x2000    0x4000                      Step 17  Click    Add Flash     rename    new Flash    to SPIFlash  edit 
15. 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 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 appli
16. extechnologies com       User Manual  LPC1830 Xplorer          Step 5  Right click on    LPC1830_Xplorer_Blinky    and left click on    Build Project            Er Develop   Welcome page   L presse  File Edit Navigate Search Project Run Window Help  New b   ri         b  e          Go Into    Open in New Window                 Sey Ctrl C  fle   Ci nxpiL  Paste Ctrl V  Aud   Delete Delete  Move     Rename   F2       9 Import     gg Export     LPC1830_Xplorer_Ua    op a Clean Poa  LPC1830_Aplorer_Usk  Fp   s  LPC1830 Xplorer Usk     Refresh F5  Close Project  Close Unrelated Projects  a i da L      Te a Va Build Configurations b  Make Targets   amp  Project and File wizards index N      Fig 9    Step 6  The default    Debug Option    will be JTAG  If user needs to debug from JTAG skip the following  steps and continue from Step 8   for selecting a SWD debug option  right click on  LPC1830 Xplorer Blinky project  go to    Lunch Configurations    then select    Open Current Launch  Configurations           Develop   Welcome page   LPCXpressc  File Edit Navigate Search Project Run Window Help                                        New                      ri     las E  Aj othe Cc   h   M    a Go Into  1010 Ce Open in New Window  Copy Ctrl C file   C  nxp LPCXpresso 4 2 3  292 lpexpresso pa   gt  EE CMSISv2p10_LPC18  Paste Ctrl V    ES LPC1830 Xplorer Ai   Delete Delete  Suz LPC1830 Xplorer BU  h Move      gt   gt  LPC1830_Xplorer_Et    ES LPCI1830 Xplorer Ed Rename    F2  es LPC18
17. inc   3 SH  eS  ES Blinky E  il Includes  B   Ipc 5 Version  l   cr_startup_Ipcl RE   Copyright   Copyright  C   l   manc 7  Description   main definition    ES CMSISV2p10 LPC18xx DriverLib  EE LPC1830 Xplorer Audio    m             E  LPC1830_Xplorer_Blinky 10   EE LPC1830_Xplorer_Ethernet 11 ifdef USE CMSIS   ES LPC1830 Xplorer Extlnt 12  include  LPC18xx h    ES LPC1830 Xplorer PeripheralTest 13  endif    S LPC1830 Xplorer Sct     jj 14   a LPC1830 Xplorer Sdcard 15  inolude  lt cr section macros h gt   sg LPC1830 Xplorer Uartlnt 16  inolude  lt NXP crp h gt       LE ININ Valarar Hat allinn jj 17  U  Ouickstart 27      9  Variables     Breakpoin   pe ant EO store CRP value in  Will be placed automatically    19   by the linker when  Enable Code Read Protect  selected   20   See crp h header for more information  21 CRP const unsigned int CRP WORD   CRP NO CRP    22  Mj23   TODO  insert other include files here  24    j25   TODO  insert other definitions and declarations here  26  27 int main  void                           o        Start here   ej New project       2  Import project s    Build all projects  Debug    amp  Build    Blinky     Debug    of Clean Blinky  Debug    5 Debug    Blinky     Debug        Quick Settings v       Project and File wizards     Import and Export       Build and Settings     Ve Writable   Smart Insert   LEET Blinky NXP LPC1850            m    4              g Console 23    E Problems   g Memory   Hil Red Trace Preview   M By rmen    No conso
18. les to display at this time                     lt  lt     x F x Ay 1  o consoles to display at this time      N           lt  lt                    Fig 26    17 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 14  Implement the C instructions need to blink a LED on Xplorer and click on Save    Note  Please refer Downloaded LPC1830_Xplorer_Blinky example               f main c   LPCXpress  File Edit Source Refactor Navigate Search Run Project Window Help  wl           i i eae 4  amp  EB   ch   a BB O ee       fet               a allow the linker to     Blinky   84 heap area  and init   Includes 85 toolsets  the entry  B src 86 file  and that star      cr startup Ipel8 x c 81 int main  void        main c 88 1  EE CMSISV2p10 LPCIB x DriverLib   rekuni C entryi    S LPC1830_Xplorer_Audio F a             LPC1830_Xplorer_Blinky     LPC1830_Xplorer_Ethernet     LPC1330 Xplorer Extlnt        52  ifdef DEBUG  03 fee Ree RRR RR EERE                   o 94    brief Report      LPC1830_Xplorer_PeripheralTest 35   le m   gt  LPC1830_Xplorer_Sct K 96    param in  file P     LPC1330 Xplorer Sdcard 37    param in  line a      LPC1330 Xplorer Uartlnt 38    return None  TE I AIIN Valaror arkin m   OO RELLELLLLAELLLLALLLLLLLL Lo       Fig 27    Step 15  To add an    External SPIFI flash    driver right click on    Blinky Project    and click on properties                      Build Project           o   bo   2 n   rv       Clean Project Witt AND alu Gas  Refresh    Close Proj
19. ly with any one particular combination of IDE  and debugger  The following sections will explain the setup for LPCXpresso and NXP LPCLink as the  IDE and debugger respectively     2 2 Installation  amp  Configuration of LPCXpresso software    For installation and configuration of LPCXpresso Click here     2 3 Setup for NXP LPCLink and LPC1830 Xplorer Board    The Xplorer board has on board    10 pin SWD JTAG box     the 10 pin ribbon cable is not a part of the  LPC1830 Xplorer package and the user needs to buy 10 pin ribbon cable separately     To run the LPCXpresso examples you will need the following and the image shown the each  component     NXP LPC Link   10 pin ribbon cable   LPC1830 Xplorer Board   One USB AM to Micro B cable       Xplorer 10 pin Cable    USB AM toMlicro B cable    Fig 1    5 www nextechnologies com    User Manual  LPC1830 Xplorer iNT xa          Steps to setup the LPC Link and LPC1830 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  header notch should facing towards the    NXP LPCLink    mark as shown in the following image     Header Notch       LPCLink Mark  Fig 2            TITA LLL LLL    10 pin Cable    IA P   o   UT       AA A A EA     NXP LPCLink       Fig 3    Step 2  Connect other end of 10 pin ribbon cable to    10 pin box header    of the LPC1830 Xplorer board  and co
20. n  it allows a flash driver to be  allocated for use with parts with no internal flash  but where an external flash  part is connected     Use of hardware Floating Point Unit       Floating point unit  SEIE E    Compiler language dialect    C Dialect   Default    Other options                        16 www ngxtechnologies com    User Manual  LPC1830 Xplorer       Step 12  The new blinky project is created  double click on main c file as shown in the following image                 LPC     E Develop   Blinky sre main c Apress  File Edit Source Refactor Navigate Search Run Project Window Help   r1  HI E NTE Ger        Gh i o        TRS Project Ex 22  1 Core Regi   Z  Periphera      F    2  maine   3  gt      a               1     2  3 Name   main c  4 Author  D Version    Emak    Copyright z Copyrit  Le  mant T Description   main di  E CM5by  plU TP  18 x DriverL  b A a  15 LPC1830_Xplorer_Audio 7 gey  E LPC1830_Xplorer_Blinky 10  a LPC1830_Aplorer_Ethernet 11  ifdef USE CMSI5     LPC1830 Xplorer Etlnt 12  inelude  LPC18xx h      LPC1830 Xplorer PeripheralTest 13  endi    TE   PC1830 Xnlarer Set m 14    Fig 25    Step 13  After double click the main c file will open in LPCXpresso as shown in the following image        E Develop   Blinky src main c   LPCXpresse  File Edit Source Refactor Navigate Search Run Project Window Help             DJ v el B Ber   B   S    i BO COM A E  BW 4  Br rela r io 9 T v v BI  X Develop    T Project Ex 23 aN  Core Regi     Periphera      O       ma
21. nnect one end of    USB AM to Micro B    cable to LPC1830 Xplorer board and other end to  computer  then connect one end of  USB type mini B    to LPCLink and other end to computer     NXP LPCLink    10 pin Cable    Xplore    Fig 4  Step 4  The setup is now ready to be used for development with LPCXpresso and NXP LPCLink     6 www nextechnologies com    User Manual  LPC1830 Xplorer       3 0 LPC1830 Xplorer firmware Development    3 1 Executing the sample projects in LPC Xpresso    Please note that the sample programs are available to download once the product is registered     Steps to execute the sample project     Step 1  Open LPCXpresso  Browse the folder which contains Ipc1830 Xplorer LPCXpresso zip    project and click OK     Select Workspace Directory    oelect a worksp    LPCApresso stores    Choose a workspac          Workspace     Select the workspace directory to use             gt  k ThermalPrinter   gt     usbbootloader_lpcl768  by k User Manual      Use this as the de       Fig 5    Step 2  Click on    Import and Export    then click on    Import archived projects  zip          A Develop   Welcome    LPCX       m       x     o k    File Edit Navigate Search Project Run Window Help    ager SS   A le i g     we  RS    v v   j v    Core Regi   Z  Periphera  m    em     RS Project Ex Dd                   Start here               Project and File wizards               Import and Export    A  gt  7 Import archived projects  zip         3 Import exisiting projects     
22. nter to the source  BE Prmieci and File wirarzk go       Fiha  param in  line assert param error lin  Fig 13    3 2 Creating the sample  Blinky  project in LPCXpresso    Step 1  Open an LPCXpresso v4 2 3_292 or higher version     elect Left File for Compare  Troubleshoot compatibility    Open file location    TortoiseSVN    Run as administrator  Edit with HHD Hex Editor Neo  7 Zip       Fig 14    11 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 2  Click Browse   as shown below        Workspace Launcher       Select a workspace    LPCXpresso stores your projects in a folder called a workspace   Choose a workspace folder to use for this session     Workspace         Use this as the default and do not ask again    Fig 15    Step 3  Please select Ipc1830 Xplorer LPCXpresso folder which downloaded from website and click  OK as shown in the following image     E   ss E  select Workspace Directory So    Select the workspace directory to use       gt  k CMSISv2p10_LPC18xx_DriverLib    gt  di LPC1830_Aplorer_Audio     gt     LPC1830_Xplorer_Blinky   gt     LPC1830_Xplorer_Ethernet    12 www nextechnologies com    User Manual  LPC1830 Xplorer       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  GATestilpc1830 Xplorer LPCXpresso        Use this as the default and do not ask again       Fig 17  Step 5  Click on File   gt  New   gt  Project    
23. ogram Flash       oioi Core Regi         Periphera     O         main c 2       H 5  7  83 allie the Jinker PO     4 S Blinky 84 heap area  and initi  s Binaries   85 toolsets  the entry  in  Includes   6 file  and that start  4  B src int main void     cr  startup  Ipcl8xx c   of      main c 3   gt    gt  Debug     Blinky Debug launch  3  Blinky Release launch          return c entry          92  ifdef DEBUG    QR      kk kk RRR RES        si    J    CMSISv2p10_LPC18xx_DriverLib 94  Gbrief Reports   5 LPC1830 Xplorer Audio 95   here t    E LPC1830_Xplorer_Blinky 96   param in  file Pc  E LPC1830_Xplorer_Ethernet   97   l     param in  line as  LPC1830  Xplorer Extlnt    SNP    98   Greturn None    Fig 38    Step 2  Click on Browse     Program Flash    Program target flash  LPC18xx  NXP LPC1830 on    Options        Display progress log   Reopen on completion           V  Reset target on completion    Repeat on completion    Connection Options    Speed 250              Use JTAG interface      Flash Driver    Flash drive  LPC1850A_4350A_SPIFI cfx      Code Read protect  CRP selection   None    Erase Options       Mass erase             24 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 3  Unzip the downloaded binary zip file  select the    Bin files    folder and select   bin extension           Select  amp file              Organize v New folder gz v    Ba Appearance      Name    Clock  Langu     Ease of Acces  a Hardware anc  ay Network and  Programs      S
24. orer_LPCXpresso  Blinky Browse                      Finish       Fig 21    Step 9  Select the target MCU is LPC1830 and click Next as shown in the following image     New LPCxpresso    Project  Select the target MCU             Target selection    NAP LPC1830  LPC1  15  LPC1817  LPC1820  LPC1  22  LPC1823  LPC1 amp 25  LPC1  27    at      LPC1a3                                      ces p m    Fig 22    15 www nextechnologies com    User Manual  LPC1830 Xplorer       Step 10  Click Next     New LPCxXpresso    Project  Select options for this project    Library projects   Select standard library projects that you want your application to link with  Any  selected library project s  must already exist in your workspace   they can be  imported trom the Examples subdirectory of your IDE installation     CMSS peripheral header files  initialization code and DSP library  CMSIS Library to link project to  CMSISv2p10_LPC1  x _DriverLib    CMSIS DSP Library to link project to    None    Code Read Protect  CRP     JEnable CRP in the target image    Code Read Protection selection olaces a CRP word into the appropriate       Step 11  Click Finish     New LPCXpresso C Project  Select options for this project       External memory configuration    External memory configuration file Browse       Optionally allows an existing memory configuration file to be selected     This allows for the details of external flash to be defined or for the layout of  internal RAM to be reconfigured  In additio
25. orts like USB  Serial  and Power excluding the GPIO ports  Any external  connection made to the GPIO ports may alter the EMC behavior  Usage of this device under domestic  environment may cause unwanted interference with other electronic equipment   s  User 1s 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  LPC1830 Xplorer       TECHNOLOGIES  Table of Contents  KORI IN ink on   nao non non A oo o r E 4  2 0 LPC1830 Xplorer Development Tool Setup                ooooooooonnvnnvnonooc    nnnnn rovno oonnnnn ner rrrnnnn nn 2  DAMP Cline ane CX RESO a E E N  gt   2 2 Installation  amp  Configuration of LPCXpresso software            cccccccccceccceseesseeeceecceeaaseeseeeeeeeeesaaaaenseees 5  2 3 Setup for NXP LPCLink and LPC1830 Xplorer Board                cc ccessessseeeceeeceeeeeeeeceeceeeeaseeeeeeeees 5  3 0 LPC1830 Xplorer firmware Development              cc ccecccccccccccessseeseeccccceeeaseesseecceeeeesaeaessseeceeeeesauaaneeeeeess 7  3 1 Executing the sample projects in LPCX presso            ccccccecccccsssseseeeceeceeeeaaeesseccceeeeeaaeesseeeceeeeeeuaenenees 7  3 2 Creating the sample  Blinky  project in LPCXpresso          ce eeecccccccccccesseeeeeeeeeeceeeaeeeseeeeeeeeeesaaeneees 11  4 0 Restoring Xplorer to Factory Defaults 2 0 0    ccecccccccccccccsesseeeececeeceeaeeseseeecceeeessaaeueeeceeeeess
26. p  and click on Open        Import archived projects  zip        Import archived projects  zip   Select a directory to search for existing Eclipse projects        Select root directory  Browse          Select archive file        Select archive containing the projects to import    OD  k    Test    Ipc1830 Xplorer LPCXpr     gt  v     gt    Search Ipc1830 Xplorer LPCXp    P      J   _ m    Oe            Organize v New folder          xv a oe Date modified    26 06 2012 AM 11    File folder    MI Desktop hu zm  pc1830 Xplorer LPCXpresso zip 26 06 2012 AM 11    WinRAR ZIF       4   NI    File nami   Inc1830 Xplorer LPCXpresso zip x          Step 4  Click Finish        Import archived projects  zip  s       Import archived projects  zip   Select a directory to search for existing Eclipse projects     Select root directory            Select archive file  G  Test lpcl830_Aplorer_LPCApresso lpcla30_   Projects     CMSISv2p10_LPC18xx_DriverLib  CMSISv2p10_LPC18c_DriverLi    LPC1830 Xplorer Audio  LPC1830_Xplorer_Audio  p  LPC1830_Xplorer_Blinky  LPC1830_Xplorer_Blinky   LPC1830_Xplorer_Ethernet  LPC1830_Xplorer_Ethernet     LPC1830_Aplorer_Extint  LPC1830_Aplorer_ExtInt   LPC1830_Aplorer_PeripheralTest  LPC1830 Aplorer PeripheralT  LPC1830_Aplorer_Sct  LPC1830_Xplorer_Sct   LPC1830_Aplorer_Sdcard  LPC1830_Aplorer_Sdcard    LPC1830 Aplorer Uartlnt  LPC1830_Xplorer_Uartlnt     E ee U U NL M     FARBA TE TL  M             FIT       Copy projects into workspace      finish 3       8 www n
27. saaaeneeseeess 24  be dh Tae Cs Wace Ann LEE AP S S oe hata gee candace verona aeedatiaes eeu candasetan cas ves cosssvrtatines eeu coadate dancer vessouasvetaaess 24  30 Schematic  amp  Board LEVOM semen   str E E tare ae cdscaneoennieetetedten 27  aN CINE i e E E E E E E AE EE E E E easeeeeaesssedueteets 27  IBT VOE E seus ni sess 27  COC HANOL HISTORY eter caer EE EE T EE RE E 28  CEE M TUS O ee E E E E E AE non inca 28    3 www ngxtechnologies com    User Manual  LPC1830 Xplorer         TECHNOLOGIES    1 0 INTRODUCTION    This document is the    User Manual    for LPC1830 Xplorer  a cost effective evaluation platform for  NXP   s LPC18xx MCU  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 Xplorer features  Xplorer Unboxing and  Xplorer verification     Before proceeding further please refer the Quick Start Guide for Xplorer features  Xplorer Unboxing  and Xplorer verification  Kindly refer to the product page for the latest information     Note  To restore the Factory Default for    LPC1830 Xplorer Board    kindly refer to section 4 0    4 www nextechnologies com    User Manual  LPC1830 Xplorer iNT xa    2 0 LPC1830 Xplorer Development Tool Setup       2 1 LPC link and LPCXpresso    NGX   s MCU evaluation platforms are not coupled tight
28. ystem and 5  S    User Account         Recycle Bin   x all in one   d Bin files   d Desktop   ET  7         No items match your search     3             File name           Fig 40    Step 4  Select LPC1830_Xplorer_PeripheralTest bin file and click Open          Select  amp file                     Organize T New folder    Name Date modified Type       Ww Favorites E    LPC1830_Xplorer_Audio bin 26 05 2012 PM 05     BIN File    M Desktop  Libraries  E3 Documents  a  Music     Pictures   4 Videos  A Hagara   ihe  Computer  Gi Network  ol  ARHISHFK 11 7    LPC1830_Xplorer_Blinky bin  LPC1830_Aplorer_Ethernet bin  LPLl amp 30 Aplorer Extlnt  bin  lorer_PeripheralTest bin    Lt  Lt  Lt   gt         LPC1  s0_Aplorer_Sct bin       LPC1830_Xplorer_Sdeard bin       LPC1830_Aplorer_Uartint bin       LPC1830_Aplorer_UartPolling bin                File nama   p    25    Fig 41    www ngxtechnologies com    28 05 2012 PM 05      28 05 2012 PM 05      28 05 2012 PM 05      28 05 2012 PM 05      28 05 2012 PM 05      28 05 2012 PM 05      26 05 2012 PM 06      26 05 2012 PM U5        BIN File  BIN File  BIN File  BIN File  BIN File  BIN File  BIN File  BIN File    C open   cancel       User Manual  LPC1830 Xplorer    Step 5  The base address should be 0x 14000000 and click OK     Program Flash    Program target flash  LPC  NAP LPC1830 on    Options  Display progress log Reopen on completion  Reset target on completion Repeat on completion    Connection Options  Speed 250  Use JTAG interface
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Habitat1 Manual  Audible Technologies PLINIUS 9200 Specifications  Scientific Atlanta Universal Remote 15-100 User's Manual  Samsung 152B Manuel de l'utilisateur  Wireless N 3G/3.5G Mobile Router User`s Manual  Accueillir un stagiaire en situation de handicap (National)  Manuel d`utilisation simplifié  Samsung F2080 manual de utilizador    Copyright © All rights reserved. 
   Failed to retrieve file