Open oschettler opened 11 months ago
I've tried to add a configuration for my board, however this still crashes. Here is what the log looks like
[tio 22:21:31] Connected
| 5410 ms | System.Start() | (System.cpp:218) | Information | Starting Xila ...
| 5410 ms | System.Start() | (System.cpp:234) | Information | Wakeup cause : 0.
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|| __________ __ __ _____ _ ||
|| | | | \ \ / / |_ _| | | /\ ||
|| |______| | \ V / | | | | / \ ||
|| | |__|___| | | | | | | / /\ \ ||
|| | | | / . \ _| |_ | |____ / ____ \ ||
|| |___|______| /_/ \_\ |_____| |______| /_/ \_\ ||
|| ||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> Version : 0.2.0 build on Dec 28 2023 at 20:55:56.
| 5482 ms | System.Load() | (System.cpp:269) | Information | Alix ANNERAUD - MIT Licence
| 5490 ms | System.Load() | (System.cpp:271) | Information | Starting Xila ...
| 5497 ms | Drive.Start() | (SD_SPI.cpp:60) | Information | Start drive module...
[ 5514][E][vfs_api.cpp:24] open(): File system is not mounted
| 5514 ms | Display.Start() | (Display.cpp:29) | Information | Start display module...
E (10676) ledc: ledc_set_duty(720): LEDC is not initialized
E (10676) ledc: ledc_update_duty(648): LEDC is not initialized
[ 5577][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=19 scl=20 freq=100000
[ 5578][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
E (10722) gpio: gpio_set_level(227): GPIO output gpio_num error
E (10738) gpio: gpio_set_level(227): GPIO output gpio_num error
E (10744) gpio: gpio_set_level(227): GPIO output gpio_num error
[ 5652][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
| 5720 ms | Power.Start() | (Power.cpp:32) | Information | Start power module...
| 5816 ms | System.Load_Registry() | (Registry.cpp:38) | Information | Load system registry...
| 5834 ms | Sound.Start() | (Sound.cpp:37) | Information | Starting sound module...
| 5834 ms | Power.Start() | (Power.cpp:32) | Information | Start power module...
| 5860 ms | WiFi.Start() | (Communication.cpp:25) | Information | Start Communication module...
| 5882 ms | Account.Start() | (Accounts.cpp:19) | Information | Start account module...
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4203b23b PS : 0x00060930 A0 : 0x8201e36d A1 : 0x3fcedb30
A2 : 0x00000000 A3 : 0x3fcebb34 A4 : 0x000003d4 A5 : 0x3fcedb7c
A6 : 0xffffffff A7 : 0x3fc9e744 A8 : 0x00000000 A9 : 0x3fcedbb0
A10 : 0x00000400 A11 : 0x3fcebb08 A12 : 0x3fcf06e8 A13 : 0x00000400
A14 : 0x00001000 A15 : 0x3fcf55f8 SAR : 0x00000008 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000018 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
Backtrace: 0x4203b238:0x3fcedb30 0x4201e36a:0x3fcedb70 0x4201ec13:0x3fcedbf0 0x42027bf1:0x3fcedc20 0x4202858a:0x3fcedc70 0x4202511f:0x3fcedc90 0x4202b1c5:0x3fcedcb0 0x4202b4ed:0x3fcedd00 0x42028bd9:0x3fcedd20 0x42003905:0x3fcee0a0 0x42003995:0x3fcee0e0 0x42003a3d:0x3fcee110
I have attached my changes. Unfortunately, I don't so how to progress at this point. ESP32-8048S043.patch.txt
I try to get Xila running on my Sunton ESP32-8048S043C board. I believe it has the same hardware for display, touch and sd card. The screen resolution is 800x480, identical to the ESP32-8048S070 which is already supported.
Compiling and flashing works fine. However, when I connect to the board, I get the following message:
I've tried to create a file
Xila/Registry/Display.xrf
with just the key Registry:Display. Following this, the backlight goes on for a few moments, the log progresses and logs identical lines... every second. Touch is active. When I touch the display, the backlight switches on, but nothing is displayed. The software continues to complain about missing *.xrf files:
After that, no more complaints about missing files, only log of PSRAM every second.
The log now looks like this:
Hm, invalid pin. May this be due to the missing i2s sound hardware on my board?