Quality RTOS & Embedded Software

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


Loading

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

FreeRTOSConfig.h...

#define configUSE_PREEMPTION1
#define configUSE_PORT_OPTIMISED_TASK_SELECTION1
#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 configCHECK_FOR_STACK_OVERFLOW2
#define configQUEUE_REGISTRY_SIZE0
#define configUSE_RECURSIVE_MUTEXES1
#define configUSE_MALLOC_FAILED_HOOK1 // vApplicationMallocFailedHook()
#define configUSE_APPLICATION_TASK_TAG0
#define configUSE_COUNTING_SEMAPHORES1
#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
#define configTIMER_TASK_STACK_DEPTH( configMINIMAL_STACK_SIZE * 2 )

/* 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. */
#define configKERNEL_INTERRUPT_PRIORITY0x01

/* 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. */
#define configMAX_SYSCALL_INTERRUPT_PRIORITY0x03

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.

Regards.

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?
http://www.opensource4pic.org/content/content/freertos-rtosviewer-mplab-x

Regards.

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

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

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.


Careers

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

Renesas

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