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


Thanks to All!

Posted by rog57 on June 6, 2013
Just a note to say my project is finally complete. I've successfully integrated FreeRTOS with IAR's VisualSTATE tools where they co-exist peacefully and run the system like a fine tuned machine.

Thanks to Richard for an incredible product and support, and all others who have given their time to answer my queries and help out.


RE: Thanks to All!

Posted by Westmoreland Engineering on June 18, 2013
Hello Gary,

Which toolset do you have from IAR?
I have been wanting to do this as well - do you have a procedure on how to do what you've accomplished?

Thanks In Advance,
John Westmoreland

RE: Thanks to All!

Posted by rog57 on June 26, 2013
Hi John,

I found it fairly straightforward to do, so you need to have used both tool sets to some degree already!
It's really as simple as creating at least on task in FreeRTOS as the "visualState" handling task, and should be running at an interval appropriate the the events occurring in your application. Mine runs at 243ms. I pick task numbers that don't occur at even intervals with others. 8~0
When created this task will handle the vS events generated by your state machine, or you can "throw" events. You'll create a "vS User" module of C/C++ functions that are "action functions" that are called upon specific events occurring. Within these action functions are then perhaps calls into various FreeRTOS functions, such as queue creation, task creation, etc. For asynchronous messaging, I found the FreeRTOS queue mechanism very good and reliable.
The only other note of caution is adjusting stack sizes appropriately. if you get mysterious crashes (or, WDT timeouts as I use the WDT on mine) start looking to task sizes. Another is task pointers; find a method to track them as they can cause grief if not managed right (as you may already know)


[ 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