Page 1 of 1

Failed to run ADF bt_sink demo - keeps resetting.

Posted: Thu Sep 27, 2018 12:06 am
by fernando306
Hello,

I have the LyraT board with the WROVER module, and it works with the ADF bt_sink demo just fine. I am trying to get that demo to work on my ESP32 thing from Sparkfun, but after flashing, it simply keeps resetting. Any ideas why? :ugeek:

This is what the UART shows:

Code: Select all

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:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
[0;32mI (29) boot: ESP-IDF v3.0.1 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 18:33:38[0m
[0;32mI (38) boot: Enabling RNG early entropy source…[0m
[0;32mI (38) boot: SPI Speed      : 40MHz[0m
[0;32mI (38) boot: SPI Mode       : DIO[0m
[0;32mI (41) boot: SPI Flash Size : 4MB[0m
[0;32mI (45) boot: Partition Table:[0m
[0;32mI (49) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (56) boot:  0 nvs              WiFi data        01 02 00009000 00006000[0m
[0;32mI (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000[0m
[0;32mI (71) boot:  2 factory          factory app      00 00 00010000 00100000[0m
[0;32mI (79) boot: End of partition table[0m
[0;32mI (83) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x39688 (235144) map[0m
[0;32mI (174) esp_image: segment 1: paddr=0x000496b0 vaddr=0x3ffc0000 size=0x029fc ( 10748) load[0m
[0;32mI (179) esp_image: segment 2: paddr=0x0004c0b4 vaddr=0x40080000 size=0x00400 (  1024) load[0m
[0;32mI (181) esp_image: segment 3: paddr=0x0004c4bc vaddr=0x40080400 size=0x03b54 ( 15188) load[0m
[0;32mI (196) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0x8b988 (571784) map[0m
[0;32mI (399) esp_image: segment 5: paddr=0x000db9a8 vaddr=0x40083f54 size=0x0ba0c ( 47628) load[0m
[0;32mI (419) esp_image: segment 6: paddr=0x000e73bc vaddr=0x400c0000 size=0x00000 (     0) load[0m
[0;32mI (428) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (428) boot: Disabling RNG early entropy source…[0m
[0;32mI (431) cpu_start: Pro cpu up.[0m
[0;32mI (434) cpu_start: Starting app cpu, entry point is 0x40081014[0m
[0;32mI (421) cpu_start: App cpu up.[0m
[0;32mI (445) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (452) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[0m
[0;32mI (458) heap_init: At 3FFCF400 len 00010C00 (67 KiB): DRAM[0m
[0;32mI (464) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (470) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (477) heap_init: At 4008F960 len 000106A0 (65 KiB): IRAM[0m
[0;32mI (483) cpu_start: Pro cpu start user code[0m
[0;32mI (165) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
assertion “false && “item should have been present in cache”” failed: file “/Users/fernando/esp/esp-adf/esp-idf/components/nvs_flash/src/nvs_item_hash_list.cpp”, line 85, function: void nvs::HashList::erase(size_t)
abort() was called at PC 0x400daf7b on core 0

Backtrace: 0x4008d36c:0x3ffd2610 0x4008d46b:0x3ffd2630 0x400daf7b:0x3ffd2650 0x400e9170:0x3ffd2680 0x400e97e2:0x3ffd26a0 0x400e9abd:0x3ffd26e0 0x400e8cb0:0x3ffd2730 0x400e88e2:0x3ffd2780 0x400e896b:0x3ffd27a0 0x400e8996:0x3ffd27c0 0x400daacb:0x3ffd27e0 0x400d258a:0x3ffd2920

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:0x3fff0018,len:4
load:0x3fff001c,len:5564
load:0x40078000,len:0
load:0x40078000,len:13756
entry 0x40078fb4
[0;32mI (29) boot: ESP-IDF v3.0.1 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 18:33:38[0m
[0;32mI (38) boot: Enabling RNG early entropy source…[0m
[0;32mI (38) boot: SPI Speed      : 40MHz[0m
[0;32mI (38) boot: SPI Mode       : DIO[0m
[0;32mI (41) boot: SPI Flash Size : 4MB[0m
[0;32mI (45) boot: Partition Table:[0m
[0;32mI (49) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (56) boot:  0 nvs              WiFi data        01 02 00009000 00006000[0m
[0;32mI (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000[0m
[0;32mI (71) boot:  2 factory          factory app      00 00 00010000 00100000[0m
[0;32mI (79) boot: End of partition table[0m
[0;32mI (83) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x39688 (235144) map[0m
[0;32mI (174) esp_image: segment 1: paddr=0x000496b0 vaddr=0x3ffc0000 size=0x029fc ( 10748) load[0m
[0;32mI (179) esp_image: segment 2: paddr=0x0004c0b4 vaddr=0x40080000 size=0x00400 (  1024) load[0m
[0;32mI (181) esp_image: segment 3: paddr=0x0004c4bc vaddr=0x40080400 size=0x03b54 ( 15188) load[0m
[0;32mI (196) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0x8b988 (571784) map[0m
[0;32mI (399) esp_image: segment 5: paddr=0x000db9a8 vaddr=0x40083f54 size=0x0ba0c ( 47628) load[0m
[0;32mI (419) esp_image: segment 6: paddr=0x000e73bc vaddr=0x400c0000 size=0x00000 (     0) load[0m
[0;32mI (428) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (428) boot: Disabling RNG early entropy source…[0m
[0;32mI (431) cpu_start: Pro cpu up.[0m
[0;32mI (434) cpu_start: Starting app cpu, entry point is 0x40081014[0m
[0;32mI (421) cpu_start: App cpu up.[0m
[0;32mI (445) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (452) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[0m
[0;32mI (458) heap_init: At 3FFCF400 len 00010C00 (67 KiB): DRAM[0m
[0;32mI (464) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (470) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (477) heap_init: At 4008F960 len 000106A0 (65 KiB): IRAM[0m
[0;32mI (483) cpu_start: Pro cpu start user code[0m
[0;32mI (165) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
assertion “false && “item should have been present in cache”” failed: file “/Users/fernando/esp/esp-adf/esp-idf/components/nvs_flash/src/nvs_item_hash_list.cpp”, line 85, function: void nvs::HashList::erase(size_t)
abort() was called at PC 0x400daf7b on core 0

Backtrace: 0x4008d36c:0x3ffd2610 0x4008d46b:0x3ffd2630 0x400daf7b:0x3ffd2650 0x400e9170:0x3ffd2680 0x400e97e2:0x3ffd26a0 0x400e9abd:0x3ffd26e0 0x400e8cb0:0x3ffd2730 0x400e88e2:0x3ffd2780 0x400e896b:0x3ffd27a0 0x400e8996:0x3ffd27c0 0x400daacb:0x3ffd27e0 0x400d258a:0x3ffd2920


Re: Failed to run ADF bt_sink demo - keeps resetting.

Posted: Thu Sep 27, 2018 1:07 pm
by fernando306
I just would like to highlight:

Code: Select all

[0;32mI (165) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
assertion “false && “item should have been present in cache”” failed: file “/Users/fernando/esp/esp-adf/esp-idf/components/nvs_flash/src/nvs_item_hash_list.cpp”, line 85, function: void nvs::HashList::erase(size_t)
abort() was called at PC 0x400daf7b on core 0

Any ideas what could be causing this?

Re: Failed to run ADF bt_sink demo - keeps resetting.

Posted: Thu Oct 04, 2018 4:19 pm
by ESP_tuanpm
Hi @fernando306

Please erase the flash and try again, maybe resolve your problem

Code: Select all

make erase_flash