SPMA083 January 2022 TM4C129CNCPDT , TM4C129CNCPDT , TM4C129CNCZAD , TM4C129CNCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD
In this example, there are two methods to return to the boot loader. The first is implemented in the boot loader. Coming out of reset, the boot loader checks if the SW2 button on the LaunchPad is pressed. Press and hold SW2 while pressing the reset button. LED1 will stop flashing and the boot loader will be ready to load a new encrypted application code. Simply press the reset button again without depressing SW2 and the application code will run again.
The second method of returning to the boot loader is implemented in the application itself. This shared_key_boot_demo application code reads the LaunchPad SW1 button. If it is depressed and held one second, the application code calls the boot loader.