Example Bluedroid BLE Gatt_server won't run

tim8656
Posts: 5
Joined: Fri Jun 17, 2022 1:38 pm

Example Bluedroid BLE Gatt_server won't run

Postby tim8656 » Mon Aug 15, 2022 1:47 pm

I am using VS Code and platformio on windows 10. I've built the bluedroid ble gatt server example (v4.4) and loaded it onto an AZ Delivery demo board.

When I attempt to run the code, I get the following result on the terminal:

Rebooting...
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x12 (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:7484
ho 0 tail 12 room 4
load:0x40078000,len:14912
load:0x40080400,len:3688
entry 0x4008067c
␛[0;32mI (29) boot: ESP-IDF 4.3.2 2nd stage bootloader␛[0m
␛[0;32mI (29) boot: compile time 11:11:33␛[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 (43) boot.esp32: SPI Mode : DIO␛[0m
␛[0;32mI (48) boot.esp32: SPI Flash Size : 4MB␛[0m
␛[0;32mI (52) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (58) boot: Partition Table:␛[0m
␛[0;32mI (61) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (76) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (84) boot: 2 factory factory app 00 00 00010000 00100000␛[0m
␛[0;32mI (91) boot: End of partition table␛[0m
␛[0;32mI (95) boot_comm: chip revision: 1, min. application chip revision: 0␛[0m
␛[0;32mI (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1ddd0h (122320) map␛[0m
␛[0;32mI (155) esp_image: segment 1: paddr=0002ddf8 vaddr=3ffb0000 size=02220h ( 8736) load␛[0m
␛[0;32mI (159) esp_image: segment 2: paddr=00030020 vaddr=400d0020 size=785b8h (492984) map␛[0m
␛[0;32mI (339) esp_image: segment 3: paddr=000a85e0 vaddr=3ffb2220 size=01a58h ( 6744) load␛[0m
␛[0;32mI (342) esp_image: segment 4: paddr=000aa040 vaddr=40080000 size=1710ch ( 94476) load␛[0m
␛[0;32mI (384) esp_image: segment 5: paddr=000c1154 vaddr=50000000 size=00010h ( 16) load␛[0m
␛[0;32mI (395) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (395) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (407) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (407) cpu_start: Starting app cpu, entry point is 0x400819e4␛[0m
␛[0;32mI (393) cpu_start: App cpu up.␛[0m
␛[0;32mI (421) cpu_start: Pro cpu start user code␛[0m
␛[0;32mI (422) cpu_start: cpu freq: 160000000␛[0m
␛[0;32mI (422) cpu_start: Application information:␛[0m
␛[0;32mI (426) cpu_start: Project name: example_gatt_server␛[0m
␛[0;32mI (432) cpu_start: App version: 1␛[0m
␛[0;32mI (436) cpu_start: Compile time: Aug 15 2022 10:31:16␛[0m
␛[0;32mI (443) cpu_start: ELF file SHA256: 114b5ea9a67936bc...␛[0m
␛[0;32mI (448) cpu_start: ESP-IDF: 4.3.2␛[0m

assert failed: s_prepare_reserved_regions C:\.platformio\packages\framework-espidf\components\soc\memory_layout_utils.c:94 (reserved[i + 1].start > reserved.start)

Backtrace:0x40081ce3:0x3ffe3350 0x400900b1:0x3ffe3370 0x40095539:0x3ffe3390 0x40113d95:0x3ffe34b0 0x40113e1d:0x3ffe34e0 0x4010fba2:0x3ffe3820 0x4010e0bf:0x3ffe3be0 0x4010e270:0x3ffe3c00 0x40081be5:0x3ffe3c40 0x40079508:0x3ffe3c80 |<-CORRUPTED


ELF file SHA256: 114b5ea9a67936bc

I have tried swapping the hardware and completely replicating the build in another directory.

I have successfully build other example projects using the curent setup.

Can anyone suggest a way forward?

Thanks

Tim

Who is online

Users browsing this forum: No registered users and 309 guests