![]() ![]() ![]() The first 8 bytes cannot be 0xFFs as they are used to determine the stack pointer and the reset handler of the application. The bootloader will also check the first 8 bytes of the application area and if they are erased the bootloader will not jump into the application. After this function is executed the code will be executed directly from SRAM.Īfter initialization is completed, SW1 push button on the lauchpad is used to determine wheter to jump directly into the application or to stay in the bootloader to update the application. The function is called from ResetISR which is the program entry point. redirect return address to SRAM (add 0x20000000 to LR register) so we now return to Update vector table offset to RAM vector table For(pui32Dest = &_code_start_ pui32Dest < &_code_end_ ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |