Xinyuan-LilyGO / T-Track

10 stars 3 forks source link

🌟T-Track🌟

Pinout

Quick Start

The board uses USB as the JTAG upload port. When printing serial port information on USB, CDC_ON_BOOT configuration needs to be turned on. If the port cannot be found when uploading the program or the USB has been used for other functions, the port does not appear. Please enter the upload mode manually.

Arduino

  1. Inastall Arduino 2.x
  2. In Arduino Preferences, on the Settings tab, enter the https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json URL in the Additional boards manager URLs input box.
  3. Click OK and the software will install.
  4. Search for ESP32 in Tools β†’ Board Manager and install ESP32-Arduino SDK (version 2.0.3 or above)
  5. Copy everything from this repository lib folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
  6. Select the correct settings in the Tools menu as shown below.
Setting Value
Board ESP32 S3 Dev Module
USB CDC On Boot Enabled
CPU Frequency 240MHz (WiFi)
Core Debug Level None
USB DFU On Boot Enabled
Events Run On Core 1
Flash Mode QIO 80MHz
Flash Size 16MB (128Mb)
JTAG Adapter Integrated USB JTAG
Arduino Runs On Core 1
USB Firmware MSC On Boot Disabled
Partition Scheme 16M Flash (3MB APP/9.9MB SPIFFS)
PSRAM OPI PSRAM
USB Mode Hardware CDC and JTAG

PlatformIO

  1. PlatformIO plug-in installation: click on the extension on the left column β†’ search platformIO β†’ install the first plug-in
  2. Click Platforms β†’ Embedded β†’ search Espressif 32 in the input box β†’ select the corresponding firmware installation

Tips

  1. When the USB is repeatedly disconnected, it means that the program is abnormal. At this time, you need to follow the steps below
    • Press and hold the BOOT(In the middle of the trackball, press down) button (without releasing it), then press the RST button, then release the RST button, and finally release the BOOT(In the middle of the trackball, press down) button
    • Click the upload button in the IDE and wait for the upload to complete
    • Press the RST button to exit the download mode