Content originally posted in LPCWare by nils28 on Wed Mar 13 09:37:20 MST 2013Hi !I have some problems testing VirtualSerialDevice Example from LPCOpen platform. I have imported this example in RedSuite to test it on Hitex board LPC4350 and did some modifications to use CMSISv2p10_LPC43xx_DriverLib and LPCUSBLib (v0.51) libraries. The software runs in SPIFI.First of all, I tried to test the echo task using USB ROM Driver. On my PC, it works very well with TeraTerm. When I press one button on my keyboard, it is well echoed on TeraTerm window. I then develop a C++ software (with Visual Studio) which can communicate through COM Port and send frames to the LPC4350. The problem is that the LPC receive well the frame sent by PC (data are in recv_byte buffer) but it does not send it back: my C++ software does not receive anything…I have modified Virtual Serial source to send a char every 100ms to COM port (using UsbdCdc_SendData() ). TeraTerm print well characters but my C++ do not receive them.Is there a problem with the USB CDC descriptors ? Or with the .inf file from the example ? What is the incompatibility ?I’ve noticed that the example does not work with PuTTy terminal : when I open the port, it says “Unable to open connection to COM4, Unable to configure serial port”. Is it normal ?Thanks for your answer.Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: LPCUSBlib%20VirtualSerial.inf_.txt.zip
Original Attachment has been moved to: Descriptors.c.zip