USB issue - 18F4550


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: USB issue - 18F4550 - DT_HID260

    The Status LED's do not connect to the D+ or D- pins.
    You can use any pin besides those.

    And your problem is definately in the PC program you just posted.

    It does not update anything until it receives a report from the PIC.
    Even the clock in the bottom right corner only updates on each report from the PIC.

    If you make it so the PIC does not send anything, then the PC program will send updates.
    But as soon as the PIC sends something, the PC program will never send anything again.

    That program needs some serious work.
    Last edited by Darrel Taylor; - 20th February 2013 at 20:23.
    DT

  2. #2
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: USB issue - 18F4550 - DT_HID260

    Darrel,

    As stated, I didn't write the bulk of the code, as both it and the application was written by a friend, who said that back in 2006 it worked fine but on a different chip. I can confirm that he did indeed write the application to function in that way, ie the PIC sends data when it detects the USB connected and then sends updated data back once the update setting button is pressed. I agree a better approach would of been to have the application set the values and then simply update the PIC once the update button has been pressed. I could ask him if he still has the source code and if it can be modified to work that way.

    Thanks again for your input.

Similar Threads

  1. USB Electrical Layout?
    By wdmagic in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th March 2013, 12:04
  2. PIC USB in and USB Out
    By koossa in forum General
    Replies: 2
    Last Post: - 9th February 2013, 09:00
  3. 18F4550 issue
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 4th February 2013, 06:27
  4. Wake from sleep with USB Interrupt
    By kduck63 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th January 2013, 00:59
  5. Bidirectional Excel Data via USB
    By jmstrat in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd January 2013, 08:04

Members who have read this thread : 0

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