Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4872

General • Re: Execute from SRAM

$
0
0
How do you "jump to the third stage bootloader at 0x20041100"? If you do it by setting a function pointer to this address, do you set the least significant bit (the Thumb bit) to 1? For example:

Code:

void (*thirdStageBootloader)(void) = 0x20041100 | 1;
Without this bit set, you will probably get a HardFault.

Statistics: Posted by adam_green — Sun Apr 21, 2024 4:13 pm



Viewing all articles
Browse latest Browse all 4872

Trending Articles