Task not invoked in PPC440

palz84 wrote on Tuesday, November 20, 2012:

Hi all,

I’m new to FreeRTOS.

1. I created a new project in Xilinx XPS 12.4 for PPC440 with single task in freeRTOS. It is compiled succeffully but when i downloaded into the board, the corresponding task function is not invoked. I debugged using RS232 and verified till the execution of xPortStartScheduler in port.c file. Can anyone tell me the reason why task function is not invoked?

2. I tried the same project in SDK but here i’m getting the following compilation error in portasm.s file.

“src/portasm.o” “…/src/portasm.S”
…/src/portasm.S: Assembler messages:
…/src/portasm.S:138: Error: unsupported relocation against R0
…/src/portasm.S:139: Error: unsupported relocation against SP
.
.
…/src/portasm.S:170: Error: unsupported relocation against R1
…/src/portasm.S:171: Error: unsupported relocation against R0
…/src/portasm.S:174: Error: unsupported relocation against R3
…/src/portasm.S:174: Error: index register in load range
…/src/portasm.S:215: Error: unsupported relocation against SP

Thanks,
palz84

rtel wrote on Tuesday, November 20, 2012:

You are going to have to step through the code using the debugger to the point where the scheduler is supposed to start to begin to understand why it is not working as intended.

I presume you have looked through the documentation page on the FreeRTOS web site for that port to see if any additional set up is required?  Unfortunately the demo is very old, and as such the tools have changed a lot since the documentation was created.

Regards.