Openhaystack firmware for the Telink TLSR8253 MCU / TB-03F
This project is a custom firmware implementation that brings OpenHaystack support to the TLSR825x chip.
-
🔄 Rotating Public Keys (NEW) Implements rotating identity keys for enhanced user privacy making it harder for thieves to spot.
-
🔋 Battery Status Reporting (NEW) Reports battery voltage over UART, complete with status flags (Low, Medium, Full, Critical)
These instructions require linux. Although they almost can't be called instructions, since it's just cloning three repositories and unpacking the toolchain tarball to /opt:
git clone https://github.com/
wget http://shyboy.oss-cn-shenzhen.aliyuncs.com/readonly/tc32_gcc_v2.0.tar.bz2
sudo tar -xvjf tc32_gcc_v2.0.tar.bz2 -C /opt/
export PATH=$PATH:/opt/tc32/binFor convenience you could add the PATH export to whatever gets called on starting a new shell, so it's always available.
- Generate a
.keysfile withFindMy/generate_keys.pywith three keypairs. - Add the key to the firmware using your brain and patience
- Flash the new
FindMy.binfile usingtb03f-pyflasher.pyover an UART, for example an USB UART dongle:
python tb03f-pyflasher.py --port /dev/ttyUSB0 FindMy.bin
This is explained in more detail in the FindMy repository, but boils down to running the request_reports.py script in the same
directory as the .keys file generated here.