1 Reply Latest reply on Jul 25, 2017 7:41 AM by epr_1639216

    OTA Update without use of SW2 button

      I'm working with the external memory OTA update example code. I have changed the schematic so that there is no output pin attached to the SW2 pin (Bootloader_Activation_Service). Instead, the program immediately enters bootloading mode with no dependency on pressing the SW2 button. When I program this, the red LED flashing indicates that I have entered bootloading mode, but when I try and do an OTA update, it gets stuck at the Authentication step, giving me the error "Authentication failed". I have attached screenshots of the relevant code changes.  I have only made changes to the initialization in the main function in main.c, and the BootloaderModeEntry function. Other than these, the code is the exact same as the example code. Please help.