cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

Hello,
we have been successful in implementing and deploying the OTA bootloader in Upgradable Stack use case - great module!

   

Depending on a specific system state (and/or a GPIO), we'd like to forcibly launch the Stack Application or the User Application from within the Launcher (i.e., the bootloader).

   

We found no explicit function in Loader's code to achieve this, so after a bit of analysis we ended up adding the following calls to the code:

   

Launcher_Exit(Launcher_EXIT_TO_BTLDB_1);

   

or

   

Launcher_Exit(Launcher_EXIT_TO_BTLDB_2);

   

depending on which application we want to force.

   

Is this a suitable approach or does anyone have a better/alternate solution?
Best regards,
Stefano Voulaz

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Yes, this should be fine.

View solution in original post

0 Likes
Reply
1 Reply
Anonymous
Not applicable

Yes, this should be fine.

View solution in original post

0 Likes
Reply