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.

Compiler/AWR1843: Error in code coverage process: Input profile data inconsistent. Disabling further profiling for this function

Part Number: AWR1843

Tool/software: TI C/C++ Compiler

Hi,

I am trying to generate code coverage report for my unit testing with SDK 03_04. The out file was generated by compiling with --gen_profile_info. It was executed on the hardware to generate pprofout.pdat.

pprofout.prf was then generated and the software is again compiled with --use_profile_info=pprofout.prf --codecov to generate the code coverage csv files.

While recompiling with  --use_profile_info=pprofout.prf --codecov, I get " Input profile data inconsistent. Disabling further profiling for this function" error. I also checked the csv files and I see that certain lines of code are executed more number of times than what I expect based on the test cases.