English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

What shall I do if the OTA MCU upgrade failed?

Last Updated on2023-01-30 09:45:44
Failure case 1: The interaction data between the MCU and the module only has the 0x0A command word, and there is no 0x0B command word returned by the MCU. Solution: This is because the Wi-Fi_UART_QUEUE_LMT setting in protocol.h in the transplanted Wi-Fi-SDK is too small, you can modify it to be larger. Note: How big is PACKAGE_SIZE to choose, Wi-Fi_UART_RECV_BUF_LMT should also choose the corresponding size.
Failure case 2: App interface upgrade interface cannot reach 100%. Solution: Check whether the firmware version returned by MCU is consistent with the platform (Wi-Fi module sends all upgrade packages, and resend 01. The MCU needs to reply the software version number in the product information within one minute with the upgraded MCU Version number, the version number needs to be consistent with the version number configured and upgraded in the Tuya background).
Others:
1. Confirm that the device firmware has been properly developed for SDK docking.
2. Verify whether the device firmware's version number is later than that of the OTA firmware.
3. Verify whether the 2.4G network used by the device is available and stable.
4. Confirm that the device ID and PID have been correctly configured in the backend.

Click for services and help

Help Center