Skip to content

BX Tacho 1.2.0

Choose a tag to compare

@dazchi dazchi released this 24 Oct 18:36
· 20 commits to master since this release

BX Tacho firmware 1.2.0, for the Beyblade X launcher RPM meter. Web app: https://dazchi.github.io/bx-tacho/

What's new

  • Steadier Battle Pass connections: every connect, disconnect and subscription starts a fresh session, so data meant for one connection never reaches the next (a dump cut short by a disconnect no longer continues after a reconnect). If Bluetooth can't take a packet for 1.5 s, BX Tacho drops the link so the app starts over cleanly.
  • Battle Pass debug log: connects, disconnects and subscriptions, every write from an app, each status packet with its reason, and each history/curve dump appear in the USB log (tag bbp), handy when an app doesn't behave.
  • Optional extensions: the Battle Pass emulation can take an extension built in separately (see "Optional extension" in the firmware README). This release doesn't include one, and nothing changes without it; cfg ext says so.
  • Boot screen: shows just the version (v1.2.0), so longer version strings fit.

Third-party Battle Pass apps see exactly what 1.1.0 sent.

Files

File For
bx-tacho-v1.2.0.bin Updates. In the web app: USB tab (computer, or Chrome on Android with a USB-C cable) or Bluetooth tab. Settings, shot history and calibration are kept.
bx-tacho-v1.2.0-merged.bin A blank board: everything from address 0x0. Overwrites settings and shot history; the battery calibration is kept.
ota_data_initial.bin A blank otadata (8 KB of 0xFF), only for flashing bx-tacho-v1.2.0.bin by hand (below).
SHA256SUMS.txt Checksums of all three.

Release build, optimised for speed (-O2), ESP-IDF v6.1.

Updating from a firmware before 0.8 (single app slot): update over USB once. That writes the two-slot partition table that Bluetooth updates need; settings, shot history and calibration stay. After that, Bluetooth updates work too.

Flashing by hand (esptool):

python -m esptool --chip esp32c3 write-flash 0x10000 bx-tacho-v1.2.0.bin 0x10e000 ota_data_initial.bin
python -m esptool --chip esp32c3 write-flash 0x0 bx-tacho-v1.2.0-merged.bin

The first form writes the app and a blank otadata, so the board boots this app rather than one in the other slot; the web app does that for you. The second is for a blank board.

Licensed under the GPL, version 3 or later (see NOTICE for the additional permission covering extensions).