USB CDC Communications for Dummies!


Closed Thread
Results 1 to 40 of 105

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: USB CDC Communications for Dummies!

    If the correct driver is not there the PC will not ding dong. It will just sit there or if you are lucky it will say it does not know what is plugged in. If you have PBP 2.6 you hqve the file needed for win 64. I think.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: USB CDC Communications for Dummies!

    Well I have PBP 2.6C, So I think I must have all the proper files. I copied the entire contents of the USB18 folder to a new folder. started MCS, selected PIC18F67J50. Opened cdc_demo.pbp from the new folder. Hit compile, all was fine. programed chip. plugged in USB and waited. for at least 10 seconds. no indication from PC that I had plugged it in.

    Now I listed these step just to be clear that is ALL I did. If I need to move a .inf file somewhere, or anything else like that, I have not done it.

    On a side note, thought I would distract myself by installing VB 2010 express. Well that has also been FAIL! I am thinking I need to throw all this new crap in the trash and bust out an old dos machine. (yes I have some) I bet PBP will even run on that.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: USB CDC Communications for Dummies!

    Found this on another forum:
    The Microchip pic67j50 has a different USB ram location to standard USB devices. I know Les did do a conversion of the USB code for me and I got it to work with basic hid and CDC
    Not sure if this could have anything to do with this. But at least I have a new place to look. Here I come RAM
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  4. #4
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: USB CDC Communications for Dummies!

    Well some success today! Thanks to Walter (scalerobotics) and post #57 of this thread, I have a working CDC on a 18F47J53.

    I am not sure I will keep trying to get this to work on the PIC_LCD3310, I will play with this for a while I think.

    Thank you all who helped with this VERY painful task.

    BTW, what speed should I think my "COM" port is running at, any ideas?
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: USB CDC Communications for Dummies!

    Just curious about post 57. What helped?
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: USB CDC Communications for Dummies!


    I ment post 54!

    Sorry for the confusion
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: USB CDC Communications for Dummies!

    Back to your question about speed....
    I think it runs at USB speeds....

    Universal Serial Bus Features:
    • USB V2.0 Compliant
    • Low Speed (1.5 Mb/s) and Full Speed (12 Mb/s)
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  2. One USB keyboard to Two USB Ports
    By picnaut in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th June 2009, 00:04
  3. USB CDC help..
    By jchandir in forum USB
    Replies: 6
    Last Post: - 22nd November 2008, 21:23
  4. Replies: 4
    Last Post: - 5th November 2008, 16:21
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts