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

OpenRTOS plugin for IAR Embedded workbench

Posted by Anuradha on April 5, 2012
Hello,

I am using Open RTOS with IAR Embedded workbench for STM32L.
While debugging using OpenRTOS plugging I have noticed the following issue.

I have a LEDTask on my application which I have assigned stack of size 48.
When I debug and examine, as the minimum free stack I noticed 64, which is greater than the stack I have allocated.

Can some body explain me what is happening here?

Thank you.

RE: OpenRTOS plugin for IAR Embedded workbench

Posted by jonathan on April 5, 2012
Hi,

Without code it's not easy to see. But 48 as a stack is in reality 48x4= 192 byte of Stack used. So 64 is probably correct in this case.

Jonathan

RE: OpenRTOS plugin for IAR Embedded workbench

Posted by Richard on April 5, 2012
If you are truly using OpenRTOS, then please use the OpenRTOS commercial support ticketing system rather than posting OpenRTOS related questions to the FreeRTOS support forum.

Regards.

RE: OpenRTOS plugin for IAR Embedded workbench

Posted by Anuradha on April 10, 2012
Thanks for your replies.

@ Jonathan:
Yes I agree with the fact the actual amount of stack allocated is 48* stack width of STM32. It is clearly mentioned in RTOS documentation.
The problem I am having is what is the actual amount of bytes remain free, when it is given that Min Free Stack = 32 in Free RTOS-OpenRTOS plugin for IAR Embedded wrokbench, what is the actual amount of bytes remaining?
Is it 32 or 32 * stack width of STM32?

@ Barry: I am truly using OpenRTOS. Ticket is opened and waiting for the reply.
Plugin is for both OpenRTOS and FreeRTOS. and IAR does not have supporting manual for the plugin.

Thanks.

RE: OpenRTOS plugin for IAR Embedded workbench

Posted by Richard on April 10, 2012
I would expect the stack high watermark in the plug-in to show the number of bytes remaining - but I'm not 100% sure.

Regards.

RE: OpenRTOS plugin for IAR Embedded workbench

Posted by Anuradha on April 10, 2012
Hi,
I received reply for my ticket :)

Thought of putting down some points here so that somebody else facing the problem would find it useful.

The FreeRTOS/OpenRTOS plugin reports the minimum free stack in bytes not in words.
As Barry expected plug in shows the stack high water mark.
There is an OpenRTOS application note for OpenRTOS plug in for IAR

Thank you.


[ 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