Browsing All posts tagged under »stm32-p152«

ChibiOS kernel on Olimex STM32-P152

May 2, 2014


I wanted to try the ChibiOS/RT real-time operating system on my micro-controller board that mounts an STM32L152VBT6. ChibiOS is one of many alternative real-time operating systems such as FreeRTOS, RTEMS, eCos and NuttX. It supports many platforms and it’s actively developed by Giovanni Di Sirio (full disclosure: we both work at STMicroelectronics). I downloaded the […]

STM32-P152 development with Eclipse on Linux

February 23, 2014


In this post I show how to use Eclipse to create a simple "blink" program, flash it on a STM32-P152 board and attach to it with a debugger. This has been executed with the help of Eclipse plugins, GCC ARM Embedded toolchain, OpenOCD, C232HM FTDI JTAG cable. This approach can be adapted to many Cortex-M targets and many JTAG adapters.

Debugging the STM32-P152 board with GDB

September 15, 2013


This post shows how to debug a program running on the Olimex STM32-P152. The setup consists of free software such as GCC, GDB and OpenOCD, and FTDI USB cables.

Flashing the STM32-P152 board with OpenOCD

August 14, 2013


This post shows how to write the embedded flash of the Olimex STM32-P152 board with a custom program, using free software and FTDI USB cables.