Browsing All Posts filed under »Embedded«

Work in progress: POSIX socket library for W5100

October 28, 2015


In a previous post I connected a Nucleo board with an Ethernet shield, with the SPI wired between the STM32 and the Wiznet W5100 chip. I am now in the process of writing some C tests for it on a GitHub repository, and in particular a socket library that tries to conform to POSIX specifications. At this […]

libopencm3 on STM32 Nucleo board

April 19, 2015


This article is part of a series about developing for STM32 micro-controllers on Linux. A few days ago I talked about libopencm3, an open source library to access Cortex-M functionalities and peripherals of many micro-controllers, especially STM32 variants. I wanted to use this library to develop on a Nucleo board that I have in my hand, […]

libopencm3 for the license-sensitive Cortex-M developer

April 12, 2015


I was thinking of starting a new open source project that should run on STM32 boards, and I realized that it would need a lot of low level code that accesses many different peripherals. One of the first libraries that comes to mind, and I bet it’s the same for many Cortex-M developers, is ARM CMSIS. ARM […]

ST Nucleo F103RB works with OpenOCD 0.8.0

November 11, 2014


Full disclosure: I work at ST Microelectronics, but what I write here is purely my opinion and my work, conceived and conducted in my spare time. The ST Nucleo boards are development platforms mounting an STM32 microcontroller, made for the same enthusiasts that are attracted to Arduino and the like. They have between 64KiB and 512KiB of […]

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.

Free Eclipse ARM GCC OpenOCD Toolchain for Windows | Ångstroms And Algorithms

February 13, 2014


This new blog called Ångstroms And Algorithms has a complete tutorial on developing and debugging for ARM microcontrollers on Windows. In particular he’s using a STM32-E407 board, an ARM-USB-TINY-H JTAG adapter, ARM GCC toolchain and Eclipse. The tutorial is divided in 4 parts: Free Eclipse ARM GCC OpenOCD Toolchain for Windows Introduction ARM GCC Eclipse IDE GDB / OpenOCD Debugger Personally I am not […]

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.

Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog

August 28, 2013


A great and detailed post about setting up Linux kernel debugging on OLinuXino board: Debugging the iMX233-OLinuXino via SJTAG with OpenOCD — Christian’s Blog.

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.