OTA with Classic Bluetooth

Ravishant
Posts: 2
Joined: Tue Jun 11, 2019 11:19 am

OTA with Classic Bluetooth

Postby Ravishant » Tue Jun 11, 2019 12:07 pm

Hi all,
I have been trying to implement OTA via Classic Bluetooth. Somehow, I got the data bytes to be delivered to ESP via Android App. The code of OTA is attached below:
OTA.c
(10.41 KiB) Downloaded 5 times
Now I am getting checksum issue as below:
I (151164) OTA Function : Total Write binary data length : 719696
I (151164) esp_image: segment 0: paddr=0x00110020 vaddr=0x00000000 size=0x00000 ( 0)
I (151164) esp_image: segment 1: paddr=0x00110028 vaddr=0x00000000 size=0x00000 ( 0)
I (151174) esp_image: segment 2: paddr=0x00110030 vaddr=0x00000000 size=0x00000 ( 0)
I (151184) esp_image: segment 3: paddr=0x00110038 vaddr=0x00000000 size=0x00000 ( 0)
I (151194) esp_image: segment 4: paddr=0x00110040 vaddr=0x00000000 size=0x00000 ( 0)
I (151204) esp_image: segment 5: paddr=0x00110048 vaddr=0x00000000 size=0x00000 ( 0)
E (151214) esp_image: Checksum failed. Calculated 0xef read 0x0
E (151214) OTA Function : esp_ota_end failed!

Image

Can someone guide me to program ESP32 OTA via Classic Bluetooth?

Thanks
Ravishant
Attachments
Screenshot from 2019-06-11 17-10-39.png
Screenshot from 2019-06-11 17-10-39.png (92.14 KiB) Viewed 112 times

chegewara
Posts: 726
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA with Classic Bluetooth

Postby chegewara » Tue Jun 11, 2019 8:51 pm

Can you confirm that your binary size is:
Total Write binary data length : 719696

Ravishant
Posts: 2
Joined: Tue Jun 11, 2019 11:19 am

Re: OTA with Classic Bluetooth

Postby Ravishant » Wed Jun 12, 2019 7:44 am

Yes, I'm sure, my file size is 719696 bytes.
Screenshot from 2019-06-12 13-10-52.png
Screenshot from 2019-06-12 13-10-52.png (38.08 KiB) Viewed 79 times

Who is online

Users browsing this forum: Baidu [Spider], Benbu2018 and 19 guests