NGX Technologies LPC1788  Xplorer++ User Manual Download Page 17

User Manual:  LPC1788/LPC4088 +                                      

 

Page | 17 

 

 

  

  

 

Fig.21

  

 

 

  

Step 4: Connect one end of ‘USB AM to Micro B’ cable to LPC1788/LPC4088 + board and other 

end to computer, connect one end of ‘USB type B’ to ULINK2 and other end to computer as shown in the 
following image.  

  

  

  

Fig.22 

 

  

Summary of Contents for LPC1788 Xplorer++

Page 1: ...User Manual LPC1788 LPC4088 Xplorer Page 1 LPC1788 LPC4088 Xplorer...

Page 2: ...formation NGX Technologies Pvt Ltd 12 20th Cross Malagala Nagarabhavi 2nd Stage Bengaluru 560091 Phone 91 80 23185507 23188306 email sales ngxtechnologies com CE certification NGX Technologies LPC1788...

Page 3: ...Xplorer Board 13 3 0 LPC1788 LPC4088 Xplorer firmware Development 18 3 1 Creating the sample Blinky project in KEIL 18 3 2 Executing the sample project in KEIL 37 4 0 Creating bin file 39 5 0 LPC1788...

Page 4: ...and usage of the board from a systems perspective Before proceeding further please refer the Quick Start Guide for LPC1788 LPC4088 Xplorer features unboxing and verification Kindly refer to the produc...

Page 5: ...tforms are not coupled tightly with any one particular combination of IDE and debugger The following sections will explain the setup for KEIL and ULINK2 ME as the IDE and debugger respectively 2 2 Ins...

Page 6: ...User Manual LPC1788 LPC4088 Xplorer Page 6 Step 2 Click on Next Fig 2 Step 3 To accept the agreement click the check box and click Next Fig 3...

Page 7: ...User Manual LPC1788 LPC4088 Xplorer Page 7 Step 4 Provide the destination path and click on Next Fig 4 Step 5 Fill your personal information and click on Next Fig 5...

Page 8: ...User Manual LPC1788 LPC4088 Xplorer Page 8 Step 6 Click on Next Fig 6 Step 7 Keil Vision 4 54 Setup is completed click Finish Fig 7...

Page 9: ...flow of ULINK2 ME Debugger is explained below Step 1 Open the KEIL blinky project downloaded from the website and click on the Target Options Fig 8 Step 2 The window opens as shown in the following im...

Page 10: ...ns then select SW port After selection of the SW port the ULINK2 ME detected is as shown in the following image Fig 10 Click OK to complete the ULINK2 ME Debugger configuration Note The Cortex M3 can...

Page 11: ...wn in the following image click on Utilities and select ULINK2 ME Cortex Debugger Fig 12 Step 2 Select Update Target before Debugging check box click on Settings Options and in CortexM Target Driver s...

Page 12: ...User Manual LPC1788 LPC4088 Xplorer Page 12 Fig 13 Click OK to complete the ULINK2 ME Debugger and Internal Flash configuration...

Page 13: ...e shows the each components ULINK ME 10 pin ribbon cable LPC1788 LPC4088 Xplorer Board USB AM to Micro B cable Fig 14 Steps to setup the ULINK ME and LPC1788 LPC4088 Xplorer Board Note Please refer ke...

Page 14: ...ader of the LPC1788 LPC4088 Xplorer board as shown in the following image Fig 16 Step 4 Connect one end of USB AM to Micro B cable to LPC1788 LPC4088 Xplorer board and other end to computer and connec...

Page 15: ...art of the LPC1788 LPC4088 Xplorer package the user needs to buy separately To run the KEIL examples you will need the following and the image shows the each components ULINK2 ARM JTAG to Cortex JTAG...

Page 16: ...ig 19 Step 2 Connect other end of 10 pin ribbon cable to 10 pin box header of the LPC788 Xplorer board as shown in the following image Fig 20 Step 3 Now connect the ULINK2 20 pin cable to 20 pin to 10...

Page 17: ...rer Page 17 Fig 21 Step 4 Connect one end of USB AM to Micro B cable to LPC1788 LPC4088 Xplorer board and other end to computer connect one end of USB type B to ULINK2 and other end to computer as sho...

Page 18: ...used for development with KEIL IDE and ULINK2 3 0 LPC1788 LPC4088 Xplorer firmware Development 3 1 Creating the sample Blinky project in KEIL Steps to create the sample Blinky project Step 1 Open a K...

Page 19: ...PC4088 Xplorer Page 19 Step 3 Create a new folder in downloaded sample example folder and rename to Blinky_test and select Blinky_test folder click Open Fig 25 Step 4 Give a project name example Blink...

Page 20: ...User Manual LPC1788 LPC4088 Xplorer Page 20 Fig 26 Step 5 Select the NXP found by Philips and search for the controller Fig 27 Step 6 Select LPC1788 controller and click OK...

Page 21: ...User Manual LPC1788 LPC4088 Xplorer Page 21 Fig 28 Step 7 Click YES to copy startup file to project folder and add file to project Fig 29...

Page 22: ...User Manual LPC1788 LPC4088 Xplorer Page 22 Step 8 Rename the Target1 to Blinky_test and Source Group1 to Startup Fig 30 Step 9 Double click on Startup...

