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
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.
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.
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!
P.S. It’s PIC32
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.