Xinyuan-LilyGO / T-Display-S3-AMOLED

An upgraded version of T-Display-S3. It has a high-resolution color screen and more configurable GPIO ports. Enrich your needs.
MIT License
143 stars 29 forks source link

device not responding, no COM port assignment #23

Closed TobiasPSP closed 3 months ago

TobiasPSP commented 6 months ago

I am experienced in ESP8266 but new to AMOLED and ESP32. The AMOLED T-Display initially showed the preinstalled software, so display and device worked.

In an effort to get a first own working code example running, apparently I accidentally uploaded code targeting an LCD version of T-Display, not AMOLED.

After uploading succeeded, the device is now powering up when I connect it to USB, and the Windows 10 device manager also emits a sound on connect, however instead of getting a COM port assigned, in device manager I just see an "Unknown USB Device" (device descriptor request failed), and neither platformio nor your firmware update tool seem to be able to connect to the device anymore.

What can I do to get the device back in a responsive state? Many thanks.

lewisxhe commented 6 months ago

Press and hold the BOOT button, don't release it, then insert the USBC, and finally release the BOOT button

TobiasPSP commented 6 months ago

Many thanks, now I have a COM port. Next I installed the ESP32S3 flash update tool V3.9.5 and tried to flash any of the bin files found here: https://github.com/Xinyuan-LilyGO/T-Display-S3-AMOLED/tree/main/firmware. I selected one of the bin files and added a "0" after the "@". Next, I used these options: 40Mhz, QIO, DoNotChgBin checked, COMport, 921600 baud. When I click START, the icon in the tool changes to a "sync", then a green "download", then a blue "finish". Next to finish, I see this: AP: 348518A9948D STA: 348518A9948C BT: 348518A9948E ETHERNET: 348518A9948F

After flashing, when I normally reset the device, all is as before. No COM port, blank screen. I was under the impression when I flash i.e. "[T-Display-AMOLED_Cam_V1.1.bin" that this included the basic firmware plus the default software, so I expected to see the same display messages as OOB.

What would I be doing wrong? Many thanks for any suggestion.

TobiasPSP commented 6 months ago

To double-check, I connected another brand new AMOLED to my USB, and it immediately gets a COM port assigned and shows the default display messages.

The other AMOLED seems to be unaffected by the firmware update, and when I connect it, it shows a blank screen and no COM port assignment. Instead, in device manager it appears as "unknown USB device". I only get a COM port assignment with this AMOLED when I hold down the boot button during start (which I did as instructed to upload the firmware update).

The only thing I did to this AMOLED was to upload code via platformio that was intended for a non-OLED version of T-Display.

TobiasPSP commented 6 months ago

My suspicion is that the firmware wasn't updated somehow. The firmware update tool does not show any error message though. I was surprised to see the firmware update take only 2-3 seconds. Given the size of the update at 1,3MB, even at 921.600 baud I would expect the upload to take around 15 seconds. The tool however changes from "downloading" to "finished" within 2-3 seconds.

TobiasPSP commented 6 months ago

OMG. Problem solved. I missed to set the checkmark before the line with the loaded bin file. Sorry for that, now all works as expected.

TobiasPSP commented 6 months ago

Maybe in a future flashtool version, when there are no bin files selected and the user still clicks "start", a warning would be in order ;-). I know it is all my fault but any bit of added user friendlyness helps all sides...

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.