Quality RTOS & Embedded Software

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


FreeRTOS CDC.inf issue on Windows

Posted by Liam Staskawicz on January 6, 2007
Using a very slightly modified version of the FreeRTOSCDC.inf file, I'm having trouble working with a SAM7X running FreeRTOS from a Windows app - I can open, read from, write to, and even close the USB connection successfully, but the one case in which it seems like the driver is not quite working is when the device is unplugged - subsequent calls to ReadFile() do not fail as I would hope/expect, but rather return with 0 bytes read. Not knowing when the device is going to be unplugged, I'd ideally like to close the connection once a read fails, but I'm not able to in this case. When the device is then reconnected, my app is in the wrong state.

Has anybody else experienced anything like this? Thanks for any tips.

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

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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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