PICcoder.co.uk Forum  


::post new topic::
usb port
Date: 2006/04/11 00:52 By: Sandy Status: Visitor  
 
Hi
May be my question doesnt been in this forum, but please anyone know about what I need give me information
here the question:
I want to use the USB Demo PC Code to use it in my project
only will use the C# code that responsible for control usb port, can I make that??
and can you give me the useful function in C# that you use it to control usb port, please
reply | quote

Re:usb port
Date: 2006/04/11 10:02 By: Mat Status: Admin  
Karma: 7  
Posts: 211
graphgraph
The C# code will only talk to PIC based usb devices. I dont think there is a general piece of code for C#, or any language.
Mat
reply | quote

Re:usb port
Date: 2006/04/11 14:01 By: Chips Status: User  
Karma: 2  
Posts: 17
graphgraph
Hallo

You have to develop individual drivers that match the protocols expected by whatever you have plugged in. Thats why the microchip stuff comes with firmware for the PIC (one end of the USB comms) and a dll library for the PC (the other end of the comms).

As an aside if you're interested in generic USB control have a look at the windows driver development kit. It depends what thing your are plugging into the USB port and what you are trying to do exactly.

http://www.microsoft.com/whdc/devtools/ddk/default.mspx
and
http://www.microsoft.com/whdc/system/bus/usb/USBFAQ_intro.mspx

Leastways thats my understanding being a relative newcomer to PIC land.

Chips
reply | quote

Re:usb port
Date: 2006/04/13 20:25 By: Sandy Status: Visitor  
 
thanks for your replies
can I know what you are mean with this sentences -it appears at the beginning of the article-:
on board USB interface on the PIC to communicate with PC
what is the on board usb interface??
and if I can build it without purchase it??
please answer
reply | quote

Re:usb port
Date: 2006/04/13 21:08 By: Mat Status: Admin  
Karma: 7  
Posts: 211
graphgraph
Hi, I mean - The PIC has a USB transciever inside it, it is part of the PIC! So if you have a usb PIC (e.g. PIC18F4550 then you have it!) Mat
reply | quote

Re:usb port
Date: 2006/04/16 17:18 By: Sandy Status: Visitor  
 
Hi
please can I know what are you mean by the term "firmware"??
please give the right mean for it???
reply | quote

Re:usb port
Date: 2006/04/16 18:55 By: Mat Status: Admin  
Karma: 7  
Posts: 211
graphgraph
This is the software which runs on the PIC.

Mat
reply | quote

::post new topic::