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
@mhv75
mhv75 / freecodecamp-pomodoro-clock.markdown
Created January 10, 2021 00:11
freeCodeCamp: Pomodoro Clock

freeCodeCamp: Pomodoro Clock

Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/FreeCodeCamp/full/aNyxXR/.

Fulfill the below user stories. Use whichever libraries or APIs you need. Give it your own personal style.

  • User Story: I can start a 25 minute pomodoro, and the timer will go off once 25 minutes has elapsed.
  • User Story: I can reset the clock for my next pomodoro.
  • User Story: I can customize the length of each pomodoro.

A Pen by JoeCodesStuff on CodePen.