Bootloader launch with arguments to tell it to load specific app or wait

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

cross mob
Anonymous
Not applicable

Hi,

   

I'd like to know if there a way for one of my apps (in a PSoC 5LP Dual-App Bootloader configuration) to call something like CySoftwareReset(enum AppNum) where AppNum = { BOOTLOADER, APP1, APP2 }.  I see that CySoftwareReset() doesn't take such any argument, but it would be great if it did. Is playing with the metadata the only way to tell the CY Bootloader to boot a specific app or just wait for commands from the comm link?  Can I somehow use the RESET_SR0 GPIO[0,1] bits to do so before calling CySoftwareReset()? I couldn't find any doc describing how to do that, just that the Bootloadable app uses those to communicate with the Bootloader across a reset, and that these bits were off-limits to users. If that's true, they're not very General Purpose if you ask me, and they should be labeled BOOT[0,1].

0 Likes
1 Solution
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Yes,you have to change the metadata to tell the CY Bootloader to boot a specific app

View solution in original post

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Yes,you have to change the metadata to tell the CY Bootloader to boot a specific app

0 Likes