1 Reply Latest reply on Feb 17, 2017 2:12 AM by himam_31

    Upgradable Stack OTA Bootloader



      Currently I am implementing the upgradable Stack Bootloader on my project following your excellent guide AN97060. However I have still a few questions concerning the following section on page 31:


      "For the Upgradable Stack OTA implementation, the bootload mode times out in 40 seconds if the OTA process has not yet started. For the External Memory OTA and Fixed Stack OTA implementation, there is no timeout; the firmware will wait indefinitely in the bootload mode."

      • Is it also possible to use no timeout by upgradable bootloader in order to wait indefinitely in the bootload? If yes, how could I do it?


      • If not, could I at least increase the default 40 seconds timeout? How?



      Very appreciated in advance for your kind support.


      Nuno Alves

        • 1. Re: Upgradable Stack OTA Bootloader



          The example project has a function TimeoutImplementation() using which the timeout is implemented. If there is a valid bootloadable and the PSoC is not bootloading, then after a specified time the code automatically switches to the available image.


          You can modify this function and implement this in your own way.