cortex-m0+ SWD debugging on the cheap

I’m fairly confident you aren’t likely to find out how to use an STM32F0-Discovery board to upload and debug an LPC812 chip from either the ST or the NXP forum websites. However, if you read this post I will walk you though the steps. So what is this post all about?  SWD stands for Serial…

Openocd meets a NUCLEO-F030R8 board

[Edit: newer versions of openocd (0.8) support the stlink-v2-1 on the nucleo board without the changes described below] STMicroelectronics recently announced a new line of mbed compatible development boards at a great price (~$10.32).  The four “NUCLEO” boards support a range of Cortex M0, M3, low power M3, and an M4 STM32 chips with more boards…

Embedded C++ Do’s & Dont’s

Good: small c++ inline code bound vectors ring buffer compile time decisions Bad: RTTI Dynamic Memory run time decisions that can be determined at compile time

New github location

fabooh has recently gained NXP cortex-m0 chip support, specifically the  lpc1114fn28 model.  I’ve updated the repository name on github to reflect that the code supports more than just msp430 code.  In general, the code ported over fairly smoothly.  However, some functionality is missing or not complete for the lpc1114 chip implementation.  The msp430 code should…

1024 byte serial msp430 gdb boot loader

I’ve been thinking about making a small msp430fr5739 based breakout board. I was hoping to use the msp430 launchpad to program them. However, I hit a major snag in that the LP version 1.4 doesn’t seem to recognize the msp430fr5739 as a valid device. I could use an FRAM board, at about ~$35, to program…