Quality RTOS & Embedded Software

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


Loading

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


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

Latest News

Version 10.1.0 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