Hi There,
Here is the output below I am getting when I run the code for learn LVGL 1.8 testing the touchscreen.
I have a CYD with 1 USB C connector, could I please have a little help with this, I have tried the TFT inversion via setup.h and also the suggested code. WiFi scan does work.
C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: warning: C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/esp32/no-rtti/crtn.o: missing .note.GNU-stack section implies executable stack
C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Sketch uses 624258 bytes (47%) of program storage space. Maximum is 1310720 bytes.
Global variables use 36876 bytes (11%) of dynamic memory, leaving 290804 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.8.1
Serial port COM4
Connecting….
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: c8:2e:18:f6:f5:40
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
Flash will be erased from 0x00001000 to 0x00007fff…
Flash will be erased from 0x00008000 to 0x00008fff…
Flash will be erased from 0x0000e000 to 0x0000ffff…
Flash will be erased from 0x00010000 to 0x000a8fff…
Compressed 24976 bytes to 15972…
Writing at 0x00001000… (100 %)
Wrote 24976 bytes (15972 compressed) at 0x00001000 in 0.4 seconds (effective 563.0 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 1270.9 kbit/s)…
Hash of data verified.
Compressed 8192 bytes to 47…
Writing at 0x0000e000… (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 1802.3 kbit/s)…
Hash of data verified.
Compressed 624400 bytes to 368695…
Writing at 0x00010000… (4 %)
Writing at 0x0001cf19… (8 %)
Writing at 0x0002462a… (13 %)
Writing at 0x0002dd97… (17 %)
Writing at 0x0003c3ac… (21 %)
Writing at 0x00041dd3… (26 %)
Writing at 0x00047579… (30 %)
Writing at 0x0004c4f4… (34 %)
Writing at 0x00052c5b… (39 %)
Writing at 0x00058f71… (43 %)
Writing at 0x0005e094… (47 %)
Writing at 0x00063423… (52 %)
Writing at 0x00069114… (56 %)
Writing at 0x0006e1c7… (60 %)
Writing at 0x000731ab… (65 %)
Writing at 0x00078ed1… (69 %)
Writing at 0x0007e90f… (73 %)
Writing at 0x0008418b… (78 %)
Writing at 0x00089b35… (82 %)
Writing at 0x0008f59e… (86 %)
Writing at 0x000991cc… (91 %)
Writing at 0x0009fcb4… (95 %)
Writing at 0x000a5712… (100 %)
Wrote 624400 bytes (368695 compressed) at 0x00010000 in 5.1 seconds (effective 988.8 kbit/s)…
Hash of data verified.
Leaving…
Hard resetting via RTS pin…
Hi.
What happens exactly after uploading the code?
Do you have any more information in the Serial Monitor?
Regards,
Sara
Hi Sara,
Thank you for your reply,
After clicking upload I get the two lines in red:
C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: warning: C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/esp32/no-rtti/crtn.o: missing .note.GNU-stack section implies executable stack
C:/Users/danw1/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Then after a couple of minutes the code uploads like normal but all I get is the multicolour led lighting up red and nothing happening on the tft display at all.
In the serial monitor I did notice text scrolling through
– Dan
Hi.
What text is scrolling in the serial Monitor?
What does it say?
Regards.
Sara
Ok actually, I had some progress, the display is not lit up but I can just see Hello World!
In tried uncommenting both invert screen options in the tft library but ot did not work.
I think maybe it is a backlight issue ?