A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: Update README with firmware flashing instructions (#1654)

Added instructions for flashing firmware using esptool.

## Summary

Instructions for flashing a specific firmware from the terminal using
`esptool.py`.

## Additional Context

Not everyone has Chrome or Chromium installed. An alternative to the
web-based firmware utility shouldn't be hard to find.

---

### AI Usage

Did you use AI tools to help write this code? _**PARTIALLY**_ : `dmesg`
command analog for MacOS

authored by

Russell Neches and committed by
GitHub
cc23aaa9 05f8e6e1

+18
+18
README.md
··· 68 68 To revert back to the official firmware, you can flash the latest official firmware from https://xteink.dve.al/, or swap 69 69 back to the other partition using the "Swap boot partition" button here https://xteink.dve.al/debug. 70 70 71 + ### Command line (specific firmware version) 72 + 73 + 1. Install [`esptool`](https://github.com/espressif/esptool) : 74 + ```bash 75 + pip install esptool 76 + ``` 77 + 2. Download the `firmware.bin` file from the release of your choice via the [releases page](https://github.com/crosspoint-reader/crosspoint-reader/releases) 78 + 3. Connect your Xteink X4 to your computer via USB-C. 79 + 4. Note the device location. On Linux, run `dmesg` after connecting. On MacOS, run : 80 + ```bash 81 + log stream --predicate 'subsystem == "com.apple.iokit"' --info 82 + ``` 83 + 5. Flash the firmware : 84 + ```bash 85 + esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 921600 write_flash 0x10000 /path/to/firmware.bin 86 + ``` 87 + Change `/dev/ttyACM0` to the device for your system. 88 + 71 89 ### Manual 72 90 73 91 See [Development](#development) below.