Content originally posted in LPCWare by mrob on Mon Oct 22 16:47:30 MST 2012 Hello,
Has anyone here had success using the nxpUSBlib VirtualSerialDevice demo? I'm using v0.97 of the nxpUSBlib, and I'm having some issues.
I have a simple Visual Basic terminal program that has been working great for a few years. When I open the virtual com port from my device, communication seems to work just fine. The issue is when I try to close the port, I get an exception "IOException was unhandled" "A device attached to the system is not functioning."
From some testing, this only seems to be an issue if I send more than 8 bytes to the port at one shot. If I send a string of 8 or less the port closes fine, but if I send 9 or more I get the error.
Content originally posted in LPCWare by hoangdat.tran on Mon Apr 07 09:53:20 MST 2014 You can change #define ROMDRIVER_CDC_MEM_SIZE0x08 (in file Endpoint_LPC11Uxx.h) to #define ROMDRIVER_CDC_MEM_SIZE0x64
Content originally posted in LPCWare by nxpUSBlib team on Wed Nov 07 13:27:59 MST 2012 Which part and which compiler are you using? What is the baud rate?