anonymous wrote on Monday, April 16, 2012:
I’m a student, and also a complete beginner on FreeRTOS; the thing is, i need to make it work on a MSP430F5438 (implemented on an Olimex MSP430-5438-STK board), using the MSPGCC compiler; After trying to do it on my own during the last few days, I resigned myself to ask for help.
As no Demo was available for my specific configuration, i started to do a port based on the available demos and several documentations i found on the Web, but actually, my program doesn’t work:
* I created two tasks (simple LED blinks at different speed), but it seems that only the latest task is continuously working; after googleing a bit, i found that the function vPortYieldFromTick() wasn’t implemented, so i wrote it in my “port.c” file and i called it from the timer0’s ISR. But it gone worse, as the LEDs didn’t even blink.
I tried to “follow the problem”, and it looks like the problem is located in the portSAVE_CONTEXT() and portRESTORE_CONTEXT() macros; unfortunately, they’re written in assembler, and a don’t know a single thing about it…
But maybe i’ve passed through something important ?
Thank you in advance for your help, i really don’t know where else i could ask for it…
P.S.: I voluntarily not included any source code with this post to not make it too long, but if needed, i can put it online
PS: Sorry for my bad english