Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/crustpoint.
Something went wrong. Try again.
Rust 100%
README.md
Crustpoint #
Experimenting with the xteink 4 ereader and rust
Resources #
I did not build this from scratch. This is based on the previous and future work of others including:
- ESP32 embedded Rust setup explained (Video)
- The Rust on ESP Book
- Repositories
- Tools
- Crates
- Reading/Writing partition tables
Backup #
- Install espflash through cargo
- The xteink x4 needs to be on and not in standby
- Based on https://github.com/CidVonHighwind/xteink-x4-sample run
espflash read-flash 0x0 0x1000000 firmware_backup.bin --chip esp32c3 --port /dev/cu.usbmodem2101. It will take a while around 30 minutes for me and has no status indicator. If you want a status indicator use the python esptool - Repeat for
espflash read-flash --chip esp32c3 --port /dev/cu.usbmodem2101 0x10000 0x640000 app0_backup_rust_espflash.bin- The port might change depending on your environment
Restore #
uv run esptool --chip esp32c3 --port /dev/cu.usbmodem2101 write_flash 0x0 firmware_backup.bin