Quality RTOS & Embedded Software

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


Loading

PIC32 Demo Comtest Tasks not running!

Posted by Lorenzo Maiorfi on June 23, 2011
Hi.

I just tried PIC32 demo on an Explorer 16 Board with PIC32MX7 PIM module.

All tasks work well, but only if i comment out com test task initialization:

vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );

It seems that after creating such two tasks (rx and tx tasks), the scheduler isn't able to switch any task.

What's more, code inside such two tasks is never executed.

Any suggestion?

RE: PIC32 Demo Comtest Tasks not running!

Posted by Richard on June 23, 2011
Version 7 of FreeRTOS updated the port layer slightly to work with the compiler that Microchip released a few weeks prior to that. At that time I checked the code on the Explorer 16 and it worked fine. The comtest tasks need a loopback connector to be fitted in order to function without flagging an error, but the tasks should run even without the loopback.

Regards.

RE: PIC32 Demo Comtest Tasks not running!

Posted by Lorenzo Maiorfi on June 23, 2011
Changing the PIM and replacing PIC32MX7 with a PIC32MX3 solves the problem.

What could it be that is so different between two models?

Thanks!

RE: PIC32 Demo Comtest Tasks not running!

Posted by Richard on June 23, 2011
The 7xx series is much newer than the 3xx series, and has several architecture enhancements/changes. For example, the 7xx needs an extra #pragma definition in the configuration file, and won't work without it, while the 3xx won't work (or won't compile) if the parameter is present.

There has been discussion on this forum before about the UART on the 7xx parts. The demo in the FreeRTOS download does not target the 7xx parts, although the examples that come with the FreeRTOS book do (although the book examples don't use the UART).

Regards.

RE: PIC32 Demo Comtest Tasks not running!

Posted by Mathew Key on October 11, 2011
Hi all,

Im looking at the same problem. Im using the PIC32 Starter Kit (360) and the Starter Kit 2 (795). Fine on the 360 and hangs on the 795 at the ConfigIntUART2 line in serial.c (copied from the FreeRTOS demo folder)
Has anyone else managed to get to the bottom of this? Just wanted to check before I delve in.....

Mat


[ 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