What happens to port settings (DIRA and OUTA) when a cog gets stopped with cogstop? Will they get reset?
I could test this myself, of course, but perhaps somebody has already done this.
I have one cog running doing time critical I/O and another giving it instructions and watching that these get executed in time. If there is a problem talking to the attached device i just kill that cog and restart the task with cognew. Can it happen that the port setting of the stopped cog get stuck where they were at the time it got killed. cognew could select another cog and this would eventually be disturbed because the old cog has some port set to output and high.
If this is the case I will have to take care to start the same cog again.