Quick tip finding an unknown Debug interface pinout (SWD) shown on the MiBand with

Опубликовано: 23 Июль 2026
на канале: Aaron Christophel
7,105
236

Quick video about how i did reversed / found the Debug interface pinout on the Xiaomi MiBand.

This can be used very universal with many different interfaces, hardware or debug tools and the MiBand is just used as an example.

Follow me on twitter:
  / atc1441  

Python script from the video:

import subprocess
import winsound

def check_connection():
output = subprocess.check_output("JLink.exe -device DA14697 -NoGui 1 -CommandFile jlink_auto_file.jlink", shell=True).decode()
if "Cannot connect to target" in output:
print("Not found!")
winsound.Beep(500, 100)
else:
print("Found!")
winsound.Beep(4000, 100)
winsound.Beep(1000, 100)
winsound.Beep(4000, 100)
winsound.Beep(1000, 100)
winsound.Beep(4000, 100)
winsound.Beep(1000, 100)
winsound.Beep(4000, 100)
winsound.Beep(1000, 100)

while 1==1:
check_connection()






------------------------
jlink scriptfile:
jlink_auto_file.jlink:
decvice DA14697
if SWD
speed 40000
connect


exit