Quality RTOS & Embedded Software

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


Loading

Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by tinchogleria on July 17, 2017

Hi, I'm running freeRTOS in the demo board mentioned, and after a suggestion in other topic, I void task #2 because de new Explorer16/32 doesn't came with 9-way socket D connector. Effectively task #2 is not running now, but task #4 sometimes fail. I can not establish a period, but is frecuently. When everything is fine, I see "124ns max jitter" in my display.What may be causing Task # 2 to fail? Trying to solve this problem, I wonder how to debug an application in real time? I apologize if it's a silly question, this is my first experience with an RTOS. Regards!


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by rtel on July 18, 2017

....and what is Task #4?


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by tinchogleria on July 18, 2017

Sorry, I didn't mention. Is the name given in the FreeRTOS demo application for Microchip's 16bit microcontroller to the set of tasks defined in BlockQ.c file which are audited by xAreBlockingQueuesStillRunning() function from the Main.c file. The source file can be downloaded from here.


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by rtel on July 18, 2017

The BlockQ functions are very old and should be very stable. Perhaps the tasks are getting starved out by something else?


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by tinchogleria on July 18, 2017

I only changed from the original demo application the lcd.c and lcd.h files, because these were not compatible. Could that be related?


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by tinchogleria on July 18, 2017

In fact, I did not change the files completely, I just commented on the implementation of the functions and called in that point the analog functions that are defined in another file included in the project. Everything related to the LCD task and the defined macros are intact.


Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32

Posted by rtel on July 18, 2017

Not sure, but possibly. That is not a very helpful answer though :o)


[ 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