Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

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

Xilinx Microblaze and Zynq partner