Running code composer studio with xds-110 debugger with jtag interface to custom board with cc2650.
Implemented SimpleBLEPeripheral
Modified code task code called from main.c with the following
Task_construct(&taskStructSaluMainTask, taskSaluMainTask, ¶ms, NULL);
if (beatCounter>10){
printf("beats %d",beatCounter);
}
}
I
The debugger stops on the ++ operation 3 times without updating it. Im watching it in the step by step debugger. I step over it and its value does not change 2 times, then canges the third time.
There is another area of my code where I reference beatCounter
if (beatCounter>10)
{
print ("some value")l
beatCounter = 10;
}
When I put a break point on the conditional, it takes 3 continues for the debugger to report a new value.
It seems like there are three threads running at the same time. But I did not start any threads?
I noticed though that the initial task creation ran three times. Even though main is only called once.
What gives?