Hi,
bios TASKs:
I've had some success with this, but I've struck a problem. I've added a TASK (same syntax as used in TI code), and this is all working ... mmwControl, CLI, DPM plus my task all run together, and everything seems fine. The code is based on the oob_demo, and I'm CREATEing the TASKs in MmwDemo_initTask.
However, I don't seem to be able to create another TASK - it won't run (i.e. compiles OK, and code runs - just not with correct functionality):
> create new (lower priority) task AFTER the one that runs OK - new task does NOT run (no action, break point on task is never reached)
> create the new task BEFORE task that works ... new the new task runs, but now the original does not.
Do I need to CREATE tasks in any specific order e.g. same as PRIORITY? Is there a limit to how many tasks? BIOS docs don't seem to so, presumably you can have many, just that the overall performance will get slower as the BIOS tries to sevice them all?
Also, if I put a debug printf statement just after the CREATE, this seems not to run, as if the CREATEd task takes over immediately, and the rest of the INIT task is held?
I note that the MmwDemo_initTask doesn't explicitly have a PRIORITY set. Does this imply that MAIN - and perhaps TASKs created in there - have highest priority?
many thanks
Alan Milne