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

General • Re: Execute from SRAM

$
0
0
So the first way I tried is just calling the entry function just like any other c function: "ThirdStageMainFunc();". Maybe "jump" was the wrong term, but rather just a standard subroutine call. And the address is correct based on the linker script settings and assigning attributes on the function. I verified in the disassembly that "ThirdStageMainFunc" was indeed located at 0x20041100.

Thanks for the tip on OR'ing the 1 for thumb mode. I forgot about that, will definitely try it.

Statistics: Posted by rdb9878 — Sun Apr 21, 2024 10:16 pm



Viewing all articles
Browse latest Browse all 5260

Trending Articles