OTA with Classic Bluetooth
Posted: 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: 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!
Can someone guide me to program ESP32 OTA via Classic Bluetooth?
Thanks
Ravishant
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: 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!
Can someone guide me to program ESP32 OTA via Classic Bluetooth?
Thanks
Ravishant