Problem with enumeration and EasyHID


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    14

    Default

    Well I changed the config files and took out the pause in the code. Still no enumeration. Could this be a hardware problem?

    I attached everything the same way as the 4550 pictured by easyhid, but just adapted to the 2550.
    Attached Images Attached Images  

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

    Default

    There's always a chance for a hardware problem. But that's a liitle hard to troubleshoot on this end.
    The schematic is good though.

    Just noticed you have a DEFINE LOADER_USED 1

    Are you using a bootloader?
    DT

  3. #3
    Join Date
    Apr 2007
    Posts
    14

    Default

    No im not, im using melabs pic programmer. Should I take out that define statement?

  4. #4
    Join Date
    Apr 2007
    Posts
    14

    Default

    Okay, Finally I got the thing to show up on the pc! A 1k pull up resistor needs to be put on D+ and Vsub!! I was under the assumption that there was an internal pull up resistor there. Maybe I didn't configure that in the code.

    Well Thanks for everyones help so far.

    The windows doesnt recognize the device tho. So it wont enumerate as an HID device yet.
    Last edited by jizyjuice; - 7th April 2007 at 23:40.

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

    Default

    There are internal pull-ups. And EasyHID configures them for Full-Speed, so you shouldn't need external ones.

    Did you use all the configs from post #11?

    In particular _VREGEN_ON_2L.

    Your original configs had that turned OFF, just want to make sure it's turned ON now.

    Should I take out that define statement?
    It doesn't really matter, it's fine even if not using a bootloader. But if you were using a bootloader it may have caused problems with the config settings, so I thought I'd ask.

    DT

  6. #6
    Join Date
    Apr 2007
    Posts
    14

    Default

    I used the config code from post 11, but _BORV_2_2L and _FCMEN_OFF_1H dont seem to be define for the 2550, so I took them out.

    Is there another file i need to include to get these fuses to work correctly?

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

    Default

    You still have MPASM 5.02 so it's _FCMEM_OFF_1H
    That'll change after you upgrade MPASM.

    _BORV_2_2L is defined for the 2550. I can see it in the .LST file in your .ZIP in post #10
    Can't image why there would be a problem with it. But since it's in the same line as _VREGEN_ON_2L, it makes me wonder if there's something else wrong with that line which caused the error.

    DT

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