Jump to content

LPC21xx: Difference between revisions

From HW wiki
Pisa (talk | contribs)
No edit summary
Line 2: Line 2:




== Docuemtnation ==
== Documetnation ==


[http://www.standardics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc2109.lpc2114.lpc2119.lpc2124.lpc2129.lpc2194.lpc2210.lpc2212.lpc2214.lpc2220.lpc2290.lpc2292.lpc2294.pdf LPC21xx Datasheet]
[http://www.standardics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc2109.lpc2114.lpc2119.lpc2124.lpc2129.lpc2194.lpc2210.lpc2212.lpc2214.lpc2220.lpc2290.lpc2292.lpc2294.pdf LPC21xx Datasheet]
Line 11: Line 11:


== Development tools ==
== 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
Use ar x binutils-arm-elf_2.19.50-1_i386.deb and tar -xzf to install.
 
=== Older version in tar archive ===


# Download [ftp://rtime.felk.cvut.cz/arch-tools/gcc-arm-elf-3.4.3-bin.tar.gz gcc-arm-elf-3.4.3-bin]  
# Download [ftp://rtime.felk.cvut.cz/arch-tools/gcc-arm-elf-3.4.3-bin.tar.gz gcc-arm-elf-3.4.3-bin]  

Revision as of 12:51, 11 December 2008

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

Use ar x binutils-arm-elf_2.19.50-1_i386.deb and tar -xzf to install.

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

Basic development environment for LPC21xx microcontrollers. It contains makefiles for building your applications and code for booting the processor.

We have also developed a tolpc tool, which can be now used for loading applications to RAM. For flash loading 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 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 GIT web interface.

Using the sysless framework

To compile the downloaded sources, follow the instructions at System less framework#Compiling

Literature