This is a migrated version of my Wordpress post, written on : 27 February 2015
I had some Raspberries Pi A+ available on the toolbox, and i've just got idea to use one of them in my programmable car toy project. The point is that the Pi will be connected to a circuit based on the LPC1114FN28, in which, the ARM cortex M0 chip is used to collect sensor datas (IR sensor, sonar sensor, etc.) and control the motors on the car. The Pi talks to the LPC1114FN28 via a serial connection (UART or SPI), and takes care of some high level calculations based on the datas provided by the LPC chip, it then can analyse the environment's context and send commands to the slave chip to control the car. With the Pi, i can build an API to program the car's behaviour from distance via the network (using TCP protocol or HTTP protocol, via web). It's quite an interesting sujet for me.
So the first thing comes to my mind is that during the experiments, i will need to frequently update the firmware on the LPC1114FN28, so why not use the PI as a programmer for the LPC chip. The firmware is written and compiled on your PC and then is updated on the slave chip by sending it to the PI, no need to used the USB-serial adapter anymore. In this post, i'll show you how to do it, this is a part of my actual project.
This is a migrated version of my Wordpress post, written on : 27 February 2015
The lpc1114FN28 is a low cost, low power 32 bit MCU designed in a 28dip package, it is breadboard friendly and very easy to set up for those who are new to ARM programming (like me). Some features :
It is designed mainly for micro-controller stuffs (applications), and can be easily programmed with a few more components. In fact, i'm just ancomputer scientist guy who is new to the MCU (ARM) world and that simplicity is a good point for me. I've bought some of them from Ebayand started to learn how to program it.