Xinyuan-LilyGO / T-Display-S3-Long

44 stars 15 forks source link

Unable to flash without manually pressing reset and boot #36

Open malexnurazhar opened 1 month ago

malexnurazhar commented 1 month ago

I need to manually press boot and reset everytime i upload. This was not required on my previous s3 long. Tried cdc on boot. Nothing works

Llgok commented 1 month ago

@malexnurazhar May I ask what version of arduino esp lib you are using?

malexnurazhar commented 1 month ago

@malexnurazhar May I ask what version of arduino esp lib you are using?

PACKAGES:

Llgok commented 1 month ago

@malexnurazhar Have you turned off USB mode? If USB mode is enabled, you won't be able to upload programs via the USB port. You need to enter boot mode to download. 1

malexnurazhar commented 1 month ago

@malexnurazhar Have you turned off USB mode? If USB mode is enabled, you won't be able to upload programs via the USB port. You need to enter boot mode to download. 1

turned off, still unable to upload normally. is there a hardware change between the old display and the new display? alll my previous unit have no issue uploading normally

Llgok commented 1 month ago

@malexnurazhar You can try upgrading the arduino esp lib version to 2.0.17 before proceeding. 1

malexnurazhar commented 1 month ago

@malexnurazhar You can try upgrading the arduino esp lib version to 2.0.17 before proceeding. 1

In arduino ide, 2.0.17 doesnt work. Version 3.0.0 to 3.0.4 working perfectly. In platformio highest version is 2.0.17. Development version doesnt work.

Llgok commented 1 month ago

@malexnurazhar May I ask which testing program you are using?

Llgok commented 1 month ago

@malexnurazhar If you are using arduino esp lib version 3.0.0 or above, you may encounter a bug where you need to hold down the boot button during upload. This is an issue with the library that requires an update from the Arduino community. You can ask for help in their GitHub Q&A section, arduino-esp32 issues.  Version 2.0.14 will not have this problem. In version 2.0.14, you can try using GFX_AXS15231B_Image to test it. Other examples may fail to compile if updated to version 3.0.0 or above when compiled with version 2.0.0.

iotricity commented 1 week ago

This is a known issue for the ESP32 S3 with direct USB. On some USB ports/host chips, the automatic reset doesn't function properly. Try another USB hub or port.