Skip to content

Convert your ST-Link STM8/STM32 v2 (or clone) into a J-Link

License

Notifications You must be signed in to change notification settings

Santaclowns/St-toJ-Link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a modified version of SEGGER STLinkReflash utility

You will probably have to downgrade your St-Link to an older driver. Tested on clone using: STSW-LINK007 2.36.26 version

How to:

Windows:

  1. Unpack St-toJ-.zip
  2. Make sure .exe and .dll is in the same folder
  3. run STLinkReflash, follow instructions.
  4. Done

MacOS/Linux:

  1. Don't know, was originally made for Windows only

Thanks to NSA/Ghidra It's as simple as modifying the following binary offsets

2566 (break) 3C -> 38

2567 (new) 40 -> C0

26B2 (break) 3C -> 38

26B3 (new) 4A -> C0

Additional .gzf file and .c export provided