background image

EDP-CM-LPCxxxx Getting Started V3.11 

 

 

Electrocomponents plc                                                          Page 6 

3.3  Download and program target Flash memory 

 

If

 

zero

 

errors

 

are

 

reported

 

then

 

the

 

code

 

can

 

be

 

downloaded

 

to

 

the

 

target

 

MCU

 

and

 

programmed

 

into

 

its

 

Flash

 

memory.

 

Click

 

on

 

the

 

Download

 

button

 

on

 

the

 

Build

 

toolbar.

 

 

Press

 

the

 

Reset

 

button

 

on

 

the

 

EDP

 

Base

 

Board

 

and

 

one

 

of

 

the

 

two

 

yellow

 

User

 

LEDs

 

on

 

the

 

CM

 

module

 

should

 

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

 

is

 

exactly

 

as

 

outlined

 

above

 

using

 

your

 

own

 

project

 

folder

 

containing

 

source

 

(.c)

 

and

 

header

 

(.h)

 

files.

 

 

The

 

Hello

 

World

 

program

 

does

 

not

 

use

 

any

 

EDP

 

Application

 

Module

 

hardware

 

but

 

your

 

projects

 

probably

 

will,

 

so

 

the

 

necessary

 

drivers

 

will

 

need

 

to

 

be

 

included

 

in

 

your

 

folder.

 

Download

 

these

 

from

 

the

 

EDP

 

web

 

site.

 

Note

 

that

 

MCU

specific

 

drivers

 

will

 

also

 

be

 

required:

 

see

 

example

 

above.

 

 
 

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: