Skip to content

Instantly share code, notes, and snippets.

@likeablob
Last active January 22, 2020 16:01
Show Gist options
  • Save likeablob/f53b4d3e581d945a39070e1e4603cea1 to your computer and use it in GitHub Desktop.
Save likeablob/f53b4d3e581d945a39070e1e4603cea1 to your computer and use it in GitHub Desktop.
Hacking "No.1"'s F18 Smartwatch

ISP

  • There is an ISP port under the LCD module.
  • From left to right, VCC SWCLK SWDIO GND.

f18_internal_1

Flashing via BMP

# Unlock
arm-none-eabi-gdb --quiet -ex "target extended-remote /dev/ttyACM0" -ex "monitor connect_srst enable" -ex "set non-stop on" -ex "monitor swdp_scan" -ex "att 2" -ex "mon erase_mass"

# Flash
arm-none-eabi-gdb --quiet -ex "target extended-remote /dev/ttyACM0" -ex "monitor connect_srst enable" -ex "monitor swdp_scan" -ex "att 1" -ex "load" -ex "run" path/to/app.hex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment