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

Details of old bug fix for change of priority

Posted by Bernhard on November 3, 2010
I'm stuck with version 3.2.0 of FreeRTOS in some ancient code and updating to a newer version is not really an option, unfortunately. My platform is an ARM7 controller (STR710). The compiler tool chain I use is YAGARTO.

I would like to use the feature vTaskPrioritySet() when evolving the code but found a notice in the http://www.freertos.org/History.txt for the change from version 4.0.4 to version 4.0.5:

“Bug fix: The 'value' of the event list item is updated when the priority of a task is changed. Previously only the priority of the TCB itself was changed.”


Can anyone help me with the following questions:

  1. Does this fix affect a bug that was present in version 3.2.0 already?[/il]
  2. If so, are there any details on this issue still available (old ticket or such)? What would the effect of that bug be?[/il]


Thank you for all and any help,
Bernhard

RE: Details of old bug fix for change of priority

Posted by Richard on November 3, 2010
Wow, that is going back a long way. From the sound of the description the problem would have been that after calling vTaskPrioritySet( task_id, new_priority ) the task associated with task_id would only have changed to new_priority the next time it executed. In other words, when the scheduler was making a decision as to which task to execute next the decision would have been made as if task_id had its original priority, but once it had been selected from that point on the decision would be made as if it had its new priority.

Regards.

RE: Details of old bug fix for change of priority

Posted by Bernhard on November 8, 2010
Thank you very much for the help.

Regards,
Bernhard


[ 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