Sunday, February 8, 2015

LPC1114FN28

Ever since I saw a posting on adafruit blog posting on LPC1114FN28 I have wanted to get my hands on those ICs.

Earlier this week I ordered one from Electrokit.

(I)
Image source


Tutorials and stuff:





Toolchain:

Download bare metal on the bottom of: http://www.linaro.org/downloads/
Linux bare metal direct link: http://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q1-update/+download/gcc-arm-none-eabi-4_7-2013q1-20130313-linux.tar.bz2
I extracted the files to to: :~/programming/gcc-arm-none-eabi-4_7-2013q1

Must export path so that we can use it
PATH=$PATH:~/programming/gcc-arm-none-eabi-4_7-2013q1/bin
export PATH

I downloaded the lpc21isp
git clone https://github.com/Zuph/lpc21isp.git

And an example code:
git clone https://github.com/Zuph/lpc1114-blink.git

run make in the lpc1114-blin

And then upload sketch to IC, dont forget to reset the device and an resistor to ground on pin 24

 ./lpc21isp ~/programming/lpc1114-blink/out/lpc1114_blink_led.hex /dev/ttyUSB0 115200 12000