I’m coming to the forum after hours of frustration of following the Getting Started guide to the letter to make my newly received XIAO ESP32-C3 with the Round Display, but with absolutely no success.
After playing around with libraries and board managers version I can compile the sketch, but when uploading the HardwareTest, nothing happens on screen, and the serial output seem to show the board crashing and boot looping with this message:
Hi there,
Use BSP 2.0.8 and it should work.
Check your compiler output and compare with the threads on here, yesterday the same questiion and solution came up.
HTH
GL PJ
If you can point me to the big letters that suggest I’ll gladly admit the mistake.
But so far, I’ve read 2.0.3 or a screenshot and 2.0.X (so no specific version) on another document.
The documentation is confusing, unclear, and the fast I need to rely on forum posts to make the basic example code work is a problem.
Hi there,
Well I must say it sounds like the right words, but did you scroll right in the compiler window?
Here it is again, but you need to scroll to see it. There are NO big letters on the info but using the compiler output as a tool to show you what you gave the MCU was good or Garbage.
Almost always the later I find with this stuff.
Do you know how to roll back the BSP that is currently loaded?
(boards tab, pull down the current version and pick the 2.0.8 ) recompile and look at your output did it build with the right one? if so Flash and test.
The issue is these demo’s are made and the backward compatibility of the NEWER libraries and newer BSP packages sometimes don’t follow that spirit and break stuff. I always make a recommendation to use a BSP closest to the date of the Library’s dev date.
FQBN: esp32:esp32:XIAO_ESP32S3
Using board 'XIAO_ESP32S3' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8
Using core 'esp32' from platform in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8
Using library TFT_eSPI at version 2.5.23 in folder: D:\Arduino_projects\libraries\TFT_eSPI
Using library SPI at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8\libraries\SPI
Using library FS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8\libraries\FS
Using library SPIFFS at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8\libraries\SPIFFS
Using library Wire at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8\libraries\Wire
Using library RTClib at version 2.1.3 in folder: D:\Arduino_projects\libraries\RTClib
Using library Adafruit BusIO at version 1.15.0 in folder: D:\Arduino_projects\libraries\Adafruit_BusIO
Using library WiFi at version 2.0.0 in folder: C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8\libraries\WiFi
Using library I2C BM8563 RTC at version 1.0.4 in folder: D:\Arduino_projects\libraries\I2C_BM8563_RTC
"C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32s3-elf-gcc\\esp-2021r2-patch5-8.4.0/bin/xtensa-esp32s3-elf-size" -A "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\20A0B1C3DA8FE222E73EFD3C122C752F/sketch_feb18a.ino.elf"
Sketch uses 767261 bytes (22%) of program storage space. Maximum is 3342336 bytes.
Global variables use 45156 bytes (13%) of dynamic memory, leaving 282524 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe" --chip esp32s3 --port "COM23" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\20A0B1C3DA8FE222E73EFD3C122C752F/sketch_feb18a.ino.bootloader.bin" 0x8000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\20A0B1C3DA8FE222E73EFD3C122C752F/sketch_feb18a.ino.partitions.bin" 0xe000 "C:\Users\Dude\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.8/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\Dude\AppData\Local\Temp\arduino\sketches\20A0B1C3DA8FE222E73EFD3C122C752F/sketch_feb18a.ino.bin"
esptool.py v4.5.1
Serial port COM23
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 84:fc:e6:6a:d0:f0
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 0x000cbfff...
Compressed 15040 bytes to 10333...
Writing at 0x00000000... (100 %)
Wrote 15040 bytes (10333 compressed) at 0x00000000 in 0.2 seconds (effective 491.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 566.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 792.0 kbit/s)...
Hash of data verified.
Compressed 767632 bytes to 497696...
Writing at 0x00010000... (3 %)
Writing at 0x000194dd... (6 %)
Writing at 0x00024b70... (9 %)
Writing at 0x00031004... (12 %)
Writing at 0x000368ff... (16 %)
Writing at 0x0003bf39... (19 %)
Writing at 0x00041b0b... (22 %)
Writing at 0x000470bd... (25 %)
Writing at 0x0004c47a... (29 %)
Writing at 0x00051568... (32 %)
Writing at 0x00056356... (35 %)
Writing at 0x0005b29a... (38 %)
Writing at 0x000600e4... (41 %)
Writing at 0x00065220... (45 %)
Writing at 0x0006a22e... (48 %)
Writing at 0x0006f7a9... (51 %)
Writing at 0x00075247... (54 %)
Writing at 0x00079fcb... (58 %)
Writing at 0x0007f0fd... (61 %)
Writing at 0x00083ff5... (64 %)
Writing at 0x0008949f... (67 %)
Writing at 0x0008e9c1... (70 %)
Writing at 0x000945a9... (74 %)
Writing at 0x00099c83... (77 %)
Writing at 0x0009f2f3... (80 %)
Writing at 0x000a77b9... (83 %)
Writing at 0x000afe79... (87 %)
Writing at 0x000b5548... (90 %)
Writing at 0x000bdf3a... (93 %)
Writing at 0x000c378c... (96 %)
Writing at 0x000c9258... (100 %)
Wrote 767632 bytes (497696 compressed) at 0x00010000 in 5.6 seconds (effective 1102.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
it’s the second two lines in the output , After Board and Core.
GL PJ
And did you know?
what are the results (output to serial port) of the edits you made to the eTFT.spi configuration files.
if they are correct or if you even did the edit?
The author thought of that and included. “READ_USER_SETUP.ino”
You run this and it tells you what it thinks you set it for. Couldn’t be easier to diagnose.