This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

thumb

Hello,

I wrote a function which call another function through a pointer of function call.
When I trace the call, as soon as I reach the function the thumb bit is cleared, and of course the program no more run correctly.
When I call the same function directly the thumb bit is not cleared, of course.

What are the mechanism which could clear my thumb bit?

normal call

unsigned char *ip1;
fnEraseFlashSector(ip1 ,0);

special call

ulong ( *tempt_Fct )( ulong );
ulong tempData;
ulong tempData2;
tempData = ((ulong (*)(ulong,ulong))tempt_Fct)(tempData,tempData2);

I need to write generic function calls for RPC.

0