Page 23: ...ples downloaded folder from NGX website the file will be found at following path LPC1788Xplorer _Rev AR2_Keil CMSIS_LPC177x_8x Core Device NXP LPC177x_8x Source Templates select system_LPC177x_8x c fi...

Page 24: ...rer Page 24 Fig 33 Step 11 Rename the New Group to Drivers Fig 34 Step 12 Double click on Drivers and search the driver files in the sample examples downloaded folder from NGX website the driver files...

Page 25: ...blinky project we have to select lpc177x_8x_clkpwr c lpc177x_8x_gpio c lpc177x_8x _timer c lpc177x_8x_utils c and lpc177x_8x_systick c driver files and click Add Fig 35 Step 13 Create another new grou...

Page 26: ...the C instructions need to blink a LED on LPC1788 LPC4088 Xplorer and save it to main c in Blinky_test folder as shown in the following image Note Please refer Downloaded Blinky example Fig 37 Step 16...

Page 27: ...88 LPC4088 Xplorer Page 27 Fig 38 Step 17 Click Target Options make following changes for Internal SRAM as shown in the following image Fig 39 For Internal Flash make following changes as shown in the...

Page 28: ...User Manual LPC1788 LPC4088 Xplorer Page 28 Fig 40 Step 18 In Output Options select Create HEX File check box Fig 41...

Page 29: ...ual LPC1788 LPC4088 Xplorer Page 29 Step 19 Click C C option click on Include paths to include Drivers header file path as shown in the following image Fig 42 Include all paths as shown in bellow imag...

Page 30: ...tion select ULINK2 ME Cortex Debugger radio button and select Load Application at Startup and Run to main check boxes click on Initialization File to select Internal SRAM ini file select Internal SRAM...

Page 31: ...31 Internal Flash make following changes as shown in the following image Fig 45 Note The ini file will found at following path Blinky Keil Step 21 For Internal SRAM in Utilities Option select Use Ext...

Page 32: ...K2 ME Cortex Debugger and select Update Target before Debugging check box then click Setting Option remove the existing programing algorithm and click Add select LPC17xx IAP 512 kB Flash algorithm as...

Page 33: ...088 Xplorer Page 33 Internal Flash click on Edit the Flash ini file will open in editor and OK Fig 49 Step 23 Give the correct axf file path in RAM ini file and file name should be same as shown in th...

Page 34: ...Page 34 Internal Flash Give the correct axf file path in Flash ini file and file name should be same as shown in the following image Fig 51 Step 24 Click on Build F7 to build a Blinky_test project th...

Page 35: ...User Manual LPC1788 LPC4088 Xplorer Page 35 Step 25 Click on Debug Start Stop Debug Session Fig 53 Step 26 Click on Run F5 on LPC1788 LPC4088 Xplorer board the LED5 and LED6 starts blinking Fig 54...

Page 36: ...User Manual LPC1788 LPC4088 Xplorer Page 36 To load the code to the internal flash Click on load as shown in the below image Fig 55...

Page 37: ...ailable once the product is registered Steps to execute the sample project in Internal RAM Step 1 Open project folder Step 2 Open project_name uvproj file Example Blinky uvproj Fig 56 Step 3 This laun...

Page 38: ...Flash Step 1 Select FLASH Option and click on build as shown in the following image Fig 58 Step 2 The program can be debugged from the flash by clicking Debug Start Stop Debug Session click Run F5 to...

Page 39: ...39 Fig 59 4 0 Creating bin file Follow the below steps to create bin file Step1 Click on Target Options Select User option select Run 1 and type the format fromelf bin o L L bin L L axf then click OK...

Page 40: ...ram as shown in the following image Fig 61 We can find the bin file in the FLASH folder of the project Blinky Keil FLASH Fig 62 5 0 LPC1788 LPC4088 Xplorer Programming 5 1 Programming options LPC1788...

Page 41: ...o Micro B cable to LPC1788 LPC4088 Xplorer board and other end to computer and connect one end of USB AM to Mini B to ColinkEx and other end to computer as shown in the following image Fig 63 Step 1 O...

Page 42: ...8 Xplorer Page 42 Fig 64 Step 2 Click on Command select the bin file you want to download as shown in the following image Fig 65 Step 3 Click on Program to load the bin file to the target board as sho...

Page 43: ...User Manual LPC1788 LPC4088 Xplorer Page 43 Fig 66 Once the programming is completed reset the board to run the code...

Page 44: ...IL To restore the factory defaults for the LPC1788 LPC4088 Xplorer User needs ULINK2 ME debugger to program the LPC1788 LPC4088 Xplorer to default firmware i e All In One uvproj We can load the All In...

Page 45: ...ematic Board Layout 7 1 Schematic This manual will be periodically updated please check our website for the latest documents The Board schematic and sample code are available after the product has bee...

Page 46: ...User Manual LPC1788 LPC4088 Xplorer Page 46 Fig 68 8 0 CHANGE HISTORY 8 1 Change History Rev Changes Date dd mm yy By 1 0 Initial release of the manual 26 04 2018 Vivek Aggarwal...

Page 47: ...ements 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 al...

Page 48: ...hall 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 incl...

Reviews: