DEV Community

Cover image for Embedded Systems Weekly #102
Embedded Systems
Embedded Systems

Posted on • Edited on • Originally published at embedsysweekly.com

Embedded Systems Weekly #102

Happy Friday readers! Today I would like to share with you something that I read every week. It's Weekly Robotics, a tech newsletter (like Embedsys Weekly) focused on robotics. Weekly Robotics is hand picked and it is delivered every Monday. If you like my work, I'm sure you'll like Weekly Robotics. Give it a try!

Thank you to Harrison Broadbent for the header's picture.

Happy reading!

Articles

Coding in C for MCUs: Sort Structs to Save Code Size

Great article that starts from an example to explain, very clearly, the impact of a struct declaration order on the memory usage and on the memory accesses.

How I think about C99 strict aliasing rules

Article fascinating on how we can be fooled by the strict aliasing rule. The second part is a practical example from an actual project.

(Unofficial) Firmware Upgrade for Dyson V6/V7 Vacuum Battery Management System

By disassembling the original firmware and analysing the IC doing the battery management, the author discovered that Dyson decided to shutdown by software and definitely the battery of their vacuum as soon as a moderate unbalance of the cells appears. Pushed by the apparent unfairness of this Dyson design decision, he patched together a new firmware to continue to be able to use his vacuum. All the details and code are in the Git repository.

Designing a programmable sound generator board

The author designed its own card based on the PIC16LF1613 and coded everything in assembler.

The Bombe Machine on an FPGA

The bombe, created by Turing in 1939, is an electromechanical device that could decrypt the Enigma machine during WWII. Authors replicated the machine on a FPGA and they share how they did it in this article.

Introduction to Firebloom (iBoot)

Interesting to read about Apple effort on securing the code C of its bootloader. Of course Apple did not open source the code, so the author reversed the binary to discover what Apple actually did. There are some interesting techniques to discover here.

Jobs

wolfSSL Inc., Embedded Systems Software Engineer, Full-time, Remote (Open to remote)

wolfSSL is a growing company looking to add a top notch embedded systems software engineer to our organization. wolfSSL develops, markets and sells the leading Open Source embedded SSL/TLS protocol implementation, wolfSSL.

Enphase Energy, Sr. Firmware Test Engineer, Full-time, Austin TX (Partially remote)

Our mission at Enphase Energy is to advance a sustainable future for all. Today, our intelligent microinverters, which turn sunlight into an affordable, safe, reliable, and scalable source of energy, work with virtually every solar panel made, and when paired with our award-winning smart battery technology, we engineer one of the industry's best-performing clean energy systems.

Tools / Libraries

TinyUSB

TinyUSB is an USB Host/Device stack for embedded systems. It is memory-safe (no dynamic allocation), thread-safe and supports an impressive list of MCUs.

Education / Community

Lets Build 8 Bit Computer

Even though this video series is 8 years old, it is still a really good introduction series.

x86 Opcode Structure and Instruction Overview

I think it is the clearer document available showing the relation between opcodes and instructions.

Misc

Symbian OS Kernel

The source code of the Symbian OS has been open sourced this week. Ahead of its time years ago, we now have access to the code of this piece of history.

Top comments (0)