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

FreeRTOS with MPLAB PIC32MX upgrade from 7.1.1 to 8.2.0... system is too fast???

Posted by ulmus71 on February 18, 2015

Today (after 3 years working on 7.1.1) i tried to upgrade system to freertos to 8.2.0. I am using PIC32MX with MBLAB 8.... (not MPLABX). Port uses header 'xc.h', i looked into it and saw that it is simply p32xxxx.h, so i have edited that. I also change timer T1 to T5 (which i am using) all went ok. whole freertos and port files compiled great, but... after few moments my system hangs, but on my tft lcd i have blinking icon and it blinks about 2 times quicker. That's all for now :( i tried to change timer to be slower (if some time dependences would be) but it behaves the same: hangs with blinking icon 2 times faster than usual.

Anybody has experience with freertos 8.2 and mplab 8xx not mplabx? is there anything i forget or didnt know to change?

p.s. to change timer t1 to t5 i set proper 2 definitions and edit port.c changing proper registers to suits timer T5 of course.


FreeRTOS with MPLAB PIC32MX upgrade from 7.1.1 to 8.2.0... system is too fast???

Posted by tlafleur on February 18, 2015

I run 8.2 on MX and MZ under MplabX, all work well... fyi... --> Harmony is a work in progress....

Tom Lafleur

Attachments

alternate (2335 bytes)

FreeRTOS with MPLAB PIC32MX upgrade from 7.1.1 to 8.2.0... system is too fast???

Posted by rtel on February 18, 2015

Assuming the configuration of the clock is identical between the two versions, and that is your own code anyway (the tick is being set outside of the FreeRTOS code), then I cannot think of any reason why switching from V7.x code to V8.x code could effect the clock's speed (as the timer configuration is not in the FreeRTOS code). What else has changed? Compiler version, library version, header files, etc.?

Regards.


FreeRTOS with MPLAB PIC32MX upgrade from 7.1.1 to 8.2.0... system is too fast???

Posted by ulmus71 on February 18, 2015

Thanx, i think it needs investigations. Tomorrow i will get old mplab port, only new 8.2 freertos and check again. p.s. i have only changed freertos and port sources, nothing else (i still working on my system and compile it to include new updates and all is working great) today i just did git fork to update freertos, nothing more.


[ 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