Quality RTOS & Embedded Software

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


Loading

USB Driver and USB Stack Support

Posted by lisa_sangu on October 9, 2012
Hi All,

Does FreeRTOS support USB Driver and USB Stack ?
Can you please give info about the same ? Or any Link ?

Regards
Lisa

RE: USB Driver and USB Stack Support

Posted by Erich Styger on October 9, 2012
Hello,
FreeRTOS is really not depending on an USB stack or driver: it is more about if a USB stack would use the RTOS interface (mutex, memory allocation) if it is using it at all.
But I can say that I'm using FreeRTOS with USB stacks (both FSL and CMX stacks) in several designs:
http://mcuoneclipse.wordpress.com/category/processor-expert/embedded-components/usb/

Erich

RE: USB Driver and USB Stack Support

Posted by lisa_sangu on October 9, 2012
Dear Erich,

Thank you for quick reply.

1) Is there any memory information need to be considered for USB Driver or stack ?
2) If yes, what is the memory requirement for USB stack / drive ?
3) you have mentioned that you have supported USB stack.. Did u support USB drivers using FreeRTOS ?

Regards
Lisa

RE: USB Driver and USB Stack Support

Posted by Erich Styger on October 9, 2012
Hi Lisa,
this really heavily depend on the USB stack, the USB protocol you are using, and of course of the microcontroller.
I can tell that I have an USB CDC stack application running on an ARM Cortex M0+ with gcc, and needs about 20 KByte of Flash and 3 KByte of RAM. But again: this heavily depends on many factors, but should give you a ballpark.
And yes, it works seamlessly with FreeRTOS.

Hope this helps,
Erich

RE: USB Driver and USB Stack Support

Posted by lisa_sangu on October 9, 2012
Dear Erich ,

Let me put my understandings below, .. please tell me whether they r correct

1) FreeRTOS supports USB driver and USB stack
2) If microcontroller has these features, FreeRTOS can support these features without any issues

Regards
Lisa

RE: USB Driver and USB Stack Support

Posted by lisa_sangu on October 9, 2012
and i also read tat , "FreeRTOS have their USB Stack software but they are not free " !!!!!!!!!!! is this true ??

RE: USB Driver and USB Stack Support

Posted by Erich Styger on October 9, 2012
Hi Lisa,
1) FreeRTOS is a RTOS. There is nothing in my view which would prevent it to use it with an USB stack (or any other software or stack) as long they well-behave.
2) If your microcontroller has USB, and you have a FreeRTOS port for it, and you have an USB stack for it, and if this USB stack does not something dramatically different from what I used to see as USB stacks, then it should be possible to have them combined.
3) All of the above heavily depend on which microcontroller, RTOS port and USB stack. You need to verify it with what you plan to use.
4) Some vendors might bundle their USB stack with FreeRTOS. And this might not be free of charge.

What I can say for myself:
a) I have the Freescale CMX USB HID stack running with Freescale ColdFire and FreeRTOS (e.g. in http://mcuoneclipse.wordpress.com/2012/08/14/timing-system-in-a-lunch-box/)
b) I have the Freescale USB CDC stack running on multiple devices, from 8bit S08 to 32bit ColdFire and Kinetis ARM (both Cortex-M4 and Cortex-M0+)
Both USB stacks can be downloaded free of charge from the Freescale website (licensing terms apply, as they are not open source, but they are provided free of charge for Freescale devices). Other silicon vendors have similar offerings.

I hope this helps,
Erich

RE: USB Driver and USB Stack Support

Posted by lisa_sangu on October 10, 2012
Dear Erich,

Thank you very much for detailed information provided . It is very useful to me.

Regards
Sangeeth


[ 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