···58585959### Flashing your device
60606161-#### Command line
6161+#### Web (latest firmware)
62626363-Connect your Xteink X4 to your computer via USB-C and run the following command.
6363+1. Connect your Xteink X4 to your computer via USB-C
6464+2. Go to https://xteink.dve.al/ and click "Flash CrossPoint firmware"
64656565-```sh
6666-pio run --target upload
6767-```
6666+To revert back to the official firmware, you can flash the latest official firmware from https://xteink.dve.al/, or swap
6767+back to the other partition using the "Swap boot partition" button here https://xteink.dve.al/debug.
68686969-#### Web
6969+#### Web (specific firmware version)
707071711. Connect your Xteink X4 to your computer via USB-C
7272-2. Download the `firmware.bin` file from the latest release via the [releases page](https://github.com/daveallie/crosspoint-reader/releases)
7272+2. Download the `firmware.bin` file from the release of your choice via the [releases page](https://github.com/daveallie/crosspoint-reader/releases)
73733. Go to https://xteink.dve.al/ and flash the firmware file using the "OTA fast flash controls" section
7474-4. Press the reset button on the Xteink X4 to restart the device
75747675To revert back to the official firmware, you can flash the latest official firmware from https://xteink.dve.al/, or swap
7777-back to the other partition using the "Swap boot partition" button here https://xteink.dve.al/debug.
7676+back to the other partition using the "Swap boot partition" button here https://xteink.dve.al/debug.
7777+7878+#### Command line
7979+8080+Connect your Xteink X4 to your computer via USB-C and run the following command.
8181+8282+```sh
8383+pio run --target upload
8484+```
78857986## Internals
8087