What we've been reading in November
Here are the articles, videos, and tools that we’ve been excited about this November.
We hope you enjoy these links, and we look forward to hearing what you’ve been reading in the comments or on the Interrupt Slack.
Articles & Learning
The Hackers Guide to Hardware Debugging (video) by Matthew Alt
A 2-hour long video from the Hackaday Remoticon 2020 about reverse engineering hardware products in general, but the video covers reverse engineering an Xbox One controller. Matthew’s blog is also worth a look as he has some great posts, such as reverse engineering JTAG and SWD.
Bits On The Wire by Tim Bray
In the Interrupt Slack, we’ve been chatting a bit about binary protocols, and we found this post while digging into the topic. Tim gives a high-level overview of JSON vs binary encoding protocols and then goes into the popular libraries out today.
IoT Unravelled Part 1: It’s a Mess… But Then There’s Home Assistant by Troy Hunt
The first of five technical posts on the state of IoT for consumer products. They are all fresh off the press and were published last week.
Eachine H8 Open Source Firmware with Acro Mode by Drone Garage Blog
A post about installing open-source firmware on the Eachine H8 Mini drone (quadcopter) using an ST-link V2.
Getting Started with ESP32 and NuttX by Sara Monteiro
A simple zero-to-something post using the ESP32 and NuttX by an employee at Espressif, complete with some NuttX tips at the end.
Metal.GDB: Controlling GDB through Python Scripts with the GDB Python API by Klemens Morgenstern
A creative use-case for controlling embedded devices using the GDB Python API.
CBOR IoT Data Serialization for Embedded C and Rust by Jared Wolff
A blog covering encoding data with CBOR in C, and then deserializing it on a Rust server. It is filled with coding examples, so it should serve as a good starting point for projects thinking about using CBOR.
Turn $1.5 Blue Pill STM32 board into a Sigrok compatible logic analyzer by
Using the buck50 firmware on an STM32F103, you can have yourself a test & measurement instrument for $1.50! I’m not going to explain much here, because the buck50 documentation everything so well.
Nordic Semiconductor nRF52840 Tools Comparison by Ian Ross
In a similar spirit to our Best and Worst MCU SDKs, Ian Ross covers all the different development environments that one can use while working on the nRF52, including PlatformIO, Zephyr, SEGGER Embedded Studio, and straight GCC & Makefiles.
Reading and writing firmware on an STM32 using the serial bootloader by Andrew Tierney
A technical post investigating the STM32 serial bootloader and how to load new images using it. A neat semi-documented feature!
STM32 & OpenCM3 5: Debugging & Fault Handlers by Ross Schlaikjer
The last post of the 5-part series on using an STM32 board with OpenCM3. The series covers alternate functions and USART, SPI, DMA, the memory layout, CAN bus, memory layout, and debugging using the fault handlers.
What is a System-on-Chip (SoC), and Why Do We Care if They are Open Source?
Written by one of the creators of the Precursor SoC, this post dives into what a system-on-a-chip actually is, why they were originally created, and what the story behind the Precursor SoC is. This blog detailing the story behind Precursor is worth a read too!
Embedded Virtual Machine Core Project by Phillip Johnston of Embedded Artistry
An ambitious project with the goal of providing an “embedded virtual machine” on top of various hardware platforms. There is already an nRF52 port, which is worth checking out. The project also primarily uses the Meson build system and could serve as a good learning experience.
- kriswiner/MPU6050 - A great reference on IMU sensor fusion.
Map File Browser - A GUI-based tool to help analyze
.mapfiles and investigate the code and data usage. Works on Mac, Windows, and Linux.
- AtomicObject/Heatshrink - An open-source compression library for embedded systems by the development shop Atomic Object. It came up in the Interrupt Slack group as a production-ready solution for compression with as little as a 50 byte memory buffer!
- ESP32-C3 WiFi & BLE RISC-V processor is pin-to-pin compatible with ESP8266 - The most exciting news to happen this month. We are thrilled to see how Espressif can expand into the RISC-V space. If they keep their IDF compatible and make the transition smooth for everyone, I see this being a huge success for them.
- Nordic Semiconductor expands into Wi-Fi - An exciting turn of events as Nordic Semiconductor pushes into the Wi-Fi market, probably to compete with Espressif and the ESP32 lineup.
- Alexa Voice Service: New Reference Design for STM32 Embedded Systems - ST announced an Alexa reference platform, utilizing an STM32H743, two microphones, Wi-Fi chip, and a speaker.
- This Bluetooth Attack Can Steal a Tesla Model X in Minutes - Another day, another Bluetooth attack vector. Thankfully Tesla can patch their vehicles easily with OTA updates.