This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not able to go back to bootloader mode from application mode

Hello,

I have 2 separate bin files(1 for bootloader and another is for application). First time I am able to flash the application bin file through bootloader and application code also working fine. Now i want to go back to the bootloder mode from the application. I have enabled forced update mode. Still i need to take care something?

I am using CAN boot loader.

Regards,

Chandrasekaran

  • Hello Chandrasekaran,

    How are you doing the force update? The Flash based boot loader would require you to have application program binaries 1...N in a different sector for updating. This is irrespective of the type of boot loader being used.

    Also which device, revision, crystal information is also required

    Regards

    Amit

  • Hello Amit,

    I am using device LM4f232h5qd.

    Force update i am making PH3 from high to low by using an external push button. Force update related changes i have enabled through bl_config.h.

    For the application, i am using 25Mhz externl crystal and for the boot loader i am using PIOSC 16 MHz.

    Initially what i did was i have flashed only the boot loader bin file(at 0x0 address) and i have updated the application code through bootloader(at 0x2800 address). It updates the application code properly and application also works fine.

    And i want the control to come back to the bootloader when i press the push button to update another application bin file.

    Please let me know if any additional changes required.

    Best regards,

    Chandrasekaran R

  • Hello Chandrasekaran,

    Since you plan to do Force Update in the boot loader, you would need to reset the device again with the PH3 switch pressed so that it recognizes the requirement for a new application image, unless there is something I am missing in the configuration.

    Regards

    Amit