background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 4 

2. 

Prepare to run the ‘Hello World’ Program 

Program

 

development

 

is

 

performed

 

on

 

a

 

PC

 

running

 

suitable

 

software,

 

and

 

a

 

plug

in

 

hardware

 

‘dongle’

 

is

 

required

 

as

 

a

 

programming/debug

 

interface

 

between

 

the

 

PC

 

and

 

the

 

CM

 

module.

 

 

2.1 Software requirements 

To

 

build,

 

download

 

and

 

run

 

your

 

first

 

program

 

you

 

will

 

need

 

to

 

have

 

a

 

suitable

 

Integrated

 

Development

 

Environment

 

(IDE)

 

running

 

on

 

a

 

PC.

 

If

 

necessary

 

download

 

Keil

 

µVision

 

4

 

for

 

ARM

 

processors

 

from

 

the

 

Keil

 

website.

 

This

 

is

 

a

 

full

featured

 

free

 

trial

 

version

 

that

 

is

 

limited

 

to

 

32Kbytes

 

of

 

output

 

code.

 

You

 

can

 

upgrade

 

to

 

the

 

full

 

version

 

later

 

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

 

and

 

debug

 

tools.

 

 

2.2 Hardware requirements 

The

 

Keil

 

IDE

 

needs

 

a

 

hardware

 

programming/debug

 

dongle

 

which

 

allows

 

the

 

CM

 

module

 

to

 

be

 

linked

 

via

 

USB

 

to

 

the

 

IDE

 

running

 

on

 

the

 

PC.

 

If

 

you

 

already

 

run

 

Keil

 

µVision

 

then

 

you

 

should

 

already

 

have

 

the

 

interface

 

in

 

the

 

form

 

of

 

a

 

ULINK2

 

module.

 

If

 

not,

 

then

 

a

 

suitable

 

unit

 

can

 

be

 

obtained

 

from

 

RS

 

under

 

the

 

part

 

no.

 

703

9241.

  

 

The

 

software

 

inside

 

the

 

dongle

 

is

 

upgraded

 

automatically

 

by

 

Keil

 

µVision

 

when

 

it

 

is

 

plugged

 

in

 

to

 

the

 

host

 

computer.

  

It

 

supports

 

classic

 

ARM7/ARM9

 

architectures

 

as

 

well

 

as

 

the

 

later

 

Cortex

 

devices.

  

JTAG

 

and

 

SWD

 

are

 

both

 

supported.

 

 
 

 

 

The

 

correct

 

orientation

 

of

 

the

 

dongle

 

on

 

the

 

CM

 

module

 

 

Содержание 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...

Отзывы: