Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
I also tried it with mDash (Error Code above) and also over the mos tool with mos call OTA.Update '{"url": "http...."}' and with the ota-http-client library.
In the device log of the device I get the following error code:
For what does the error code exactly stands?
To be certain that the size is not a problem I also tested it with the demo-c example app and got the same result.
I am using the Wroom 02 Board with a size of 2Mb. I also compiled the firmware with the
build_vars:
FLASH_SIZE: 2097152
in the mos.yml file and used the command: mos build --platform esp8266 --buil-var FLASH_SIZE=2097152 --clean --local, so I am sure that it is build for the 2Mb version.
The normal flashing over uart works without any problems.
Hi everybody,
when I try to use the OTA Update functions im getting the following error response:
Error updating device 9a082c97c4d7d99b445a3765: { "code": -11, "message": "-11 Write failed" }
I also tried it with mDash (Error Code above) and also over the mos tool with mos call OTA.Update '{"url": "http...."}' and with the ota-http-client library.
In the device log of the device I get the following error code:
For what does the error code exactly stands?
To be certain that the size is not a problem I also tested it with the demo-c example app and got the same result.
I am using the Wroom 02 Board with a size of 2Mb. I also compiled the firmware with the
build_vars: FLASH_SIZE: 2097152
in the mos.yml file and used the command: mos build --platform esp8266 --buil-var FLASH_SIZE=2097152 --clean --local, so I am sure that it is build for the 2Mb version.
The normal flashing over uart works without any problems.
Thank You very much for any ideas.