/st-link-hack

An exploration into unsafely written code

Primary LanguageC#

Dumping the ST-LINK/V2-1

This repo contains the code and a writeup regarding my attempt at dumping the full flash contents of a ST-LINK/V2-1.

Read the writeup here!

New! Upgrade your ST-LINK/V2 clone to ST-LINK/V2-1, and some info on the layout of the ST-LINK firmware and command line options for STLinkUpgrade. Read here.

Associated code:

  • Host application: .NET Core application that sends the payload to the ST-Link and receives the dump via serial
  • Payload: Runs on the device and sends the flash contents over UART
  • ST-LINK/V2 payload: A different payload for V2 bootloader, outputting on NRST pin

Feel free to @ me on Twitter or open an issue if you have questions or comments.