Closed igoralves1 closed 1 year ago
Have you displayed serial on this board with a simpler sketch!?
No.
OK, looks like a simple enough test sketch ;) I am using Arduino 2.0.4 not the beta nightly build. I am running ESP32 v2.0.6. I will try and duplicate your problem tonight. Sometimes I have to push the little reset button on the back and try toggling the serial controls to the right of the serial monitor, especially the “timestamp”.
I have an extensive LilyGO T-Display S3 GitHub repository with all the problems I (and others) have faced, here: https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples They keep changing the setup config advice! Here is a screen shot from their ReadMe from December 2022: https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples/blob/main/Arduino_Config.png The difference that I see that impacts Serial Monitor is this one: "USB DFU On Boot | Enabled" is the new setting. I'm not sure what it does but I have always followed the previous advice and "Disabled" Hope this helps, keep me informed! -Terry
Have you turned on CDC? As shown below
@lewisxhe Yes I have the same configuration. It seems that the 2.0.5 has more variables but we have all the same values. Still not displaying
I'm not sure what it does but I have always followed the previous advice and "Disabled" Hope this helps, keep me informed! -Terry
@teastainGit set Disabled and it did not worked.
I uploaded a firmware that displays and prints time stamps. Please try it out https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware
I uploaded a firmware that displays and prints time stamps. Please try it out https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware
I see that you created some .bin and a batch with .exe inside. I am running in a MAC. Could you please make available the sketchs?
"> I uploaded a firmware that displays and prints time stamps. Please try it out https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware"
What does this firmware do? I asked in another Issue about the bootloader being protected in ROM and cannot be damaged. I thought that the only program in a board is the bootloader and your sketch? Thank you, Terry
Sketch > https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/example/TFT_Rainbow Install Esptool > https://github.com/RavenSystem/esp-homekit-devices/wiki/Install-ESPTool-on-macOS Flash Command In Mac : esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin
Let you brush in the firmware I provided to see if this board works properly Now, don't you say you can't output any messages to Serial?
@lewisxhe It is working. This is what I did:
python3 -m pip install esptool
CD
to the firmware folder -> https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware
esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin
simple hello world
.Serial.print
from other projects.All is good but what is different now? What was the issue? The only different thing in my machine is that I have installed ESPTOOL but I think this is not what is making the difference. I will close the ticket. Thanks
@lewisxhe It is working. This is what I did:
- Installed ESPTOOL ->
python3 -m pip install esptool
CD
to the firmware folder ->https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/firmware
- Ran your code ->
esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 firmware.bin
- Rainbow is in the device screen
- Opened the ArduinoIDE in any project and connected to the board port
- Display millis is ok, as we can see in the picture.
![]()
- opened a previous project
simple hello world
.- uploaded it to to the board with the same configuration as 2 days ago
- Now I see hello world in the display.
![]()
- And also can verify
Serial.print
from other projects.![]()
All is good but what is different now? What was the issue? The only different thing in my machine is that I have installed ESPTOOL but I think this is not what is making the difference. I will close the ticket. Thanks
Yes I now got an output, but with a new sketch not anymore.
OK ...found it .. for the Lilygo T-display S3 you have to set USB CDC on Boot "Enable".
OK ...found it .. for the Lilygo T-display S3 you have to set USB CDC on Boot "Enable".
BTY It was activated from the beginning . See
It seems that this error is related to another error that I posted https://github.com/Xinyuan-LilyGO/T-Display-S3/issues/138.
In the 138 issue AND maybe here, it seems that there is a physical issue with the flash memory. I had to replace the board and I bought another ESP32-S3 from another vendor.
The brand new LilyGO board and the other brand new board are still showing the same issues: sometimes it does not finishes the upload process (issue 138) and sometimes it still do not shows the output in the Serial Monitor.
Some times instructions suggested by @lewisxhe works, see this https://github.com/Xinyuan-LilyGO/T-Display-S3/issues/126#issuecomment-1478772413 it shows the output in the Serial Monitor, pressing the boot. But not all that times I have the firmware uploaded (issue 138).
All that is leading me to conclude that there is something in the software or in the OS MAC, not in the hardware
Hi @igoralves1
From what you conclude it has something to do with your OS?
I had a similar issue with a Lilygo T-QT ESP32-S3 board. Lewisxhe's suggestion to set USB CDC on boot to "Enabled" solved my issue. Interestingly, the issue wasn't evident when using the Seeed-XIAO-ESP32C3 or the Lilygo T Display boards, even with USB CDC on boot set to "Disabled". Go figure.
One difference between my settings (that worked) and igoralves1's settings is I don't have USB DFU on boot "Enabled".
A very BIG thank you to Lewisxhe for solving my issue.
My setup is a Windows 11 pc with Arduino 2.1.1 using the Esptool as the programmer.
Have you turned on CDC? As shown below
Hi I came across this issue trying to print "Hello, world!" to serial monitor, my issue was resolved by setting USB CDC On Boot to "Enabled".
Board : Lilygo T-QT ESP32-S3
OS : Windows 10
Arduino IDE Version : 2.3.2
Thank you.
Hi. my T-Display S3 on Arduino IDE, works well only when serial monitor is open, if close it no luck, why so?
In Tools, try "USB CDC on Boot » > Disabled
Le 19 juin 2024 à 04:42, xinzhou @.***> a écrit :
Hi. my T-Display S3 on Arduino IDE, works well only when serial monitor is open, if close it no luck, why so?
— Reply to this email directly, view it on GitHub https://github.com/Xinyuan-LilyGO/T-Display-S3/issues/126#issuecomment-2177433133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAZUKKUNJU3ZBWEQYOEH3LZIDVYLAVCNFSM6AAAAAAWBJZLAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZXGQZTGMJTGM. You are receiving this because you are subscribed to this thread.
I bought a LilyGo Soldered pin S3 board no touch screen. I am using Mac Monterey 12.6.3 M1 and Arduino IDE 2.0.5. I am using the example
arduino_gfx_demo
to test the board. If we analyse the code in the file arduino_gfx_demo.ino in the line 21 we should expect the outputHello T-Display-S3
in theArduino-IDE Serial Monitor
. When I upload the code I can see all theprintnice
output in the T-Display but I cant see theSerial.println("Hello T-Display-S3");
in the Serial Monitor. I also tried to display in the terminal using thels /dev/tty.*
to identify the boad port and thescreen /dev/tty.usbmodem2101
to display the serial monitor info.I am following all the settings suggested in the
README.md > correct settings in the Tools menu
but I see nothing. No displays.Is there any process that is publishing all outputs to the board screen?