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

Timing Details Of RTOs Calls

Posted by Sachin Bhujbal on April 27, 2009
Dear All,
I am using FreeRTOS in STR9 at 96MHz.
Can anybody tell me the timing details of
all ( or whatever available ) RTOs calls or guide me to derive it ? i.e. time of reading & sending one message from & to queue respectively( in tasks & in interrupt ). Time of getting semaphore if it is immediately available. Time of Stack switching, etc.

I also want to calculation parameters for task stack
so that I will vary much sure about my task design.
I know that I can calculate Stack Size by adding sizes of all variables in that tasks & addition of sizes of local variables within the functions called from it. But is there anything to be considered i.e sizes of local variables of RTOs functions or anything more to consider while calculating Stact Size.

Thanks,
Sachin D. Bhujbal

RE: Timing Details Of RTOs Calls

Posted by jp_r on May 1, 2009
For the timing details, maybe hookup a scope and sprinkle pin high/low commands around your code (or within the freertos functions).


You can use this first function to check stack usage:
http://www.freertos.org/index.html?http://www.freertos.org/uxTaskGetStackHighWaterMark.html

To catch overflows:
http://www.freertos.org/index.html?http://www.freertos.org/Stacks-and-stack-overflow-checking.html

RE: Timing Details Of RTOs Calls

Posted by Sachin Bhujbal on May 5, 2009
Thanks for Reply,
I know the above links for stack overflow checking.
But when we check Stack Sizes with function HighWaterMark.., etc, at that stage we must have completed design & implementation of our project.
So if I have to modify the stack size of some tasks, then if may reflect my design, so I want to know it before its design & implementation.
For Timings I will check it with pin toggling, etc.
Bye the way thanks for the reply.

Sachin Bhujbal



[ 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