Hi community…
I was trying to update the firmware of my esp32 mcu using this example
and From the android app I took th example here …
When I run the android app and try ti update the firmware the process starts but then the android app tells 100% download instead from the esp32 side from debug monitor it is saying imcomplete…
The same issue is reported here…
opened 01:38PM - 28 Jan 22 UTC
closed 04:56AM - 01 Apr 22 UTC
Hi,
I am running the esp32_ble_ota code on my esp32 cam board, I have flashed … the esp32_ble_ota arduino sketch on my esp32 cam board and then uploaded the bin file using the anrdoid app. In android its is showing file transfered 100%, but in serial monitor it is showing "Incomplete Available space: 603153 File Size: 16596862"
In arduino ide I have selected the following from tools tab Partition Scheme as Default 4MB with spiffs(1.2MBAPP/1.5MB SPIFFS), Board as ESP32 Dev Module.
even I have tried with esp32_nim_ble_ota code too ,but is connecting and immediately getting disconnecting.
I have attached serial monitor log for esp32_ble_ota, I am not able to find the problem
serial monitor log:
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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
Starting BLE OTA sketch
Characteristic defined! Now you can read it in your phone!
TX AA 00
TX F1 00 01
TX F1 00 02
TX F1 00 03
TX F1 00 04
TX F1 00 05
TX F1 00 06
TX F1 00 07
TX F1 00 08
TX F1 00 09
TX F1 00 0A
TX F1 00 0B
TX F1 00 0C
TX F1 00 0D
TX F1 00 0E
TX F1 00 0F
TX F1 00 10
TX F1 00 11
TX F1 00 12
TX F1 00 13
TX F1 00 14
TX F1 00 15
TX F1 00 16
TX F1 00 17
TX F1 00 18
TX F1 00 19
TX F1 00 1A
TX F1 00 1B
TX F1 00 1C
TX F1 00 1D
TX F1 00 1E
TX F1 00 1F
TX F1 00 20
TX F1 00 21
TX F1 00 22
TX F1 00 23
TX F1 00 24
TX F1 00 25
TX F1 00 26
TX F1 00 27
TX F1 00 28
TX F1 00 29
TX F1 00 2A
TX F1 00 2B
TX F1 00 2C
TX F1 00 2D
TX F1 00 2E
TX F2 00 2F
Incomplete
Available space: 603153
File Size: 16596862
Incomplete
Incomplete
Incomplete
Does have idea how to fix it ?
Thanks a lot
Does it work when uploaded through the Arduino IDE?
1 Like
Hi max… The ble library for esp32 works in platformio because using a python script i was able to update the firmware in the mcu…
The problem seems the interaction with the android app…
I didn’t try with arduino ide because as you know I use platformio with arduino framework set in the platformio.ini,
Can you do a test too?
Thanks a lot