Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Task not invoked in PPC440

Posted by Palani andavan on 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

RE: Task not invoked in PPC440

Posted by Richard on 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS