我使用的板子是ESP32camera板,下面时启动时打印的Log,然后一直重启,有遇到过的伙伴吗,原因时什么导致的,怎样解决?
------------------------------------------------------------------------------------------------------------------------------
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:6988
load:0x40078000,len:13664
load:0x40080400,len:4632
entry 0x400806f4
[0;32mI (29) boot: ESP-IDF v4.2-dirty 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 20:38:17[0m
[0;32mI (29) boot: chip revision: 1[0m
[0;32mI (32) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (39) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (44) boot.esp32: SPI Mode : DIO[0m
[0;32mI (48) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (53) boot: Enabling RNG early entropy source...[0m
[0;32mI (58) boot: Partition Table:[0m
[0;32mI (62) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00004000[0m
[0;32mI (77) boot: 1 otadata OTA data 01 00 0000d000 00002000[0m
[0;32mI (84) boot: 2 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (92) boot: 3 factory factory app 00 00 00010000 00150000[0m
[0;32mI (99) boot: 4 ota_0 OTA app 00 10 00160000 00150000[0m
[0;32mI (107) boot: 5 ota_1 OTA app 00 11 002b0000 00150000[0m
[0;32mI (114) boot: End of partition table[0m
[0;32mI (119) boot: Defaulting to factory image[0m
[0;32mI (123) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (130) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0bd34 ( 48436) map[0m
[0;32mI (160) esp_image: segment 1: paddr=0x0001bd5c vaddr=0x3ffbdb60 size=0x0220c ( 8716) load[0m
[0;32mI (164) esp_image: segment 2: paddr=0x0001df70 vaddr=0x40080000 size=0x00404 ( 1028) load[0m
[0;32mI (167) esp_image: segment 3: paddr=0x0001e37c vaddr=0x40080404 size=0x01c9c ( 7324) load[0m
[0;32mI (179) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x1abf0 (109552) map[0m
[0;32mI (230) esp_image: segment 5: paddr=0x0003ac18 vaddr=0x400820a0 size=0x0c32c ( 49964) load[0m
[0;32mI (262) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (262) boot: Disabling RNG early entropy source...[0m
[0;31mE (263) psram: Not a valid or known package id: 3[0m
Re-enable cpu cache.
abort() was called at PC 0x40083b03 on core 0
Backtrace:0x40087a5a:0x3ffe3b40 0x40088119:0x3ffe3b60 0x4008bd86:0x3ffe3b80 0x40083b03:0x3ffe3bf0 0x400d2973:0x3ffe3c20 0x40081b35:0x3ffe3c40 0x40079082:0x3ffe3c80 |<-CORRUPTED
ELF file SHA256: e3b85ba01105aacf
Rebooting...
---------------------------------------------------------------------------------------
补充:
以下是我自定义的分区表:
# Name Type SubType Offset Size Flags
# Note: if you have increased the bootloader size make sure to update the offsets to avoid overlap
nvs data nvs 0x9000 0x4000
otadata data ota 0xd000 0x2000
phy_init data phy 0xf000 0x1000
factory app factory 0x10000 0x150000
ota_0 app ota_0 0x160000 0x150000
ota_1 app ota_1 0x2b0000 0x150000
我的应用程序同时开启了蓝牙、拍照、WIFI功能、NVS、i2s
在menuconfig里面已经开启了psram
FreeRTOS的任务分配我用的是静态方式,使用calloc分配外部psram的内存给任务使用
程序之前是运行正常的,可能是由于我操作了nvs的时候导致以上错误,也可能是其他原因
我尝试过清除整个flash并且重新写入原来的代码,但还是不行,换了一块板子就好了
懂的小伙伴帮忙看看是咋回事,或者有没有好的想法或思路?
ESP32CAM板子,psram: Not a valid or known package一直重启问题
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: ESP32CAM板子,psram: Not a valid or known package一直重启问题
出错是在 psram_enable 函数内,读取芯片封装,并做判断是出错,你读到的 pkg_ver 为 3,这不在当前支持列表内。你确认下模组内使用的是哪种芯片?
Who is online
Users browsing this forum: No registered users and 93 guests