Browsing All posts tagged under »cortex-m3«

STM32 Nucleo: access SD cards with C standard library

July 3, 2016


The ST Nucleo is an Arduino-like board with an STM32 as the microcontroller, and many Arduino shields can be mounted on it. I recently played with an Ethernet shield for the network connection, but since the shield also contains a microSD card slot, I wanted to access the SD card to read/write files. I’d like to […]

DNS client on STM32 Nucleo and W5100

December 13, 2015


I am still working on a device consisting of STM32 Nucleo F103RB with a W5100 Ethernet shield. This time I included a DNS client, so that the device can connect to a server by knowing its name. The name resolving can be invoked by using the POSIX functions getaddrinfo and gethostbyname. DNS queries can have different […]

DHCP client on STM32 Nucleo and W5100

December 7, 2015


I am still working on a device consisting of STM32 Nucleo F103RB with a W5100 Ethernet shield. This time I included a DHCP client, so that when the device is attached to a network, it will ask for an IP address instead of being statically allocated. The DHCP protocol follows the RFC 2131 and RFC 2132, and […]

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 […]