Dash-Chan on M5Burner
Official M5Stack StackChan K151 only: ESP32-S3, 16 MB flash, 8 MB Quad PSRAM.
Recommended installation
Use the Dash-Chan web installer. It backs up the robot and writes four separate firmware images while verifying that the existing NVS/servo-calibration range is unchanged. It is also the recommended way to update.
M5Burner factory-reset image
M5Burner's public upload form accepts one .bin, and its desktop burner writes that binary at address 0x0. The supplied Dash-Chan-0.8.1-beta-K151-FACTORY-RESET.bin is a clean merged factory-reset image, assembled from the four published v0.8.1-beta release images. It is not an export of a personal robot.
Burning this merged file resets NVS, including saved Dash-Chan preferences and factory servo zero positions. This happens even without a separate whole-chip erase: the merged file's blank gaps are also flashed. It does not preserve calibration. The SD card is not formatted by the image.
Use the web installer instead unless you have backed up your own robot and can restore its calibration. Do not enable head motion after a factory reset until calibration has been restored. Head motion and speech default to off on a fresh Dash-Chan installation; alert sounds can be disabled in Audio settings.
Advanced backup and restore procedure
Install esptool==5.4.0, close other serial applications and enter download mode using the K151 bottom RST button (hold about three seconds, release when the indicator turns green). Replace YOUR_PORT with the robot's actual port.
Before using M5Burner:
python -m esptool --chip esp32s3 --port YOUR_PORT read-flash 0x0 0x1000000 my-stackchan-full-backup.bin
python -m esptool --chip esp32s3 --port YOUR_PORT read-flash 0x9000 0x5000 my-stackchan-nvs.bin
Keep both files private. They can contain credentials and settings. Never upload them to M5Burner, GitHub, or another person's device.
Select Dash-Chan for StackChan, read the factory-reset warning, and use M5Burner's Burn operation. The image starts at 0x0, includes bootloader/partition table/OTA initialization/application, and already has the required DIO, 80 MHz, 16 MB boot header. Do not use a separate Erase operation. This replaces the previous firmware.
After installation, keep head motion off, close M5Burner's serial connection, enter download mode again and restore only this same robot's saved NVS:
python -m esptool --chip esp32s3 --port YOUR_PORT write-flash 0x9000 my-stackchan-nvs.bin
Restart the robot. Existing Dash-Chan preferences, if present in the backup, are restored along with calibration. A full original-firmware restore is described in FLASHING.md. If no backup is available, use M5Stack's calibration/recovery process for the exact K151 before enabling motion; another robot's zero positions are not a substitute.
Package verification
The merged image is derived from the public v0.8.1-beta release parts and checked against the SHA-256 manifest served by the web installer. Run python tools/package_m5burner.py after packaging the split release to reproduce it. Each embedded image is compared byte-for-byte at its intended offset, and every gap is checked as erased. The entire 0x9000โ0xDFFF NVS range contains 0xFF, with no factory dump, observations, settings or credentials. This blank gap is why the M5Burner installation resets calibration.
The corresponding split-image release is built and software-tested locally. The preceding 0.8.0 build was checked on the development K151: GPS SMA on black B obtained a valid fix with both radios active and a short stationary drive saved 115 validated CSV rows. The 0.8.1 patch adds the config filename change and compatibility checks. It does not establish new GPS or road/endurance acceptance. A factory-reset installation through M5Burner and live uploads using service accounts have not been physically tested. Review/publication status is controlled by M5Stack; submission is not approval.
Corresponding source and notices are included in the current download bundle, with its exact commit recorded in SOURCE.txt. The standalone source archive matches the web release. License: GPL-3.0-or-later, with dependency notices retained. See SOURCES.md for full credits.
Configure uploads after installation
Use /dashchan/config.json on the SD card with firmware 0.8.1+. The file holds your home 2.4 GHz Wi-Fi name/password and optional WiGLE API name/token, WDGWars API key and Wardrift device key. The website is optional; a plain-text editor is enough. Start with the blank example, rename it to config.json, enable the desired destinations, and follow the complete step-by-step SD setup guide.
On the robot, use Menu โ Upload drives โ Refresh, then Send selected or Upload all. Automatic mode makes one attempt after Stop + Save; it does not wait for home Wi-Fi or upload an old backlog at boot. Version 0.8.0 requires the old filename upload.json. Earlier versions do not support Wardrift. Existing upload.json files continue to work in 0.8.1+.
Use the web flasher for current split-image downloads. M5Burner review/public availability is separate from a successful package upload.