The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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.

TM4C129XNCZAD: Jump to Flash Bootloader from Application

Part Number: TM4C129XNCZAD

Hi Good Day,

I have been able to use the DFU Flash bootloader to refresh the application,

This method is to press the button before each power up, when the bootloader detects the button is pressed, it will perform the update action.

The question is, is there any way to jump from the application to bootloader mode, instead of using the above method.

There is a JumpToBootLoader function in the "boot_demo1" sample code,

By following this method, the system hangs.

Thank you.

Ray Yang

  • Hello Ray,

    You are not disabling all interrupts as necessary:

        //
        // Disable all processor interrupts.  Instead of disabling them
        // one at a time, a direct write to NVIC is done to disable all
        // peripheral interrupts.
        //
        HWREG(NVIC_DIS0) = 0xffffffff;
        HWREG(NVIC_DIS1) = 0xffffffff;
        HWREG(NVIC_DIS2) = 0xffffffff;
        HWREG(NVIC_DIS3) = 0xffffffff;

    The question is, is there any way to jump from the application to bootloader mode, instead of using the above method.

    The Jump process should work when done correctly.

    If after making the above update, it is still not working perhaps the flash boot loader has a check that is not passing to execute the programming.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    Thank you for the suggestion, it works fine.

    Best Regards,

    Ray Yang