Quality RTOS & Embedded Software

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


Loading

FREERTOS DEMO with PIC32MX795F512L

Posted by christophe on October 27, 2012
Hi,

I am using the ethernet STK from microship. I'd like to run the demo from RTOS. It compiles and programs well but it seems i Can't get my UART2 running. Comtest.c should send something to my UART but nothing is sent.

Also in the demo area on freertos is mentioned:
Note the PIC32MX795 demo does not include the serial port test tasks.

Someone knows what I have to do to make it work?

My three leds are blibkng thou

RE: FREERTOS DEMO with PIC32MX795F512L

Posted by Richard on October 27, 2012
If I recall correctly, the demo contains build configurations for four different PIC32 chips. Two are the first generation chips, and two the second generation. The interrupt mechanism differs between the two, and the UART driver provided supports the first generation method so does not work with the second generation chips like the 795.

I can't quite remember what the difference was, but I think it has to do with when the interrupt has to be cleared. I think on the second generation chips the interrupt has to be cleared as the first line in the interrupt handler.

This topic came up quite a few times a year or more ago. You might find some answers in the support forum archive:

http://www.freertos.org/FreeRTOS_Support_Forum_Archive/freertos_support_forum_archive_index.html

Regards.


[ 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