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


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