Skip to content

Instantly share code, notes, and snippets.

@mhv75
mhv75 / UpdateProtocolDafit.txt
Created August 26, 2021 10:54 — forked from atc1441/UpdateProtocolDafit.txt
DaFit App Update Protocol manual
Basic Manual for DaFit Fitness Tracker firmware update protocol, works for nearly any nRF52832 tracker from Company DaFit
The minimum size of update file is 0x10000(can be filled with garbage to get to size) and the maximum size is 0x2F000
the update will first get stored onto the external flash at position 0x3D1000 by the stock firmware(not by the bootloader)
the size of the update will get stored at 0x3D0000 on external flash with 4 bytes uint32_t
when bootloader gets activated it will copy the update from external flash to 0x23000 of the nRF52 internal flash.
Connect to device,
@mhv75
mhv75 / resources.md
Created May 25, 2021 07:10 — forked from muff-in/resources.md
A curated list of Assembly Language / Reversing / Malware Analysis -resources