Uwes Blog

Projects, thoughts and more

mbed Online Compiler and LPC800

I have build some of the small LPC800 Breakout Boards.

To program them with the online mbed compiler, the resulting bin files have to be changed with the following command:

arm-none-eabi-objcopy -I binary -O ihex mbed_blink_LPC812.bin mbed_blink_LPC812.hex

The arm compiler toolchain should be installed in your path.

cmake Files for mbed created

I have created a github repository https://github.com/uwearzt/mbed-cmake for using the mbed libraries together with cmake. Please check it out and if you have additions or found errors, please leave a bug entry at github.

ChibiOS/RT on STM32 development

After publishing my article about development with FreeRTOS and the LPCXpresso 1769 a few people mentioned i should try ChibiOS/RT and STM32 Microcontrollers too. So i gave that a try. Here is what i used in this case: Olimex STM32-P103 Segger J-Link ARM gcc compiler chain vim ChibiOS/RT The gdb commands which need to be executed to start the program on the board differ a little bit from the LPC:

LPCXpresso LPC1769 commandline Development on Mac OS X

Because editing with vim is my preferred way of creating software, i do not use the Eclipse based software delivered together with the LPCXpresso.

Here i describe, what is necessary to compile, flash and debug the LPCXpresso with the FreeRTOS blinking example from the commandline with:

Preparation of the LPCXpresso

Cut off the LPC-Link (this one only works with the CodeRed IDE) and solder Pinheaders to the JTAG Interface and the socket connectors for using the LPCXpresso in a Breadboard. LPCXpresso

Energy Micro EFM32 Starterkit

I will use the Energy Micro EFM32 Gecko as Microcontroller for my RoomSensor (and in general the Cortex M Architecture many of my future projects). For testing purposes i have bought the Starterkit from Energy Micro.