Closed smtre closed 3 years ago
The Verbose Compile messages from the IDE are here verbose.txt
Solved it.
For those of you who don't know the little connector on the board has a clip! Who knew!
You need to lift the clip up with your finger nail then place in the cable then CLIP is down properly.
Magically it all starts uploading.
Hi All,
I am having trouble flashing the T-Writsband. I have purchased three bands and and attempted the following on all of them.
I don't believe that it is a hardware issue, as I have three of them and tried them all.
It seems that no matter what I do I cannot get this to flash. Clearly there is something I do not understand.
Any help greatly appreciated.
Cheers,
Scott
Environment
I have followed these instructions: https://github.com/Xinyuan-LilyGO/LilyGo-T-Wristband/blob/master/examples/T-Wristband-LSM9DS1/README.MD
I have also read this FAQ - especially paragraph 5.1.v: https://github.com/Xinyuan-LilyGO/LilyGo-Document
I have both the recommended USB drivers installed (first recommended by the instructions above, the second from the FAQ) http://www.wch-ic.com/search?q=ch340&t=downloads https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
I am using the example code with no changes from the Xinyuan-LilyGO / LilyGo-T-Wristband repo: T-Wristband-LSM9DS1.ino
I have the code compiling in the Arduino IDE by following the instructions above.
I have the Arduino IDE Board manager configured the same as point 5 in the instructions: https://github.com/Xinyuan-LilyGO/LilyGo-T-Wristband/blob/master/examples/T-Wristband-LSM9DS1/README.MD
The Flash tool board I have is CH340C v2.0 20200324
I have the LSM9DS1 T-Wristband version of the board, confirmed with the photo here: https://github.com/Xinyuan-LilyGO/LilyGo-T-Wristband
I have the flash tool board laying flat on the desk and the micro ribbon with the white line facing up plugged into the T-Wristband board.
Error
I go to upload the board and get the following errors
"C:\Users\Scott\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-size" -A "C:\Users\Scott\AppData\Local\Temp\arduino_build_124587/T-Wristband-LSM9DS1.ino.elf" Sketch uses 940818 bytes (71%) of program storage space. Maximum is 1310720 bytes. Global variables use 45784 bytes (13%) of dynamic memory, leaving 281896 bytes for local variables. Maximum is 327680 bytes. C:\Users\Scott\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1/esptool.exe --chip esp32 --port COM5 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\Scott\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/partitions/boot_app0.bin 0x1000 C:\Users\Scott\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4/tools/sdk/bin/bootloader_dio_80m.bin 0x10000 C:\Users\Scott\AppData\Local\Temp\arduino_build_124587/T-Wristband-LSM9DS1.ino.bin 0x8000 C:\Users\Scott\AppData\Local\Temp\arduino_build124587/T-Wristband-LSM9DS1.ino.partitions.bin esptool.py v2.6 Serial port COM5 Connecting........____..............................
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Attempted Fixes
I have attempted: