background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 7 

 

4.1  Creating a new Project 

 

Click

 

on

 

New

 

µVision

 

Project

 

from

 

the

 

Project

 

menu

 

and

 

navigate

 

to

 

your

 

project

 

folder

 

containing

 

your

 

source

 

files.

 

 

Type

 

in

 

a

 

project

 

name

 

and

 

click

 

on

 

Save

.

 

You

 

will

 

now

 

be

 

asked

 

to

 

select

 

a

 

target

 

MCU

 

device.

 

In

 

this

 

case

 

select

 

‘NXP’

 

and

 

then

 

the

 

part

 

number

 

from

 

the

 

drop

down

 

list.

 

 

Right

click

 

on

 

‘Source

 

Group

 

1’

 

in

 

the

 

Project

 

pane

 

(expanded

 

from

 

‘Target

 

1’)

 

and

 

then

 

on

 

Add

 

Files

 

to

 

Group

’.

 

Select

 

and

 

Add

 

all

 

your

 

source

 

(.c)

 

files.

 

You

 

can

 

rename

 

‘Target

 

1’

 

and

 

‘Source

 

Group

 

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

 

the

 

‘Power

 

Control

 

for

 

Peripherals

 

Register’

 

and

 

tick

 

the

 

boxes

 

of

 

peripheral

 

systems

 

used

 

by

 

your

 

project.

 

Resave

 

the

 

file

 

when

 

finished.

 

There

 

may

 

be

 

other

 

settings

 

that

 

need

 

changing,

 

but

 

the

 

defaults

 

should

 

get

 

things

 

running.

 

 

Build

 

and

 

load

 

the

 

project

 

as

 

before.

 

 

5. Conclusion 

This

 

is

 

only

 

a

 

basic

 

introduction

 

to

 

the

 

Keil

 

IDE;

 

more

 

complete

 

information

 

and

 

a

 

description

 

of

 

all

 

the

 

debugging

 

features

 

can

 

be

 

found

 

on

 

the

 

Keil

 

website.

 

 

Refer

 

to

 

the

 

User

 

Manual

 

for

 

these

 

CM

 

modules

 

for

 

details

 

of

 

alternative

 

program

 

development

 

tools

 

which

 

can

 

be

 

used

 

with

 

EDP.

 

Summary of Contents for EDP-CM-1113

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: