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.