This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280025: code branch in C language.

Part Number: TMS320F280025


Hi champs,

My customer is developing his own bootloader and is able to use below assembly code branch to application,

asm(" LB 0x82000");

He would like to use C code doing this code branch instead, but he fails to do that by using below C statement,

((void(*)())(*(uint32 *)0x82000))();

Could you please advise the reason the C code fails to branch? What C statement should we use to branch to certain address in c28x?

Thanks and regards,

Luke