T-Display-S3: cannot upload a sketch #2
-
Arduino:
esptool.py v4.2.1 Serial port /dev/ttyACM0 Connecting... Chip is ESP32-S3 Features: WiFi, BLE Crystal is 40MHz MAC: 68:b6:b3:22:e9:84 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Flash will be erased from 0x00000000 to 0x00003fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Flash will be erased from 0x00010000 to 0x00071fff... Compressed 15040 bytes to 10363... Writing at 0x00000000... (100 %) A fatal error occurred: Packet content transfer stopped (received 2 bytes) Failed uploading: uploading error: exit status 2
PIO:
>"/home/xxx/.platformio/penv/bin/python" "/home/xxx/.platformio/packages/tool-esptoolpy/esptool.py" -t --chip esp32s3 --port "/dev/ttyACM0" --baud 460800 --before default_reset --after hard_reset write_flash -z --flash_mode qio --flash_freq 80m --flash_size 16MB 0x0000 /home/xxx/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32s3/bin/bootloader_qio_80m.bin 0x8000 /home/xxx/projects/tft/.pio/build/ESP32-S3-DevKitC-1/partitions.bin 0xe000 /home/xxx/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 .pio/build/ESP32-S3-DevKitC-1/firmware.bin esptool.py v4.4 Serial port /dev/ttyACM0 Connecting...TRACE +0.000 command op=0x08 data len=36 wait_response=1 timeout=0.100 data= 0707122055555555 5555555555555555 | ... UUUUUUUUUUUU 5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU 55555555 | UUUU TRACE +0.000 Write 46 bytes: c000082400000000 0007071220555555 | ...$........ UUU 5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU 5555555555555555 5555555555c0 | UUUUUUUUUUUUU. TRACE +0.003 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 010804000707122000000000c0 TRACE +0.000 Received full packet: 010804000707122000000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=00100040 TRACE +0.000 Write 14 bytes: c0000a04000000000000100040c0 TRACE +0.002 Read 14 bytes: c0010a04000900000000000000c0 TRACE +0.000 Received full packet: 010a04000900000000000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=4cf1ce3f TRACE +0.000 Write 14 bytes: c0000a0400000000004cf1ce3fc0 TRACE +0.013 Read 14 bytes: c0010a04000400000000000000c0 TRACE +0.000 Received full packet: 010a04000400000000000000 TRACE +0.000 command op=0x14 data len=0 wait_response=1 timeout=3.000 data= TRACE +0.000 Write 10 bytes: c00014000000000000c0 TRACE +0.002 Read 34 bytes: c001141800040000 0000000000000000 | ................ 000000000c090000 0000000000000000 | ................ 00c0 | .. TRACE +0.000 Received full packet: 0114180004000000 0000000000000000 | ................ 0000000c09000000 0000000000000000 | ................ TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=58700060 TRACE +0.000 Write 14 bytes: c0000a04000000000058700060c0 TRACE +0.005 Read 14 bytes: c0010a040038a1047800000000c0 TRACE +0.000 Received full packet: 010a040038a1047800000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=58700060 TRACE +0.000 Write 14 bytes: c0000a04000000000058700060c0 TRACE +0.002 Read 14 bytes: c0010a040038a1047800000000c0 TRACE +0.000 Received full packet: 010a040038a1047800000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=50700060 TRACE +0.000 Write 14 bytes: c0000a04000000000050700060c0 TRACE +0.003 Read 14 bytes: c0010a04000000040200000000c0 TRACE +0.000 Received full packet: 010a04000000040200000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=58700060 TRACE +0.000 Write 14 bytes: c0000a04000000000058700060c0 TRACE +0.003 Read 14 bytes: c0010a040038a1047800000000c0 TRACE +0.000 Received full packet: 010a040038a1047800000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=50700060 TRACE +0.000 Write 14 bytes: c0000a04000000000050700060c0 TRACE +0.003 Read 14 bytes: c0010a04000000040200000000c0 TRACE +0.000 Received full packet: 010a04000000040200000000 Chip is ESP32-S3 (revision v0.1) Features: WiFi, BLE Crystal is 40MHz TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=44700060 TRACE +0.000 Write 14 bytes: c0000a04000000000044700060c0 TRACE +0.003 Read 14 bytes: c0010a040084e922b300000000c0 TRACE +0.000 Received full packet: 010a040084e922b300000000 TRACE +0.000 command op=0x0a data len=4 wait_response=1 timeout=3.000 data=48700060 TRACE +0.000 Write 14 bytes: c0000a04000000000048700060c0 TRACE +0.003 Read 14 bytes: c0010a0400b668000000000000c0 TRACE +0.000 Received full packet: 010a0400b668000000000000 MAC: 68:b6:b3:22:e9:84 Uploading stub... TRACE +0.000 command op=0x05 data len=16 wait_response=1 timeout=3.000 data=bc130000010000000018000000803740 TRACE +0.000 Write 26 bytes: c000051000000000 00bc130000010000 | ................ 0000180000008037 40c0 | .......7@. TRACE +0.003 Read 14 bytes: c001050400b668000000000000c0 TRACE +0.000 Received full packet: 01050400b668000000000000 TRACE +0.000 command op=0x07 data len=5068 wait_response=1 timeout=3.000 data= bc13000000000000 0000000000000000 | ................ 1480036000800360 b42bcb3f04800360 | ...`...`.+.?...` 36410081fbff0c49 c020009908c60400 | 6A.....I. ...... ..................................................................................... 29037cf2c6070022 a0dc27990a0c1229 | ).|...."..'....) 032d080604000000 82a0dd7cf2879906 | .-.........|.... 0c12290322a0dbdd 1df00000c0 | ..)."........ TRACE +0.040 Read 1 bytes: c0 TRACE +0.000 Read 13 bytes: 01070400b668000000000000c0 TRACE +0.000 Received full packet: 01070400b668000000000000 TRACE +0.000 command op=0x05 data len=16 wait_response=1 timeout=3.000 data=040000000100000000180000fc2bcb3f TRACE +0.000 Write 26 bytes: c000051000000000 0004000000010000 | ................ 0000180000fc2bcb 3fc0 | ......+.?. TRACE +0.002 Read 14 bytes: c001050400b668000000000000c0 TRACE +0.000 Received full packet: 01050400b668000000000000 TRACE +0.000 command op=0x07 data len=20 wait_response=1 timeout=3.000 data= 0400000000000000 0000000000000000 | ................ 1000ca3f | ...? TRACE +0.000 Write 30 bytes: c0000714000a0000 0004000000000000 | ................ 0000000000000000 001000ca3fc0 | ............?. TRACE +0.003 Read 14 bytes: c001070400b668000000000000c0 TRACE +0.000 Received full packet: 01070400b668000000000000 Running stub... TRACE +0.000 command op=0x06 data len=8 wait_response=1 timeout=0.050 data=000000000c8a3740 TRACE +0.000 Write 18 bytes: c000060800000000 00000000000c8a37 | ...............7 40c0 | @. TRACE +0.003 Read 14 bytes: c001060400b668000000000000c0 TRACE +0.000 Received full packet: 01060400b668000000000000 TRACE +0.001 Read 1 bytes: c0 TRACE +0.001 Read 1 bytes: 4f **Last message. No more data**
-
Hmmm... not much to go on!
So I would recommend my GitHub Repository setup guide for LilyGO T-Display S3 here:
https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples
My examples are simple stable demo programs to get up and running.
Let me know, Terry. -
solved: problem with my enviroment sorry
5.15.0-57-generic #63~20.04.1-Ubuntu <- VirtualBox 6.1(USB device forwarding) <- 5.4.0-135-generic #152~18.04.2-Ubuntu <- Arduino / PIODirect programming from host system - OK