Recovery after ota update failure CYW43438 / STM32F412

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WaSu_1697556
Level 3
Level 3
First like received First like given

Hi,

Just a question, what happens if ota (not ota2) is accidentally interrupted due to low battery?  Does the system reboot with the old(current) main program?

BTW, I don't have the actual EVB with CYW43438 / STM32F412 + external Flash.

0 Likes
1 Solution
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

OTA2 is not available for ST-host based combo devices because of limited memory. Basically, you need to understand the fallback option for OTA (Right?). If you check the 43xxx_Wi-Fi/apps/snip/ota_fr/ota_fr.mk, you can set the FR application as per your choice and when interrupted during OTA procedure, device has the ability to boot-up with the FR app.

To perform factory reset on the WICED evaluation board, work through the following steps:

  • Push and hold the SW1 button THEN momentarily press and release the Reset button.
  • The D1 LED flashes quickly to indicate factory reset will occur *IF* SW1 is held for a further 5 seconds. Continue to hold SW1.

The system reboots with the running application but if for some application the flash has been corrupted, you always have the option to fall back to the FR app.

View solution in original post

2 Replies