lujji

embedded stuff

Home Archives
2023-02-14

Power analysis with Rigol DS1000Z

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.

Read More

Share Comments
  • digital-signal-processing
  • rigol
  • side-channel-attack
2017-08-08

Serial bootloader for STM8

This article will cover developing a serial bootloader for STM8S microcontrollers.

Read More

Share Comments
  • bootloader
  • sdcc
  • stm8
  • tutorial
2017-08-01

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.

Read More

Share Comments
  • assembly
  • sdcc
  • stm8
2017-07-26

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.

Read More

Share Comments
  • assembly
  • sdcc
  • stm8
2017-04-11

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.

Read More

Share Comments
  • bare-metal
  • sdcc
  • stm8
2017-03-04

Bare metal programming: STM8

This article will cover developing for STM8 series of microcontrolles completely from scratch, without using any vendor-supplied libraries.

Read More

Share Comments
  • bare-metal
  • sdcc
  • stm8
2017-02-16

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.

Read More

Share Comments
  • blackmagic
  • java-bytecode
  • reverse-engineering
  • st-link
2017-01-30

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.

Read More

Share Comments
  • esp8266
  • freertos
  • web
2016-10-17

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.

Read More

Share Comments
  • reverse-engineering
  • st-link
  • stm32
2016-10-13

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.

Read More

Share Comments
  • reverse-engineering
  • st-link
  • stm32
12Next

Recent Posts

  • Power analysis with Rigol DS1000Z
  • Serial bootloader for STM8
  • Mixing C and assembly on STM8
  • Executing code from RAM on STM8
  • Bare metal programming: STM8 (Part 2)
  • Bare metal programming: STM8
  • Installing Black Magic via ST-Link bootloader
  • HTTP server with WebSockets on ESP8266
  • Reverse-engineering ST-Link firmware - Part 2
  • Reverse-engineering ST-Link firmware
  • Adding Trace support to ST-Link clones
© 2023 lujji
lujji at protonmail com
Home Archives