PaulK
Joined: 08 Dec 2004 Posts: 2 Location: Norfolk, UK
|
USB Development Kit |
Posted: Fri Nov 03, 2006 10:25 am |
|
|
I've been using the CCS USB Development Kit and so far everything has worked fine with PCWH V4.013 and ICD-U40.
Now I would like to write my own PC application to communicate with the USB PIC. This would be a replacement for the OScope example. However, the OScope example is written in a form of Pascal whereas I would like to write in MS C++ (.NET).
I think I am right saying that I can use the same USB Bulk Driver as supplied by CCS, but I'm not sure how to connect to it. The OScope example opens a '\\.\BulkUSBDemoDevice0' file and does fairly standard reads/writes on it. Is this the way to do it?
I've tried opening the file but this has always failed so far. Is there a particular open mode, share mode, permission mode to use?
Thanks
Paul |
|