background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 5 

3. 

Build and run ‘Hello World’ 

3.1  Load the Project 

 

Plug

 

the

 

dongle

 

into

 

the

 

CM

 

module

 

noting

 

the

 

orientation

 

in

 

the

 

picture

 

above.

 

 

Connect

 

the

 

dongle

 

to

 

a

 

USB

 

port

 

on

 

the

 

host

 

computer.

 

 

Turn

 

on

 

power

 

to

 

the

 

Base

 

Board.

 

 

Download

 

the

 

‘EDP

 

LPCxxxx

 

Hello

 

World’

 

folder

 

from

 

the

 

EDP

 

web

 

site

 

to

 

your

 

C:

 

drive.

 

 

Run

 

Keil

 

µVision

 

4

 

on

 

the

 

host

 

computer.

 

 

Click

 

on

 

Open

 

Project

 

from

 

the

 

Project

 

menu

 

and

 

navigate

 

to

 

the

 

‘EDP

 

LPCxxxx

 

Hello

 

World’

 

folder.

 

Double

 

click

 

on

 

‘Hello_World’

 

to

 

load

 

the

 

project

 

files.

 

 

The

 

screen

 

will

 

now

 

appear

 

as

 

below:

 

 

 

Note

 

that

 

the

 

folder

 

already

 

contains

 

all

 

the

 

necessary

 

source

 

code

 

files

 

together

 

with

 

the

 

Build

 

files

 

produced

 

by

 

the

 

IDE.

 

To

 

demonstrate

 

the

 

procedure

 

we

 

will

 

now

 

perform

 

the

 

Build

 

and

 

Link

 

operations.

 

 

3.2  Build the Project 

 Click 

the 

Rebuild

 button on the Build toolbar (see picture below). The various files are 

compiled and linked, progress being reported in the Build Output pane. 

  If there are any compilation errors they will be reported here and linking will not take place. 

Double clicking on a particular error message will take you to the offending line of source code 
in the edit pane above. 

 

Содержание EDP-CM-1113

Страница 1: ...Embedded Development Platform Getting Started Guide for LPC ARM core Command Modules EDP CM 1113 EDP CM 1343 EDP CM 1768 EDP CM 2368 Version 3 11 February 2011...

Страница 2: ...llo World Program 4 2 1 Software requirements 4 2 2 Hardware requirements 4 3 Build and run Hello World 5 3 1 Load the Project 5 3 2 Build the Project 5 3 3 Download and program target Flash memory 6...

Страница 3: ...re connected via various link options to the Base Board The Base Board then routes these signals to the Application Modules thereby allowing the CM Module to communicate with the Application Modules A...

Страница 4: ...ater or try one of the alternatives discussed in an appendix to the User Manual The IDE handles all aspects of code production as it contains a source code editor assembler C compiler Flash programmer...

Страница 5: ...older Double click on Hello_World to load the project files The screen will now appear as below Note that the folder already contains all the necessary source code files together with the Build files...

Страница 6: ...hould begin flashing indicating a successful download and program Rebuild Project button Download to Target button 4 Build your own Project The procedure for building and programming your own project...

Страница 7: ...p 1 and create other groups for other files by right clicking on Target 1 and then clicking on Manage Components Double click on file system_LPCxxxx c and select the Configuration Wizard tab Locate th...

Страница 8: ...ult 0x48 0x4A 0x4C 0x4E DIO54_In 0x44 Digital input latch Address set by jumper links B302 to B304 providing possible range of addresses 0x40 0x42 0x44 default 0x46 0x48 0x4A 0x4C 0x4E Analogue Input...

Отзывы: