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] [July 2017 Threads] Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32Posted 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/32Posted by rtel on July 18, 2017
Task #4 FAIL - PIC24FJ1024GB610, EXPLORER16/32Posted 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/32Posted 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/32Posted 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/32Posted 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/32Posted by rtel on July 18, 2017 Not sure, but possibly. That is not a very helpful answer though :o)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|