Switch between Bootloadable images without reset

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

cross mob
DrLu_1518341
Level 1
Level 1

I have a Dual-App Bootloader and two identical Bootloadable applications in a PSOC5LP. I have functioning code that updates one image while executing out of the other. Now I need to be able to switch from one image to the other, after updating it, WITHOUT issuing a reset ("hitless upgrade") that affects I/O pins (power supply enables, peripheral resets, etc) or SRAM (task state machine variables, register settings).

Is there a well-understood mechanism to pass control from one application image to another, or to do so via the bootloader but without service-affecting reset?

I figure it should be possible (if arduous) to ensure both images point to the same memory structures, and upon booting the image decide whether or not to initialize based on the reset source (or just a bit in memory).

Any pointers are welcome! Thanks in advance.

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi,

You can refer to the below thread

Re: How to jump to application from bootloader without software reset?

Regards

Alakananda

Alakananda

View solution in original post

0 Likes
3 Replies