Hi,
i have two programs resident in FLASH. i am trying to call the second program using the following piece of code, but for some reason the jump fails to happen. Is there any reason why this may be happening ?
void handle_jump () { //UINT32 jump_addr = 0x20; //asm("b 0x00900000"); void(*funcPtr)(void); funcPtr=(void(*)(void))0x00900000; (*funcPtr)(); }
I also have the following pretty basic question
- Is it possible to compile a simple c program on an appropriate compiler and then call it from the bootstrap code ?
Any help would be appreciated
Thanks Nived
--------------------------------------- Posted through