完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
麻烦官方帮忙看下:使用了IDF自带的i80 lcd 例程和 ADF网络收音机例程。每个功能只要独立运行都没有问题,只要组合在一起就会报错,报错信息如下
SP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0xb (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x1638 load:0x403c9700,len:0xb68 load:0x403cc700,len:0x3014 entry 0x403c9938 I (24) boot: ESP-IDF HEAD-HASH-NOTFOUND 2nd stage bootloader I (25) boot: compile time 15:38:44 I (25) boot: chip revision: v0.2 I (28) boot.esp32s3: Boot SPI Speed : 80MHz I (32) boot.esp32s3: SPI Mode : DIO I (37) boot.esp32s3: SPI Flash Size : 16MB I (42) boot: Enabling RNG early entropy source... I (47) boot: Partition Table: I (51) boot: ## Label Usage Type ST Offset Length I (58) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (66) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (73) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (81) boot: 3 factory factory app 00 00 00010000 00300000 I (88) boot: 4 ota_0 OTA app 00 10 00310000 00400000 I (95) boot: 5 ota_1 OTA app 00 11 00710000 00400000 I (103) boot: 6 nvs_key NVS keys 01 04 00b10000 00001000 I (111) boot: End of partition table I (115) boot: Defaulting to factory image I (119) esp_image: segment 0: paddr=00010020 vaddr=3c0f0020 size=110600h (1115648) map I (328) esp_image: segment 1: paddr=00120628 vaddr=3fc992e0 size=038e8h ( 14568) load I (332) esp_image: segment 2: paddr=00123f18 vaddr=40374000 size=0c100h ( 49408) load I (345) esp_image: segment 3: paddr=00130020 vaddr=42000020 size=e5890h (940176) map I (514) esp_image: segment 4: paddr=002158b8 vaddr=40380100 size=091d8h ( 37336) load I (530) boot: Loaded app from partition at offset 0x10000 I (531) boot: Disabling RNG early entropy source... I (542) opi psram: vendor id : 0x0d (AP) I (542) opi psram: dev id : 0x02 (generation 3) I (543) opi psram: density : 0x03 (64 Mbit) I (546) opi psram: good-die : 0x01 (Pass) I (551) opi psram: Latency : 0x01 (Fixed) I (556) opi psram: VCC : 0x01 (3V) I (560) opi psram: SRF : 0x01 (Fast Refresh) I (566) opi psram: BurstType : 0x01 (Hybrid Wrap) I (571) opi psram: BurstLen : 0x01 (32 Byte) I (576) opi psram: Readlatency : 0x02 (10 cycles@Fixed) I (582) opi psram: DriveStrength: 0x00 (1/1) I (588) spiram: Found 64MBit SPI RAM device I (592) spiram: SPI RAM mode: sram 80m I (597) spiram: PSRAM initialized, cache is in normal (1-core) mode. I (604) cpu_start: Pro cpu up. I (607) cpu_start: Single core mode I (1031) spiram: SPI SRAM memory test OK I (1040) cpu_start: Pro cpu start user code I (1040) cpu_start: cpu freq: 240000000 I (1040) cpu_start: Application information: I (1043) cpu_start: Project name: main I (1048) cpu_start: App version: 1 I (1052) cpu_start: Compile time: Sep 9 2023 15:38:42 I (1058) cpu_start: ELF file SHA256: 77621d5b8d29283d... I (1064) cpu_start: ESP-IDF: HEAD-HASH-NOTFOUND I (1070) cpu_start: Min chip rev: v0.0 I (1075) cpu_start: Max chip rev: v0.99 I (1080) cpu_start: Chip rev: v0.2 I (1085) heap_init: Initializing. RAM available for dynamic allocation: I (1092) heap_init: At 3FCA91E8 len 00040528 (257 KiB): D/IRAM I (1099) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM I (1105) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM I (1112) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM I (1118) spiram: Adding pool of 8192K of external SPI memory to heap allocator I (1127) spi_flash: detected chip: gd I (1130) spi_flash: flash io: dio I (1135) sleep: Configure to isolate all GPIO pins in sleep state I (1141) sleep: Enable automatic switching of GPIO sleep configuration I (1148) cpu_start: Starting scheduler on PRO CPU. I (1154) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations E (1154) esp32s3 PDA: [APP] Free memory: 8661167 bytes E (1164) esp32s3 PDA: [APP]internal Free memory: 298903 bytes I (1174) esp32s3 PDA: Turn off LCD backlight I (1174) gpio: GPIO[6]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1184) esp32s3 PDA: Initialize Intel 8080 bus I (1194) esp32s3 PDA: Install LCD driver of ili9488 I (1194) gpio: GPIO[0]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1494) esp32s3 PDA: Turn on LCD backlight E (1494) lcd_panel.io.i2c: new i2c lcd panel io @0x3fcea43c,the device addr is:93 I (1494) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1524) GT911: TouchPad_ID:0x39,0x31,0x31 I (1524) GT911: TouchPad_Config_Version:65 E (1524) esp32s3 PDA: [APP] Free memory: 8657059 bytes E (1524) esp32s3 PDA: [APP]internal Free memory: 295415 bytes I (1534) esp32s3 PDA: Initialize LVGL library I (1534) esp32s3 PDA: Register display driver to LVGL E (1544) esp32s3 PDA: [APP] Free memory: 8657059 bytes E (1544) esp32s3 PDA: [APP]internal Free memory: 289011 bytes I (1554) esp32s3 PDA: Install LVGL tick timer I (1554) esp32s3 PDA: Display LVGL animation I (9184) PLAY_FLASH_MP3_CONTROL: [ 1 ] Start audio codec chip I (9184) PLAY_FLASH_MP3_CONTROL: [2.0] Create audio pipeline for playback I (9184) PLAY_FLASH_MP3_CONTROL: [2.1] Create http stream to read data E (9194) PLAY_FLASH_MP3_CONTROL: [APP] Free memory: 8598931 bytes E (9194) PLAY_FLASH_MP3_CONTROL: [APP]internal Free memory: 231911 bytes I (9204) PLAY_FLASH_MP3_CONTROL: [2.2] Create i2s stream to write data to codec chip I (9214) PLAY_FLASH_MP3_CONTROL: [2.3] Create i2s stream to write data to codec chip E (9224) I2S_STREAM: 1 E (9224) I2S_STREAM: 2 E (9224) I2S_STREAM: 3 E (9234) I2S_STREAM: i2s->config.i2s_por:0 E (9234) I2S: 14 E (9244) I2S: 15 E (9244) I2S: 16 E (9244) I2S: 17 E (9244) I2S: 18 E (9254) I2S: 19 E (9254) I2S: 20 E (9254) I2S: 21 E (9254) I2S: 22 E (9264) I2S: 23 Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x40384582 PS : 0x00060533 A0 : 0x80384d48 A1 : 0x3fcbdc50 0x40384582: remove_free_block at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:207 (inlined by) block_locate_free at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:442 (inlined by) tlsf_malloc at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:849 A2 : 0x3fca9980 A3 : 0x0000000c A4 : 0x00000009 A5 : 0x00000080 A6 : 0x00000000 A7 : 0x00000009 A8 : 0x3fcab60c A9 : 0x00000008 A10 : 0xffffffff A11 : 0x00000009 A12 : 0xfffffffc A13 : 0xffffffff A14 : 0x00000004 A15 : 0xfffffffc SAR : 0x0000001f EXCCAUSE: 0x0000001d EXCVADDR: 0x0000000b LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffe Backtrace: 0x4038457f:0x3fcbdc50 0x40384d45:0x3fcbdc70 0x40375ed9:0x3fcbdc90 0x40375f17:0x3fcbdcb0 0x403763a0:0x3fcbdcd0 0x4205186f:0x3fcbdcf0 0x4205191c:0x3fcbdd20 0x42052cfb:0x3fcbdd50 0x4200b895:0x3fcbdd90 0x42007c48:0x3fcbde30 0x40381ee9:0x3fcbe000 0x4038457f: remove_free_block at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:206 (inlined by) block_locate_free at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:442 (inlined by) tlsf_malloc at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_tlsf.c:849 0x40384d45: multi_heap_malloc_impl at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/multi_heap.c:187 0x40375ed9: heap_caps_malloc_base at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_caps.c:175 0x40375f17: heap_caps_calloc_base at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_caps.c:487 0x403763a0: heap_caps_calloc at C:/Espressif/frameworks/esp-idf-v4.4.5/components/heap/heap_caps.c:496 0x4205186f: i2s_create_dma_object at C:/Espressif/frameworks/esp-idf-v4.4.5/components/driver/i2s.c:905 (discriminator 2) 0x4205191c: i2s_dma_object_init at C:/Espressif/frameworks/esp-idf-v4.4.5/components/driver/i2s.c:2051 0x42052cfb: i2s_driver_install at C:/Espressif/frameworks/esp-idf-v4.4.5/components/driver/i2s.c:2127 (discriminator 3) 0x4200b895: i2s_stream_init at C:/Espressif/esp-adf/components/audio_stream/i2s_stream.c:520 (discriminator 3) 0x42007c48: play_stak at D:/ESP32S3/sample_project/main/play.c:101 (discriminator 2) 0x40381ee9: vPortTaskWrapper at C:/Espressif/frameworks/esp-idf-v4.4.5/components/freertos/port/xtensa/port.c:142 |
|
相关推荐
1个回答
|
|
根据您提供的信息,您的ESP32S3设备在运行ADF例程时崩溃。这可能是由于以下几个原因:
1. 内存不足:当您同时运行i80 lcd例程和ADF网络收音机例程时,可能需要更多的内存。请检查您的设备是否有足够的内存来支持这两个例程。 2. 资源冲突:这两个例程可能在某些资源(如GPIO引脚、中断等)上存在冲突。请检查您的代码,确保没有重复使用的资源。 3. 版本不兼容:您提到使用的是20210327版本的ESP-IDF。请确保您的ADF和LVGL库与ESP-IDF版本兼容。如果不兼容,您可能需要升级或降级相关库。 4. 代码错误:请检查您的代码,确保没有逻辑错误或语法错误。同时,确保您的代码正确地初始化和配置了ADF和LVGL库。 为了解决这个问题,您可以尝试以下步骤: 1. 检查内存使用情况:使用`esp_get_free_heap_size()`函数检查内存使用情况,确保有足够的内存来运行这两个例程。 2. 检查资源冲突:检查您的代码,确保没有重复使用的资源。如果发现冲突,请修改代码以解决冲突。 3. 确保版本兼容:检查您的ADF和LVGL库版本,确保它们与ESP-IDF版本兼容。如果不兼容,请升级或降级相关库。 4. 调试代码:使用调试工具(如GDB)逐步执行您的代码,查找可能导致崩溃的错误。 5. 查看错误日志:仔细阅读错误日志,了解崩溃的详细信息。这可能有助于您找到问题的根源。 |
|
|
|
只有小组成员才能发言,加入小组>>
313 浏览 0 评论
1170 浏览 1 评论
585浏览 6评论
483浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
468浏览 5评论
467浏览 4评论
442浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 12:46 , Processed in 0.932992 second(s), Total 82, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号