Skip to content

k4linsk1/st-link-hack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An exploration into unsafely written code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 80.7%
  • Assembly 13.2%
  • Makefile 6.1%