Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Find cause of "ti.sysbios.knl.Semaphore: line 204: assertion failure: A_badContext: bad calling context."

$
0
0

During the troubleshooting I found the symbol of the Semahore_pend() entry point, that is 'ti_sysbios_knl_Semaphore_pend__E'. I also found the code line in the assembler code where the assert is posted and set a breakpoint there. However, when my program runs into this breakpoint and stops, there is no call hierarchy in the CCS debug window

 

You should set :

BIOS.libType = BIOS.LibType_Debug;
BIOS.customCCOpts = "-mv6740 -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110  --program_level_compile -g";

in your RTSC configuration project in *.cfg file and recompile your project. After that you would see the call hierarchy in the CCS debug window


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>