Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

MPLAB RTOSDemo_PIC24

Posted by ady001 on April 25, 2016

The project builds and executes; the LCD shows text, the LEDs flash etc. but after 2mins and 20s the program always resets ( emulator stops with the PC pointing at the reset vector ). I'm using the standard Microchip Explorer 16 Development Board.

The project was missing the define below which I took from the Visual Studio demo example, otherwise the project is completely unaltered.

define configTIMERTASKPRIORITY ( configMAX_PRIORITIES - 1 )

I don't have a loop back connected on the serial port so the LCD shows "FAIL #2" but I don't believe this should cause the rpogram to reset. In fact all of the demo taks from main can be commented and the program still resets.

Maybe the watchdog is enabled but not serviced.


MPLAB RTOSDemo_PIC24

Posted by rtel on April 25, 2016

Maybe the watchdog is enabled but not serviced.

That would be the first thing to check then.


MPLAB RTOSDemo_PIC24

Posted by ady001 on April 25, 2016

Thanks for your friendly reply :) I guess I'm trying to point out that your standard demo code fails and you might want to correct it ( watchdog and missing define ) so that other people have a better first experience of FreeRTOS ?


MPLAB RTOSDemo_PIC24

Posted by rtel on April 25, 2016

I will give it a try before the final v9 release. What was the part number of the PIC24 you were using?


MPLAB RTOSDemo_PIC24

Posted by ady001 on April 25, 2016

Disabling the watchdog seems to fix it CONFIG1(FWDTENOFF) The part on the baord is a PIC24FJ128GA010.

Do you happen to know if this FreeRTOS port will work for a PIC24FJ128GA306 ?


MPLAB RTOSDemo_PIC24

Posted by rtel on April 25, 2016

I'm not aware of any reason why it wouldn't work with the PIC24FJ128GA306.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists