pcbreflux / espressif

all espressif stuff will committed here

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem while running ESP32_blufi_beacon _tracker

pratikshinde opened this issue · comments

Hi,

I have compiled beacon tracker example and tried to run on ESP32 DevKit, I am getting error "Failed to verify app image @ 0x10000"

I have modified esp_bt_controller_init() function call to pass esp_bt_controller_config_t type,

my debug log is here : https://pastebin.com/8XgtAKVD
ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_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:0x3fff0010,len:4
load:0x3fff0014,len:5088
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:12664
entry 0x40078f50
I (47) boot: ESP-IDF v3.0-dev-168-gd515eea 2nd stage bootloader
I (47) boot: compile time 16:52:50
I (47) boot: Enabling RNG early entropy source...
I (65) boot: SPI Speed : 40MHz
I (77) boot: SPI Mode : DIO
I (90) boot: SPI Flash Size : 4MB
I (102) boot: Partition Table:
I (113) boot: ## Label Usage Type ST Offset Length
I (136) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (159) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (183) boot: 2 factory factory app 00 00 00010000 00100000
I (206) boot: End of partition table
I (219) boot: Disabling RNG early entropy source...
I (236) boot: Loading app partition at offset 00010000
I (254) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x3c5a0 (247200) map
I (545) esp_image: segment 1: paddr=0x0004c5c8 vaddr=0x3ffc0000 size=0x02954 ( 10580) load
I (559) esp_image: segment 2: paddr=0x0004ef24 vaddr=0x40080000 size=0x00400 ( 1024) load
I (567) esp_image: segment 3: paddr=0x0004f32c vaddr=0x40080400 size=0x00ce4 ( 3300) load
I (598) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0xba530 (763184) map
I (1434) esp_image: segment 5: paddr=0x0010a550 vaddr=0x400810e4 size=0x1374c ( 79692) load
I (1536) esp_image: segment 6: paddr=0x0011dca4 vaddr=0x400c0000 size=0x00034 ( 52) load
I (1536) esp_image: segment 7: paddr=0x0011dce0 vaddr=0x50000000 size=0x00004 ( 4) load
E (1557) esp_image: Image length 1105168 doesn't fit in partition length 1048576
E (1581) boot: Failed to verify app image @ 0x10000 (8194)
user code done

Git log : https://pastebin.com/DCB9es9g
Merge: 8fd6ab9 0e54caa
Author: Anton Maklakov anton@espressif.com
Date: Thu Jul 20 18:32:56 2017 +0800

Merge branch 'bugfix/ci_examples_list_order' into 'master'

Make the list of examples permanent between jobs
because the results of the 'find' command are not sorted by name.

Fix the identified problem on master

See merge request !1036

commit 0e54caabe3defa51e81710ceae67c41d8ba00e93
Author: Ivan Grokhotkov ivan@espressif.com
Date: Thu Jul 20 16:40:03 2017 +0800

examples: add missing nvs_flash.h include

commit 341cc8221cd12edd254a451189d589d59f67a1fe
Author: Anton Maklakov anton@espressif.com
Date: Thu Jul 20 16:46:30 2017 +0800
:

It seems you've over the size of default image size, which is 1 MB.

E (1557) esp_image: Image length 1105168 doesn't fit in partition length 1048576

the byte length 1048576 is actually 1 MB.

Might try to use this to modify it, I'm still trying as well,

Partition Tables

Victor