Quality RTOS & Embedded Software

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


MPLAB FreeRTOS Monitor

Posted by graham clark on November 7, 2008

I'm using MPLAB 8.15 and had a quick look at the FreeRTOS monitor. Looking at the task list I don't see all my tasks listed. Do Microchip support this capability as it's not mentioned in the release notes for 8.15.



RE: MPLAB FreeRTOS Monitor

Posted by Richard on November 7, 2008
Can you provide a bit more info - for example, are the tasks that are missing all in the same state (Suspended maybe), or is it more random?


RE: MPLAB FreeRTOS Monitor

Posted by graham clark on November 7, 2008
Yes sorry. I have a trivial example with two tasks ( GRAPHIC and MiWi ) + idle.

The System hive shows uxCurrentNumberOfTasks as 3.

The display of tasks is very erratic. Sometimes I just see the Idle task at other times I see anything from 1 to 4 tasks. In the case of 4 tasks I see two Graphics tasks with the same TCB and Stack Start/Top/Used but one shows as Ready and the other Suspended. I have enough stack free about 100 words ( 400 bytes in each case) The Idle shows it is using 881 bytes - not sure where its stack is defined.

I'm using Real ICE with MPLAB 8.15 and the realICE firmware matching that release.

RE: MPLAB FreeRTOS Monitor

Posted by graham clark on November 7, 2008
One further thing. If I put a break point inside a task - let's say at a xQueueReceive - I don't that task in the list. If I take a SINGLE step into the RTOS code the list now shows my task. A bit weird!

RE: MPLAB FreeRTOS Monitor

Posted by graham clark on November 7, 2008
P.S. It's PIC32

RE: MPLAB FreeRTOS Monitor

Posted by Paul_Piak on November 12, 2008

Same here.
In order to have a reproducible setup I ran the demo3 program (PIC18, MPLAB) and only got erratic behaviour in the simulator.

In main3.c:
after executing line 153 I have 1 task (labeled : task 5) while this function should have created 2 tasks.
No task names are displayed.
When executing line 157, task 5 disappears and now only task 4 exists.



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

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

Latest News

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

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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

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