how to use lpcxpresso ide with lpcxpresso board arm cortex m3

Upload: gurpreet-singh

Post on 16-Jul-2015

767 views

Category:

Documents


1 download

DESCRIPTION

How to Use LPCXpresso IDE withLPCXpresso Board ARM CORTEX M3

TRANSCRIPT

How to Use LPCXpresso IDE with LPCXpresso Board ARM CORTEX M3By: TANVI K. SINGH TRIANEE: IMBUENT TECHNOLOGIES PVT. LTD. LUDHIANA,PUNJAB,INDIA www.imbuent.com,www.embeddedcraft.org

1

ARM Microcontroller Training, Ludhiana. www.imbuent.com,www.embeddedcraft.org

Tutorial -3

2

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

LPC1769 LPCXpresso boardThe LPC1769 LPCXpresso board with NXP's ARM CortexM3 microcontroller has been designed to make it as easy as possible to get started with Cortex-M3. The LPCXpresso comprises a target board combined with a JTAG debugger. A free Eclipse-based IDE from Code Red is also included. The LPC1769 has 64 kB SRAM, 512 kB Flash, 4xUART, 3xI2C, SPI, 2xSSP, 2xCAN, PWM, USB 2.0 Device/Host/OTG, RTC, Ethernet, I2S, etc. Embedded Artists also provides a Prototype board and a Base board that makes it possible to make experiments and prototyping with many peripherals.3 ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step :1 LPCXpresso: Blinking LED ProgramLPCXpresso has a quick Start panel It is a handy tool. The first thing that most LPCXpresso users will have to do in the start is, Import Sample projects. Many sample projects have been provided for different LPCxpresso series

4

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step 2: Click on import projects in import projects the start panel and

5

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

And then click browse

Step 3: Select a path, Goto: Examples --> NXP --> and select the zip

6

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step 4: Click OK

7

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

C:\nxp\LPCXpresso_4.0.6_152\lpcxpresso\ Examples\NXP\LPC1000\LPC17xx

Step 5: Check the boxes of the files that you want to import and uncheck the rest Then click Finish

8

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step 6 : Select the file that you want to use Like: main_ledflash.c

9

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step 7: Change MCU: LPC1768>LPC1769 LPC1769

10

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Or As per you Board

Step 8: Checked Here for LPC1769

11

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Step 9: Click Build Tool to Build Projects

12

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Thankswww.embeddedcraft.org www.imbuent.com imbuentblog.blogsopt.in

13

ARM Microcontroller Training,Ludhiana. www.imbuent.com,www.embeddedcraft.org

Tutorial - 3