FreeRTOS on tower MCF51CN with GCC problem
Posted by Eugene Leigh
on February 24, 2010
I'm trying to use FreeRTOS with GCC 4.4.1 from CodeSourcery for
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)
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
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.