Show Posts
Pages: [1]
1  Development / Other Software Development / Re: SCoop - multitask and Simple COOPerative scheduler AVR & ARM on: February 17, 2013, 07:29:18 pm
Hello omegaman477
I d bet on a problem with a stack colision.

could you please try extending the size of the stack allocated to the task, say 512 and then trying again.
once it runs ok, you can reduce the size of the stack by monitoring it with the stackLeft() method.

if this doesnt work, then this might be link to the "3BYTESPC" but I would need a copy of .elf file to troubleshoot it

let me know and dont hesitate to attach or post your code, or PM if preffered

Increasing stack size had no effect.  Where are the ELF files located, I will IM them and the Source to you.

Thanks.
2  Development / Other Software Development / Re: SCoop - Subroutines in Scoop Tasks on: February 15, 2013, 07:07:23 am
I am sure this is a stupid question..

I have SCoop operating well, EtherMega, no issues, clean and simple install.

However, whenever I introduce a call to a subroutine from any myTask::loop (say to call a common logging routine) the code reboots.  This is not the case when subs are called from myTask::setup or from Timers.

Am I doing something wrong ;-p

rich..
Pages: [1]