Browsing All Posts filed under »Embedded«

DNS client on STM32 Nucleo and W5100

December 13, 2015

0

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

3

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

Update on POSIX socket library for W5100: client and server for TCP or UDP

November 22, 2015

3

I am writing a library that implements POSIX sockets, also called Berkeley sockets, for my ST Nucleo+Ethernet shield setup. The functionality that is currently in place, as for the source code on GitHub, allows for TCP client/server connections and UDP client/server communication using Wiznet W5100 chip resources. The interface is not complete, but what’s in place is taken as literally as I […]

Work in progress: POSIX socket library for W5100

October 28, 2015

1

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

0

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

1

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

7

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