Xinyuan-LilyGO / LilyGO-T-ETH-Series

172 stars 67 forks source link

T-ETH-Lite-ESP32S3: Unable to verify flash chip connection #45

Closed MattGrayYes closed 1 year ago

MattGrayYes commented 1 year ago

Hiya

Apologies if I'm doing something silly, but I havent been able to upload exmaple code to the T-ETH-Lite-ESP32S3 boaerd.

Something's working because It's able to get the board info.

Any suggestions on what I can do next please? Details below.

Thanks! Matt

Sketch uses 810413 bytes (25%) of program storage space. Maximum is 3145728 bytes.
Global variables use 47196 bytes (14%) of dynamic memory, leaving 280484 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-210
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 84:fc:e6:6c:cc:10
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.

A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
Failed uploading: uploading error: exit status 2

To reproduce:

  1. Open HelloServer.ino example code in arduino
  2. define LILYGO_T_ETH_LITE_ESP32S3 in utilities.h

  3. Set board settings as per instructions (screenshot below)
  4. Plug USB TTL cable in
  5. Press and hold boot, press reset, let go of boot.
  6. Click upload in Arduino
  7. Compiles successfully
  8. Above output appears.
Screenshot 2023-11-04 at 00 26 05
lewisxhe commented 1 year ago

Hi

Very detailed instructions. You can use the following steps to confirm whether it has entered download mode?

  1. Connect the external USB TO TTL and connect it correctly. Please check the README for instructions on how to connect.
  2. Open the Serial monitor
  3. Press RST and check whether there is startup information. If there is no startup information, the USB TO TTL connection may be incorrect.
  4. Press and hold the BOOT button, don't release it, then click the RST button, release the BOOT button, and check whether the Serial outputs the words "Waiting for download". If the word "Waiting for download" appears in the fourth step, try uploading the sketch again. If it fails, please try lowering the baud rate.
MattGrayYes commented 1 year ago

Thanks for the help. I bought a new cable just in case and it worked immediately.

For anyone else reading this having had a similar issue

I'm now using the official FTDI TTL-232R-3V3 cable,

With 4 breadboard / dupont connector pin to socket leads

tiagoad commented 9 months ago

In my case (LilyGO T3 v1.6), I needed to change Upload Speed to 115200 in the Tools menu.

Zkall123 commented 7 months ago

my board dont go in Downloadmode if i press the boot boot then the RST butten and release the RST button