Closed themacboy closed 2 months ago
Hi,
What branch are you on? There's some refactoring going on on develop...
Hi,
What branch are you on? There's some refactoring going on on develop...
Main
git clone --recursive https://github.com/rzeldent/esp32-smartdisplay-demo
By the way, I run a new installation of Vcode+platformio, brand new and build works fine fine
But after upload and restart I get a black screen and the monitor return:
S'està executant la tasca: platformio device monitor --environment esp32-8048S043C
--- forcing DTR inactive
--- forcing RTS inactive
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Terminal on /dev/ttyUSB1 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a80
entry 0x403c98d0
[ 135][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
[ 5144][I][main.cpp:27] setup(): Board: esp32-8048S043C
[ 5145][I][main.cpp:28] setup(): CPU: ESP32-S3 rev0, CPU Freq: 240 Mhz, 2 core(s)
[ 5146][I][main.cpp:29] setup(): Free heap: 315044 bytes
[ 5151][I][main.cpp:30] setup(): Free PSRAM: 8386279 bytes
[ 5156][I][main.cpp:31] setup(): SDK version: v4.4.6-dirty
[ 5161][D][esp32_smartdisplay.c:209] smartdisplay_init(): smartdisplay_init
[ 5169][D][lvgl_st7262_par.c:23] lvgl_lcd_init(): lvgl_lcd_init
[ 5198][D][esp32_smartdisplay.c:109] smartdisplay_lcd_set_backlight(): smartdisplay_lcd_set_backlight. duty:0.500000
[ 5198][D][lvgl_gt911_i2c.c:34] lvgl_touch_init(): lvgl_touch_init
[ 5204][V][esp_lcd_touch_gt911.c:351] esp_lcd_touch_new_i2c_gt911(): esp_lcd_touch_new_spi_gt911. io:3fceca1c, config:3fcebcf0, handle:3fcebcb0
[ 5216][V][esp_lcd_touch_gt911.c:76] gt911_reset(): gt911_reset. tp:3d977b08
[ 5229][V][esp_lcd_touch_gt911.c:105] gt911_read_info(): gt911_read_info. tp:3d977b08
[ 5231][D][esp_lcd_touch_gt911.c:142] gt911_read_info(): GT911 productId: 911
[ 5237][D][esp_lcd_touch_gt911.c:143] gt911_read_info(): GT911 fwId: 1060
[ 5244][D][esp_lcd_touch_gt911.c:144] gt911_read_info(): GT911 xResolution/yResolution: (480, 272)
[ 5253][D][esp_lcd_touch_gt911.c:145] gt911_read_info(): GT911 vendorId: 00
[ 5260][D][esp32_smartdisplay.c:36] lvgl_update_callback(): lvgl_update_callback
Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception).
Debug exception reason: BREAK instr
Core 1 register dump:
PC : 0x403743c0 PS : 0x00040836 A0 : 0x0aaaa8aa A1 : 0x3fcebce0
A2 : 0x00060a30 A3 : 0x00040023 A4 : 0x3c06a418 A5 : 0x00000024
A6 : 0x3c06a6b5 A7 : 0x3c075e75 A8 : 0x8203fec8 A9 : 0x0aaaa8aa
A10 : 0x3d977b08 A11 : 0x00000000 A12 : 0xfffffffe A13 : 0x00000054
A14 : 0x3c06a42d A15 : 0xff000000 SAR : 0x0000001e EXCCAUSE: 0x00000001
EXCVADDR: 0x00000044 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffb
Backtrace: 0x403743bd:0x3fcebce0 0x0aaaa8a7:0x3fcebd00 |<-CORRUPTED
#0 0x403743bd:0x3fcebce0 in _UserExceptionVector at ??:?
#1 0x0aaaa8a7:0x3fcebd00 in ?? ??:0
ELF file SHA256: 697d89a0830df841
git clone --recurse-submodules but that's a detail.
See that the develop branch is used in platformio.ini. This is still beta... https://github.com/rzeldent/esp32-smartdisplay#develop. My bad.
However, just tested the develop and it is at least compiling! However, got in by mistake. Just remove the #develop and it should be okay...
hahaha not sure why I used --recursive, and not --recurse-submodules . Sorry!
Now compiled perfectly and uploaded, and no error on monitor.
But unfortunatelly on restar screen turn white and nothing more, and that the same problem that move me to this demo. I found the same problem on CYD Klipper with this screen:
https://github.com/suchmememanyskill/CYD-Klipper/issues/54
Thx for all the help.
Good morning,
Im not really skilled on this things. Simply git clone following you instructions, then loaded on vcode+plastformio and then run the build option.
Im doing something wrong?