reboot continuously in example http_play_and_save_to_file

kairui
Posts: 20
Joined: Sat Feb 08, 2020 3:41 pm

reboot continuously in example http_play_and_save_to_file

Postby kairui » Fri Mar 20, 2020 7:01 am

board: ESP32_LyraTD_MSC
ADF version :V3.3.1

1,
compile and download the example, appear logs as fllow:

Code: Select all

I (75) boot: Chip Revision: 1
I (75) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot: ESP-IDF v3.3.1 2nd stage bootloader
I (41) boot: compile time 14:21:23
I (41) boot: Enabling RNG early entropy source...
I (46) boot: SPI Speed      : 40MHz
I (50) boot: SPI Mode       : DIO
I (54) boot: SPI Flash Size : 4MB
I (58) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (77) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00300000
I (92) boot: End of partition table
I (96) boot_comm: chip revision: 1, min. application chip revision: 0
I (103) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x883ec (558060) map
I (308) esp_image: segment 1: paddr=0x00098414 vaddr=0x3ffb0000 size=0x033a0 ( 13216) load
I (313) esp_image: segment 2: paddr=0x0009b7bc vaddr=0x40080000 size=0x00400 (  1024) load
I (315) esp_image: segment 3: paddr=0x0009bbc4 vaddr=0x40080400 size=0x0444c ( 17484) load
I (331) esp_image: segment 4: paddr=0x000a0018 vaddr=0x400d0018 size=0xb43c0 (738240) map
I (591) esp_image: segment 5: paddr=0x001543e0 vaddr=0x4008484c size=0x12d58 ( 77144) load
I (637) boot: Loaded app from partition at offset 0x10000
I (637) boot: Disabling RNG early entropy source...
I (638) psram: This chip is ESP32-D0WD
E (644) spiram: Expected 4096KiB chip but found 8192KiB chip. Bailing out..
E (650) cpu_start: Failed to init external RAM!
abort() was called at PC 0x40081589 on core 0

2,
change "CONFIG_SPIRAM_TYPE_AUTO=y" in menuconfig ,
solve the problem,but reboot continuously and appear log:

Code: Select all

I (185) wifi: wifi driver task: 3ffc8c38, prio:23, stack:3584, core=0
I (185) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (193) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
assertion "offset == dataSize" failed: file "D:/Users/cary.liurk/AppData/Roaming/SPB_Data/esp/esp-idf/components/nvs_flash/src/nvs_storage.cpp", line 438, function: esp_err_t nvs::Storage::readMultiPageBlob(uint8_t, const char*, void*, size_t)
abort() was called at PC 0x400d458f on core 0

why?

ESP_Sprite
Posts: 9711
Joined: Thu Nov 26, 2015 4:08 am

Re: reboot continuously in example http_play_and_save_to_file

Postby ESP_Sprite » Sun Mar 22, 2020 12:13 pm

Possibly your NVS partition is corrupted. You can try to erase the flash entirely using esptool.py and the fault should be cleared. (Note that your 1st and 2nd problem have nothing to do with eachother.)

Who is online

Users browsing this forum: No registered users and 15 guests