CDC Assistance


Closed Thread
Results 1 to 9 of 9

Thread: CDC Assistance

  1. #1
    Join Date
    Nov 2008
    Posts
    12

    Default CDC Assistance

    Hi I have followed the advice on the following thread for cdc for dummies...
    http://www.picbasic.co.uk/forum/showthread.php?t=5806

    I made sure it complied correcly for a PIC18F2450, and then loaded it onto the PIC

    once plugging in the usb, it says that the device malfunctioned and that it could not recognise the device.

    Attached is a schematic of the device, except that i am using a PIC18F2450 instead of the one on the schematics, but the pinning is exactly the same.
    Also attached is the hex and codes used to load onto the PIC....

    Any Help of where to find the issue would be of great help!

    Thanks
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    Working for me here with a 18F2455.

    High likely an hardware problem, device programmer problem, or both.

    Install USBDeview, with it, uninstall the generated PIC18 USB CDC device, then reinstall the "driver".
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Nov 2008
    Posts
    12

    Default

    Quote Originally Posted by mister_e View Post
    Working for me here with a 18F2455.

    High likely an hardware problem, device programmer problem, or both.

    Install USBDeview, with it, uninstall the generated PIC18 USB CDC device, then reinstall the "driver".
    How would i know if it is a device or programmer problem (I'm using a JDM programer) http://www.instructables.com/id/Busi...IC-Programmer/
    and using a winPIC programmer software.

    And for the use of USBDeview, there is nothing there with regards to PIC18.....

    Thanks

  4. #4
    Join Date
    Nov 2008
    Posts
    12

    Default

    Also just thinking would there be a possible issue with the cdc code if the chip has less memory? since the PIC18F2450, the one i am using, has like half the memory of the PIC18F2455, the one that is working on your side?

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

    Default

    Quote Originally Posted by ricgar View Post
    How would i know if it is a device or programmer problem (I'm using a JDM programer)
    Can you make the chip do anything, blink an LED?
    Some JDMs have trouble with 18Fs. JDM is not the recommended one here. To many troubles.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2008
    Posts
    12

    Default

    Any other suggested DIY programmer?

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    Not really, the only cheap one I would suggest is MicroChip PICKIT 2... but this is not a DIY.

    Maybe your Device programmer Software have an option to program or not program the configuration fuses? The led blink is usually a good start.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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

    Default

    Quote Originally Posted by ricgar View Post
    Any other suggested DIY programmer?
    Go with the PICKIT2. By the time you get the parts for a DIY kit, time spent trouble shooting why it does not work, visits to your therapist or local bartender. The $35 USD plus shipping is looking pretty good.
    Dave
    Always wear safety glasses while programming.

  9. #9
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    I don't know if this could help in case it's a device programmer issue...
    http://members.aon.at/electronics/pic/picpgm/
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. USB CDC help..
    By jchandir in forum USB
    Replies: 6
    Last Post: - 22nd November 2008, 21:23
  3. Paid assistance needed, 16F877A, RS232, Vetra
    By CodeShredder in forum General
    Replies: 2
    Last Post: - 17th May 2008, 10:34
  4. CDC and Hardware Handshaking
    By Squibcakes in forum USB
    Replies: 1
    Last Post: - 9th November 2007, 05:08
  5. Microchip CDC Firmware with My OWN VID/PID ?
    By viewgsm in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th June 2007, 02:33

Members who have read this thread : 1

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