Software constantly reset after flash encyption. Factors for bootloader size?
Posted: Thu Jan 21, 2021 6:48 pm
Hello all,
Thank you in advance for any help.
I have a problem where after flashing a wrover-e with flash encrypted software I get constant software resets as seen from monitor.
If I flash un-encrypted I have no issues. I am using idf v3.3.2 stable.
I have had this issue in the past due to too large a bootloader that was resolved by removing its log output. However after some changes to the application (and nowhere else) I now have this issue. Also, if I look at the size of the bootloader.bin file from the windows file explorer it is 19kb, under the bootloader size limit. Is this not accurate?
So knowing that the only changes were in the application is there something I can do to change bootloader file size? I cannot change the partition table as there are units in the field, without some OTA implementation to change the custom partition table. Is bootloader size even the problem? Are there other reasons for constant software resets?
Thank you
Thank you in advance for any help.
I have a problem where after flashing a wrover-e with flash encrypted software I get constant software resets as seen from monitor.
Code: Select all
rst:0x3 (SW_RESET),boot:0x1b (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:1040
ho 0 tail 12 room 4
load:0x40078000,len:11584
load:0x40080400,len:5904
entry 0x400806ac
ets Jul 29 2019 12:21:46
I have had this issue in the past due to too large a bootloader that was resolved by removing its log output. However after some changes to the application (and nowhere else) I now have this issue. Also, if I look at the size of the bootloader.bin file from the windows file explorer it is 19kb, under the bootloader size limit. Is this not accurate?
So knowing that the only changes were in the application is there something I can do to change bootloader file size? I cannot change the partition table as there are units in the field, without some OTA implementation to change the custom partition table. Is bootloader size even the problem? Are there other reasons for constant software resets?
Thank you