Jump to content

LPC21xx: Difference between revisions

From HW wiki
 
(7 intermediate revisions by 2 users not shown)
Line 24: Line 24:
  gcc-arm-elf
  gcc-arm-elf


Use ar x binutils-arm-elf_2.19.50-1_i386.deb and tar -xzf to install on non-Debian systems.
==== Installation on non-Debian systems ====
 
* Download the appropriate packages (.deb) from ftp://rtime.felk.cvut.cz/debian/pool.
 
* Then Use <tt>ar x binutils-arm-elf_2.19.50-1_i386.deb</tt> and <tt>tar -C / -xzf data.tar.gz</tt>
 
* Do the same for gcc* package


=== Older version in tar archive ===
=== Older version in tar archive ===
Line 34: Line 40:
== Software ==
== Software ==


Basic development environment for LPC21xx microcontrollers. It contains [http://rtime.felk.cvut.cz/omk/ makefiles] for building your applications and code for booting the processor.
Use the [[System-Less Framework]] to develop for this family of microcontrollers. It contains [[OMK|Makefiles]] for building your applications, code for booting the processor, [http://rtime.felk.cvut.cz/gitweb/sysless.git?a=tree;f=arch/arm/mach-lpc21xx/tools/tolpc tolpc]
 
tool, which can be now used to load applications into RAM, and [http://guest.engelschall.com/~martin/lpc21xx/isp/ lpc21isp] tool, which can be used to write the application to the flash.
We have also developed a [http://rtime.felk.cvut.cz/gitweb/sysless-lpc21xx.git?a=tree;f=arch/arm/mach-lpc21xx/tools/tolpc tolpc]
tool, which can be now used for loading applications to RAM. For flash loading [http://guest.engelschall.com/~martin/lpc21xx/isp/ lpc21isp] can be used. In future we will include flash programming posibility to '''tolpc'''.
 
=== Getting the software ===
 
Actual source code can be downloaded using a [[Git]] tool (you need at least [[Git#Correct_Git_version|version 1.5.3.4]] for submodule support):
 
  git clone git://rtime.felk.cvut.cz/sysless-lpc21xx.git
 
If you have an acount on the ''rtime'' server, you can use ''ssh''-based access to the repository. If an administrator gave you the right for writing to the repository, you can not only read (pull) repository but also write (push) changes to the repository:
  git clone <login>@rtime.felk.cvut.cz:/var/git/sysless-lpc21xx.git
 
For the proper work you need to download and configure additional common files:
  cd sysless-lpc21xx
  git submodule init
  git submodule update
 
Later you can update your repository using the command:
  git pull
and if you see modification of ''common'' directory also:
  git submodule update


Browsing of project sources is also possible via [http://rtime.felk.cvut.cz/gitweb/sysless-lpc21xx.git GIT web interface].


== Using the sysless framework ==
To compile the downloaded sources, follow the instructions at [[System less framework#Compiling]]


== Literature ==
== Literature ==


* [http://www.olimex.com/dev/pdf/ARM%20Cross%20Development%20with%20Eclipse%20version%203.pdf ARM Cross Development with Eclipse]
* [http://gnuarm.alexthegeek.com/ARM_Cross_Development_With_Eclipse_Components_Revision3_March_17_2006.pdf ARM Cross Development with Eclipse (windows only)]
* [http://www.hitex.co.uk/arm/lpc2000book/index.html The Insider's Guide To The Philips ARM7-Based Microcontrollers (LPC21xx)]
* [http://www.hitex.co.uk/arm/lpc2000book/index.html The Insider's Guide To The Philips ARM7-Based Microcontrollers (LPC21xx)]
* [http://www.arm.com/miscPDFs/4718.pdf ARM Laboratory Exercises (For the ARM Evaluator-7T Board)]
* [http://www.arm.com/miscPDFs/4718.pdf ARM Laboratory Exercises (For the ARM Evaluator-7T Board)]
* [http://www.open-research.org.uk/ARMuC ARM microcontroller Wiki]
* [http://www.open-research.org.uk/ARMuC ARM microcontroller Wiki]
[[Category:ARM]]

Latest revision as of 16:09, 19 January 2010

Note: The name of this package was recently changed from lpc21xx-boot to sysless-lpc21xx. We have also changed the version control system from Darcs to Git.


Documetnation

LPC21xx Datasheet

Boards

Development tools

Toolchain binaries for Debian

Invoke next line to add rtime cross-dev into packages sources list

echo deb ftp://rtime.felk.cvut.cz/debian unstable main >/etc/apt/sources.list.d/rtime-debs.list

Update packages cache (aptitude update) Check, that libmpfr1ldbl and libgmp3c2 packages are installed and select next packages

binutils-arm-elf
gcc-arm-elf

Installation on non-Debian systems

  • Then Use ar x binutils-arm-elf_2.19.50-1_i386.deb and tar -C / -xzf data.tar.gz
  • Do the same for gcc* package

Older version in tar archive

  1. Download gcc-arm-elf-3.4.3-bin
  2. Unpack this to the root direcotry
tar -C / -xvzf gcc-arm-elf-3.4.3-bin.tar.gz

Software

Use the System-Less Framework to develop for this family of microcontrollers. It contains Makefiles for building your applications, code for booting the processor, tolpc tool, which can be now used to load applications into RAM, and lpc21isp tool, which can be used to write the application to the flash.


Literature