Recently, I had to analyze the power profile of a microcontroller at a specific point in time. This article will cover the required steps to perform such measurements with Rigol DS1054Z/1104Z oscilloscope.
Serial bootloader for STM8
This article will cover developing a serial bootloader for STM8S microcontrollers.
Mixing C and assembly on STM8
This guide discusses how we should (and should not) speed up our code with inline assembly and explains how to write separate assembly routines that can be used within C.
Executing code from RAM on STM8
A short article where we investigate how executing code from RAM can be achieved on STM8 with SDCC toolchain.
Bare metal programming: STM8 (Part 2)
In this part we are going to focus on more features of STM8 (clock, EEPROM, option bytes, flash access) and stick some wires into the mains outlet.
Bare metal programming: STM8
This article will cover developing for STM8 series of microcontrolles completely from scratch, without using any vendor-supplied libraries.
Installing Black Magic via ST-Link bootloader
ST-Link hardware has become a host for various debuggers, including J-Link and Versaloon (which no longer seems to be maintained). To be honest, I was so spoiled by J-Link that I never had the necessity to try different debugging hardware. Only recently I have discovered the Black Magic Probe which, according to Hackaday, is the best ARM JTAG debugger.
HTTP server with WebSockets on ESP8266
This article will cover implementing a basic HTTP server on top of LwIP for ESP8266 and dive into the implementation of WebSockets.
Reverse-engineering ST-Link firmware - Part 2
This is the second part of ST-Link reverse-engineering, where I cover dumping the firmware, extracting and reverse-engineering the bootloader, and finally, patching the bootloader in order to disable Level 1 protection.
Reverse-engineering ST-Link firmware
This is the first part of ST-Link reverse-engineering, where I cover analyzing and decompiling the updater utility, decrypting and encrypting firmware binaries and running custom code on ST-Link v2/2-1 programmer.