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