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.
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.