www.elektronik.si Seznam forumov www.elektronik.si
Forum o elektrotehniki in računalništvu
 
 PomočPomoč  IščiIšči  Seznam članovSeznam članov  SkupineSkupine  StatisticsStatistika  AlbumAlbum  DatotekeFilemanager DokumentacijaDocDB LinksPovezave   Registriraj seRegistriraj se 
  PravilaPravila  LinksBolha  PriponkePriponke  KoledarKoledar  ZapiskiZapiski Tvoj profilTvoj profil Prijava za pregled zasebnih sporočilPrijava za pregled zasebnih sporočil PrijavaPrijava 

PIC 18F4550 USB to comm using CDC problem

 
Objavi novo temo   Odgovori na to temo   Printer-friendly version    www.elektronik.si Seznam forumov -> Microchip PIC
Poglej prejšnjo temo :: Poglej naslednjo temo  
Avtor Sporočilo
tpek
Neznanec
Neznanec



Pridružen-a: Tor 28 Okt 2008 3:27
Prispevkov: 1
Aktiv.: 0.00
Kraj: United Kingdom

PrispevekObjavljeno: Tor Okt 28, 2008 3:33 am    Naslov sporočila:  PIC 18F4550 USB to comm using CDC problem Odgovori s citatom

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
Odsoten Poglej uporabnikov profil Pošlji zasebno sporočilo
matjazkariz
Član
Član



Pridružen-a: Sre 03 Nov 2004 18:09
Prispevkov: 1026
Aktiv.: 4.15

PrispevekObjavljeno: Tor Nov 04, 2008 2:01 pm    Naslov sporočila:   Odgovori s citatom

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
Odsoten Poglej uporabnikov profil Pošlji zasebno sporočilo
Pokaži sporočila:   
Objavi novo temo   Odgovori na to temo   Printer-friendly version    www.elektronik.si Seznam forumov -> Microchip PIC Časovni pas GMT + 2 uri, srednjeevropski - poletni čas
Stran 1 od 1

 
Pojdi na:  
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