Failed to run ADF bt_sink demo - keeps resetting.

fernando306
Posts: 10
Joined: Wed Sep 05, 2018 11:19 pm

Failed to run ADF bt_sink demo - keeps resetting.

Postby fernando306 » Thu Sep 27, 2018 12:06 am

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


fernando306
Posts: 10
Joined: Wed Sep 05, 2018 11:19 pm

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

Postby fernando306 » Thu Sep 27, 2018 1:07 pm

I just would like to highlight:

Code: Select all

I (165) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
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?

tuanpm
Posts: 8
Joined: Sat Dec 05, 2015 7:59 am

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

Postby tuanpm » Thu Oct 04, 2018 4:19 pm

Hi @fernando306

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

Code: Select all

make erase_flash

Who is online

Users browsing this forum: No registered users and 2 guests