 |
www.elektronik.si Forum o elektrotehniki in računalništvu
|
| Poglej prejšnjo temo :: Poglej naslednjo temo |
| Avtor |
Sporočilo |
tpek Neznanec

Pridružen-a: Tor 28 Okt 2008 3:27 Prispevkov: 1 Aktiv.: 0.00 Kraj: United Kingdom
|
Objavljeno: Tor Okt 28, 2008 3:33 am Naslov sporočila: PIC 18F4550 USB to comm using CDC problem |
|
|
Helo all,
We are currently in a project involving data aquisition to a PC with the PIC 18F4550.
Data is send to the PC via USB port but PC must see a virtual comm port. Microchip offers standard library, CDC for doing so. Standard Windows driver is also used.
A simple program (just periodically send fixed data to the PC) works fine, but in a few seconds (randomly) packets are no more received.
I will apreciate a lot, if someone can provide me information on proper use of CDC or any other virtual comm port generation with USB-PIC; that is sample programs (are no being provided by microchip), known bugs, etc.
Thanks a lot for your time |
|
| Nazaj na vrh |
|
 |
matjazkariz Član


Pridružen-a: Sre 03 Nov 2004 18:09 Prispevkov: 1026 Aktiv.: 4.15
|
Objavljeno: Tor Nov 04, 2008 2:01 pm Naslov sporočila: |
|
|
Hi,
have you tried using CDC version 1.2 or older one? I have succesfully implemented the code to a PIC18F4550. Some time ago I had the intention to migrate the code to smaller 18F2550 but to no avail.
Anyway check the hardware, build with the last library, program with the right configuration and it should work...
You can also check the two projects below which work fine with me:
http://www.sixca.com/eng/articles/usbdaq/index.html
http://www.sixca.com/eng/articles/usb_cdc/ _________________ LP, Matjaž |
|
| Nazaj na vrh |
|
 |
|
|
Ne, ne moreš dodajati novih tem v tem forumu Ne, ne moreš odgovarjati na teme v tem forumu Ne, ne moreš urejati svojih prispevkov v tem forumu Ne, ne moreš brisati svojih prispevkov v tem forumu Ne ne moreš glasovati v anketi v tem forumu Ne, ne moreš pripeti datotek v tem forumu Ne, ne moreš povleči datotek v tem forumu
|
Uptime: 233 dni
Powered by phpBB © 2001, 2005 phpBB Group
|