OTA does not work

Added by martin van beek about 1 year ago

When trying to enable Over The Air programming in Access Point mode, the ESP32 module throws next error:

assertion " Invalid mbox " failed: file "C:/waijung2_20.11a/targets/esp32/setup/esp-idf/components/lwip/lwip/src/api/tcpip.c", line 455, function: tcpip_send_msg_wait_sem

When commenting this OTA block, the ESP32 access points starts smoothly and can be pinged on his gateway IP address.
Do you have any suggestion how to solve this problem.
Best regards,


Replies (2)

RE: OTA does not work - Added by Chandima Jayaneththi (จันทิมา) about 1 year ago

As a solution for this issue, could you please modify the model something similar to the model as below by putting the OTA block inside a enable subsystem.

Such that the OTA upgrade function will be initiated once the wifi is initialized and a device is connected to the wifi network.

RE: OTA does not work - Added by martin van beek about 1 year ago

Hi Chandima,
Removing the generated folders + data by Matlab Simulink and implementing your suggestion explained above, will do the job and the OverTheAir programming starts working.
Thanks a lot for your quick solution, well done.
Best regards,