Hello,
We have problem with code coverage in file compiled using cl6x.
In our project we compile files remotely on our server using cl6x and gmake.
I guess, I should add debug flag --symdebug:dwarf (or --symdebug:coff).
I understand, that after complete run of my program on simulator
with these flags, I will get coverage statistic files, which I can use to
investigate code coverage in my program.
I tried to obtain code coverage statistics of
simple project locally using Code Composer Studio (v 5.2.1.00018):
#include <c6x.h>
void main(void)
{
while(1)
{
;
}
}
I set “Generic C67xxDevice” as device in project properties. In target
Configuration I chose “C67xx CPU Cycle Accurate Simulator, Little Endian”
Without success. Program compiled. I loaded binary file. Ran it and stopped execution. No code coverage generated.
When I compiled code like this:
#include <c6x.h>
void main(void)
{
;
}
There’s error:
No source available for "C$$EXIT() at D:\userdata\grymin\workspace_v5_2\fggdfgdfg\Debug\fggdfgdfg.out:{3} 0x8900{4}"
Can You explain me, what should I change in my simple project to compile it and generate coverage data?
Can I automate this process?