nobody wrote on Thursday, March 22, 2007:
Hi…
Just wondering if anyone has any insight into my problem…
Ive tested FreeRTOS working on a samsung s344b0x arm7 processor and got it working… my problem now is that i start the scheduler and the first thread executes, and i think that there is a problem when it switches context , i tried increasing the stack sizes by a lot but the problem still happens, what i’m wondering is how to check that a context switch is happening properly, i.e. all the correct bits are getting pushed and popped… ive been checking
(pxCurrentTCB->pxTopOfStack - pxCurrentTCB->pxStack) and it does come up with some pretty big numbers ??
so through my debugging ive came up with :
first it breaks on the first thread, then it breaks on vPreemtiveTick, then i try to step through the ISR but it pokes out???
Any ideas would be greatly appreciated.
Thanks
Will