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-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Dave Nadler on January 4, 2013
Hi - Sorry if this is a dumb question. I'm using:
- MPLAB-X (Microchip new Sun-based IDE - NetBeans)
- FreeRTOS viewer downloaded from Microchip site
- Microchip PIC32MX795 project on PIC32MX USB Starter Kit II board
- FreeRTOS V7.3.0
FreeRTOS works great, but I see no tasks in viewer window.

Sorry if this is a dumb question, but any suggestions as
to what I'm doing wrong ?

Thanks !
Best Regards, Dave


#define configUSE_PREEMPTION1
#define configUSE_IDLE_HOOK0
#define configUSE_TICK_HOOK0
#define configTICK_RATE_HZ( ( portTickType ) 1000 ) // 1msec/tick
#define configCPU_CLOCK_HZ( 60000000UL )
#define configPERIPHERAL_CLOCK_HZ( 60000000UL )
#define configMAX_PRIORITIES( 5UL )
#define configMINIMAL_STACK_SIZE( 190 )
#define configISR_STACK_SIZE( 400 )
#define configTOTAL_HEAP_SIZE( ( size_t ) 28000 )
#define configMAX_TASK_NAME_LEN( 8 )
#define configUSE_TRACE_FACILITY0
#define configUSE_16_BIT_TICKS0
#define configIDLE_SHOULD_YIELD1
#define configUSE_MUTEXES1
#define configQUEUE_REGISTRY_SIZE0
#define configUSE_MALLOC_FAILED_HOOK1 // vApplicationMallocFailedHook()
#define configGENERATE_RUN_TIME_STATS0 // Requires definition of portCONFIGURE_TIMER_FOR_RUN_TIME_STATS

/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 0
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )

/* Software timer definitions. */
#define configUSE_TIMERS1
#define configTIMER_TASK_PRIORITY( 2 )
#define configTIMER_QUEUE_LENGTH5

/* Set the following definitions to 1 to include the API function, or zero
to exclude the API function. */

#define INCLUDE_vTaskPrioritySet1
#define INCLUDE_uxTaskPriorityGet1
#define INCLUDE_vTaskDelete0
#define INCLUDE_vTaskCleanUpResources0
#define INCLUDE_vTaskSuspend1
#define INCLUDE_vTaskDelayUntil1
#define INCLUDE_vTaskDelay1
#define INCLUDE_uxTaskGetStackHighWaterMark1

/* The priority at which the tick interrupt runs. This should probably be
kept at 1. */

/* The maximum interrupt priority from which FreeRTOS.org API functions can
be called. Only API functions that end in ...FromISR() can be used within
interrupts. */

RE: MPLAB-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Richard on January 4, 2013
I have not used the state viewer with the MPLAB X, only MPLAB 8, but I think it is safe to assume you should be able to see the tasks in the viewer whatever the configuration of the FreeRTOSConfig.h file.

You will only be able view queues if you set configQUEUE_REGISTRY_SIZE to a positive number, and add queues to the registry with the vQueueAddToRegistry() API function.

I will try and find out about the status of the MPLAB X plug-in.


RE: MPLAB-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Dave Nadler on January 4, 2013
Thanks Richard, looking forward to any info,
Best Regards, Dave

RE: MPLAB-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Dave Nadler on January 19, 2013
Hi Richard - Any chance to look at this ?
Thanks !
Best Regards, Dave

PS: The Eclipse Plug-in works great under in NXP's LPCXpresso package !

RE: MPLAB-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Richard on January 20, 2013
Just pinged again, and was told that it was not an officially supported product, but was pointed to the following URL for the latest. Is this the one you are using?


RE: MPLAB-X FreeRTOS viewer - no PIC32MX tasks ?

Posted by Dave Nadler on January 24, 2013
Hi Richard - I'm not sure. As usual with Microchip web sites, I cannot figure out how to download the plug-in from the site. In any case, I've delivered the project and won't have a PIC32MX back on my desk for a while now, so can't investigate further...
Thanks anyway,
Best Regards, Dave

[ 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