-
git clone https://github.com/meshtastic/firmware.git
-
cd firmware -
git submodule update --init
- Download the fix.patch in the firmware folder
-
patch < fix.patch -
pio run -e t-deck-tft
-
pio run -e t-deck-tft -t buildfs
-
wget https://github.com/meshtastic/firmware-ota/releases/download/latest/firmware-s3.bin
- Enable Download Mode
-
esptool.py --port /dev/<serial-port> chip_id
- This will erase all settings and key on the device:
esptool.py --port /dev/<serial-port> erase_flash-
esptool.py --port /dev/<serial-port> write_flash 0x00 .pio/build/t-deck-tft/firmware.factory.bin
-
esptool.py --port /dev/<serial-port> write_flash 0x260000 firmware-s3.bin
-
esptool.py --port /dev/<serial-port> write_flash 0x300000 .pio/build/t-deck-tft/littlefs.bin
-
esptool.py --port /dev/<serial-port> --baud 115200 write_flash 0x10000 .pio/build/t-deck-tft/firmware.bin
- Enable Download Mode
- Visit https://esp.huhn.me/
- Press the
Connectbutton - This will erase all settings and key on the device: Press the
Erasebutton - Setup and "upload" the files accordingly:
| 0x field | Firmware file |
|---|---|
| 0x00 | .pio/build/t-deck-tft/firmware.factory.bin |
| 0x260000 | firmware-s3.bin |
| 0x300000 | .pio/build/t-deck-tft/littlefs.bin |
| 0x10000 | .pio/build/t-deck-tft/firmware.bin |
- Press the
Programbutton
Download mode (From https://meshtastic.org)
- Ensure the device's power switch is toggled OFF.
- Press and hold the TRACKBALL.
- Toggle device's power switch ON.
- After 2-3 seconds, release the TRACKBALL button.
- If the device screen is black and the backlight is off, the device is in the Firmware Download mode. If the backlight is on, repeat these steps.
command not found: pio