Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.32 KB

installation.md

File metadata and controls

52 lines (36 loc) · 1.32 KB
title Installation
nav_order 14

Installation

Web Installer

  1. Download the appropriate YACP-<version>-<variant>.bin file from the YACP releases page.
  2. Connect your Xteink X4 or X3 to your computer via USB-C and wake/unlock the device.
  3. Go to https://crosspointreader.com/#flash-tools and choose your device.
  4. Select Custom .bin from the options.
  5. Choose the YACP .bin file you downloaded and click Flash.

To revert back to the official firmware, flash the latest official firmware from https://crosspointreader.com/#flash-tools.

Command Line

These instructions are for macOS and Linux. Windows users should use the web installer.

Install esptool:

pip3 install esptool

Download the appropriate YACP binary from the YACP releases page, then connect your device with USB-C.

Find the device port:

# Linux
dmesg | grep tty

# macOS
ls /dev/cu.*

Flash the firmware:

# Linux
esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 921600 write_flash 0x10000 /path/to/firmware.bin

# macOS
esptool.py --chip esp32c3 --port /dev/cu.usbmodem2101 --baud 921600 write_flash 0x10000 /path/to/firmware.bin

Replace the port and firmware path with your actual values.