Browsing All Posts filed under »Software«

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

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

November 22, 2015


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


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

Sticky Bits » Security and Connected Devices

September 14, 2015


A clickbait headline for this article would be something like: “The 10 secrets to save your next IoT product from cyber attacks” The author makes valid points, enumerates powerful real-life examples when things actually went wrong, and shows the mindset to apply when thinking about security in general. With the Internet of Things, we are seeing more and more […]

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

Installed Debian on Acer Aspire One 522 netbook

March 1, 2015


My mother has an Acer Aspire One 522 netbook (as for the post title) and used it to surf the net and play some Facebook games… until it fell hard while it was on, and it wouldn’t boot any more: it would get stuck on the boot screen where you can tap F2 to enter […]


Get every new post delivered to your Inbox.

Join 509 other followers