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

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 ]    [ 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