Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.76 KB

flashing.md

File metadata and controls

28 lines (22 loc) · 1.76 KB

Flashing Pre-compiled Binaries

Pre-compiled firmware binaries for each supported board (LilyGo-T2-Can and Waveshare-esp32-rs485-can) are available in two places:

  1. GitHub Releases (Recommended): Go to the Releases section of this GitHub repository to download a versioned release (e.g., v0.1.0) along with its changelog.
  2. GitHub Actions Artifacts (Development builds): For in-progress work, go to the Actions tab, click on the latest successful "Build" run, and download the artifact zip for your board.

All pre-compiled binaries already have "USB CDC On Boot" enabled.

Option 1: Easy Offline GUI (Windows)

For the easiest offline flashing experience, use Espressif's official tool:

  1. Download the Flash Download Tools from Espressif's website.
  2. Extract and run the tool. Select Chip Type: ESP32-S3 and WorkMode: Develop.
  3. In the tool:
    • Select the downloaded simppeliTCU.ino.bin file and set the address to 0x10000.
    • Check the box next to the file path to enable it.
    • Select your LilyGo board's COM port at the bottom right.
  4. Click START to flash the firmware.

Option 2: Command Line (esptool)

If you prefer using the command line, you can flash it with esptool command (the tool automatically detects most of the hardware parameters):

# Install esptool if you haven't already: pip install esptool
esptool --chip esp32s3 -p <PORT> write_flash 0x10000 simppeliTCU.ino.bin

(Replace <PORT> with your COM port, e.g., COM3 on Windows or /dev/cu.usbserial... on Mac/Linux)

Alternatively, you could use a browser-based tool like Adafruit ESPTool to flash the .bin to offset 0x10000.