A project I have been working on has developed a bizarre problem, maybe it is a known issue.
The code base is long lived and stable, I took a branch off to develop a complicated new feature a few months back so have not been really testing all the original code continued working while adding all the new code. So I have a lot of edits (and compiler/tools upgrades) between now and the last known good.
Before I go off on a bisect spree, perhaps someone has seen this.
One of my threads, created in the point and click interface thus;
var parm_9 = new TSK.Params();
parm_9.instance.name = "ces_task";
parm_9.vitalTaskFlag = false;
parm_9.stackSection = "stk_cestask";
parm_9.stackSize = 1792;
Program.global.ces = TSK.create('&ces_task', parm_9);
Seems to be executing twice, with the same task id, I tried log statements etc to see what was going on, and found that the instances of this thread had a parallel set of globals. To the extent that I created a semaphore (counting init val=1) which both instances are able to obtain in parallel (both instances reporting the same semaphore address)
It is not double logging, I put TSCL into the log strings and get different times.
And from behavior I can see the code going into self test routines and tripping over itself in just the way I would expect if I had coded 2 identical tasks.
Confused...
Chris
DM6433 - custom board.
CCS 5.4.0.00091
XDC 3.25.2.70
PSP 1.10.3
CGT 7.4.5
BIOS 6.34.4.22
EDMA 2.11.07.04