I want to jump from the application code to the bootloader when i receive a FW upgrade command from the PC. The bootloader checks 2 conditions-valid application and a external trigger. In my case, i do not want to use a switch press a s an external condition. Can i set a GPIO Pin(as a condition for external trigger) and then jump to the bootloader without any reset? Is there any other register that can be set in PIC32 for this implementation which can retain its value even on reset? Do we have a sample code for that?
i want to check the register value in the bootloader code and then proceed with the fw upgrade process.
Any other idea for PIC32 MCu will be accepted.