through an error in my code, my program accidentally call the starttask command twice in the initialisation section.
the zx24p didn't seem to mind and this is why i didn't notice it. However, when moved to the zx24n it appeared to be a different story and the program gave unexpected results with the i2c routines apparently then failing to work.
i didn't do much investigation except to say when the starttask was called once all was ok on bot devices.
I expect i'm pretty much the only person to do this, but i thought it might be of interest.
VM vs Native & task starting
Re: VM vs Native & task starting
The result of doing so is that the same task stack is being used multiple tasks that are active at the same time. The documentation for CallTask indicates that this should not be done but it doesn't describe what will happen if you do. Essentially, the behavior is undefined so both observed results, although different, are "correct".FFMan wrote:my program accidentally call the starttask command twice in the initialisation section.
- Don Kinzer