FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2008 Threads] MPLAB FreeRTOS Monitor Posted by graham clark on November 7, 2008 Hi,
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.
Thanks
Graham
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?
Regards.
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 Hi,
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.
??
Paul
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|