Quality RTOS & Embedded Software

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


1 ready task never runs on LPC1227 (CM0)

Posted by damien v on October 24, 2011

I'm facing an issue which I can't explain, therefore I'm hoping I can get some hints from this forum.

I have a configuration with 5 tasks + Idle task running on LPC1227, which has a Cortex M0. One task is used to handle the data sent received on the UART0, which is a simple serial port over used to send commands and receive some text output.

On my PC I have Tera Term connected to the correct port and I can see some status information and send commands, i.e. a regular command line interface.

Everything works fine until at some point where the terminal app stops receiving data.

I can see that when I type, data is received on the UART and the characters are sent to the right queue, so the task becomes READY, but it never runs, only the IDLE task is running. All other tasks are BLOCKED.

The READY task has a priority of 2 (Idle is 0 and other tasks have 1 and 4).

I attached a screenshot of the pxReadyTasksLists array - my task (which should be running) is located at position 3 (0 is the first) and I suppose that the Idle task is the one located at position 1, which I cannot verify since it is created without a handle.

RE: 1 ready task never runs on LPC1227 (CM0)

Posted by Richard on October 24, 2011
There is not currently an official CM0 port, although there will be soon, so I'm not able to help directly. There has been considerable effort on providing CM0 support in the FreeRTOS Interactive site, so I would recommend looking there for up to date ports, or to see if the port you are using has any issues (don't post questions there though - it is not a support forum).



RE: 1 ready task never runs on LPC1227 (CM0)

Posted by damien v on October 25, 2011
Thanks a lot that is very useful information!

Best Regards,


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

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.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists