OTA updates
Posted: Mon Jan 09, 2023 1:51 pm
hola all!
playing with OTA updates and some works other not.
- (OK) when using console and download image from HTTP it works!!
- (FAIL) when setting image url trough html panel and sending url trough request and starting download image with same function that use with console dont work!!
- (FAIL) when trying to upload image trough html panel and HTML INPUT type=file. Dont work!!
code is here:
https://github.com/m5it/esp-kos-bridge
- for download ota function is in: main/t3ch_ota.c and function: t3ch_ota_download()
it works from console but not from html panel !!!!
This function:
https://github.com/m5it/esp-kos-bridge/ ... _ota.c#LC8
so if function is used from console all works if from webserver dont work!!
looks it crash in function esp_image_Verify() & image_load() from components/bootloader_support/src/esp_image_format.c ?
will try write little modified esp_ota_end with modified esp_image_verify and modified load_image and lets see what happen. noticing. *
playing with this fwe days... Please help!! :X ****
playing with OTA updates and some works other not.
- (OK) when using console and download image from HTTP it works!!
- (FAIL) when setting image url trough html panel and sending url trough request and starting download image with same function that use with console dont work!!
- (FAIL) when trying to upload image trough html panel and HTML INPUT type=file. Dont work!!
code is here:
https://github.com/m5it/esp-kos-bridge
- for download ota function is in: main/t3ch_ota.c and function: t3ch_ota_download()
it works from console but not from html panel !!!!
This function:
https://github.com/m5it/esp-kos-bridge/ ... _ota.c#LC8
so if function is used from console all works if from webserver dont work!!
looks it crash in function esp_image_Verify() & image_load() from components/bootloader_support/src/esp_image_format.c ?
will try write little modified esp_ota_end with modified esp_image_verify and modified load_image and lets see what happen. noticing. *
playing with this fwe days... Please help!! :X ****