Quality RTOS & Embedded Software

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


FreeRTOS on tower MCF51CN with GCC problem

Posted by Eugene Leigh on February 24, 2010
Hi All

I'm trying to use FreeRTOS with GCC 4.4.1 from CodeSourcery for
Coldfire mcf51cn.

I have compiled FreeRTOS CodeWarrior demo for MCF51CN128 with GCC.
Adapted makefile from MCF52233 demo and trying to run an LED task.

It look like I have a problem with context switching. Inserting
breakpoints into vPortYieldISR and stepping it look like it crashes after switching back to LED task:
- vPortStartFirstTask: (LED)
- vPortYieldISR: (IDLE)
- vPortYieldISR:
stores context of current task, restores context of LED task (doesn't
look like a garbage or pointing out of stack)

Compiler options are the same as for MCF52233 apart from cpuid and liker

Any ideas?


[ 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