Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

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.

Gary

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)

Regards,
Gary



[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner