• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Anyone played with CDC??

Not open for further replies.

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
I have a setup running... Lazarus on the PC and a PIC32 running a whole heap of stuff.... I have setup a CDC virtual com port and I can talk between the two!!!!!

However!! there is always something not documented!! If I send a string -> 64 bytes from the pic32 I send it in the USB buffer easy peasy!! From the PC side each character sent seems to be in buffer[0]... I can't seem to find out how to fill the entire 64 bytes on the PC side.... It seems a waste to just send 1 byte and 63 empty ones...

Any ideas... If I can't then I'll just find a HID interface for Lazarus...
Not open for further replies.

EE World Online Articles