I used ESP32-3s R2,while using code that Gui Guider generated ,the software crushed.
Bug log:
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x38 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376c7c
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
test1
test2
test21
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x42009f64 PS : 0x00060730 A0 : 0x8200a04e A1 : 0x3fcebb70
A2 : 0x00000000 A3 : 0x00000024 A4 : 0x00000010 A5 : 0xffffffff
A6 : 0x3fcebfb8 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x00000009
A10 : 0xffffffff A11 : 0x3fcebb78 A12 : 0x3fcebb7c A13 : 0x00000000
A14 : 0x3fcebfb8 A15 : 0x00000000 SAR : 0x0000000c EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000014 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xffffffff
Backtrace: 0x42009f61:0x3fcebb70 0x4200a04b:0x3fcebba0 0x4200985e:0x3fcebbc0 0x42004277:0x3fcebbe0 0x42003d29:0x3fcebc00 0x42001954:0x3fcebc20 0x42001bb4:0x3fcebc40 0x42001c00:0x3fcebc60 0x4200cc02:0x3fcebc90
ELF file SHA256: b9b433769eb1f700
I find the code:
ui->screen = lv_obj_create(NULL); in function: setup_scr_screen(), which is at file: setup_scr_screen.c.
caused this,how can i fix it?Plz help me.