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


FreeRTOS-7.00 -> FreeRTOS-7.30

Posted by Uwe Keppler on February 28, 2013

We have some applications running based on FreeRTOS 7.0.0 without problems.
Now I would like to update to FreeRTOS 7.3.0 and I found a problem with vtaskdelay not working correctly.

I made two demo projects to show you the issue. You can run them on a EVK1100.
There is only a test task which simply increments a variable every 100ms but that’s enough to show you the different behaviour of the two
FreeRTOS versions.

If you set a breakpoint to vtaskdelay in function vtest and check how long it takes to come back from the vtaskdelay function you will see
That with FreeRTOS 7.0.0 it comes back after 100ms as expected but with version 7.3.0 it takes about 5 seconds to come back.
If you set a higher delay such as 500ms it never comes back.

So can you please investigate on that and help me to solve this issue.
Kind regards

i.A. Uwe Keppler

RE: FreeRTOS-7.00 -> FreeRTOS-7.30

Posted by Richard on February 28, 2013
Where did you get your FreeRTOS source code from? The AVR32 code in the FreeRTOS distribution targets the original AVR32 silicon (ES) in which there was apparently some differences in the timer hardware to the later production silicon. Atmel distribute a version for the newer silicon as part of their Atmel Software Framework - you can download that from http://asf.atmel.com.

Hope that helps.


RE: FreeRTOS-7.00 -> FreeRTOS-7.30

Posted by Uwe Keppler on February 28, 2013

I could not find a newer version than 7.0.0 on the Atmel site.
I would appreciate if I could send you my demo projects for investigation and you help me to solve this issue?

Kind Reagrds.

RE: FreeRTOS-7.00 -> FreeRTOS-7.30

Posted by Richard on February 28, 2013
If the Atmel site is shipping V7.0.0 then I assume you got the V7.3.0 code from the FreeRTOS distribution - in which case this is a well known issue as per my previous email the port is for an older revision of the chip. You will probably be able to use the core V7.3.0 code and drop in the port layer (the files from FreeRTOS/Source/portable) from the V7.0.0 code.


RE: FreeRTOS-7.00 -> FreeRTOS-7.30

Posted by Uwe Keppler on March 1, 2013
Hello Richard,

That works, thanks so far for this information.
By the way it would be much more convenient for all AVR32 users if you would update your port to the newer silicon.

Kind regards

[ 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