HID USB Multimedia Keypad


Closed Thread
Results 1 to 32 of 32

Hybrid View

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

    Default Re: HID USB Multimedia Keypad

    I have not heard of any changes . Not sure why there would be.
    Which file are you looking at?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    I converted my project to the new format and everything was ok so I went ahead and added the section for the Endpoint 1 In. Once I added it I started getting 'Block overflow for ENDASM'.

    I went over and over the ASM code in the descriptor and nothing was wrong. I removed an equal amount of comment lines and it compiled ok. I continued to do the same thing but ran out of comment lines I could remove, My full USB Descriptor file is quite big and I can't even finish getting all of the first endpoint code in before getting the error.

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

    Default Re: HID USB Multimedia Keypad

    I am afraid you are beyond me. I have not written my own descriptor file Sorry.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    Wierd thing is it works fine if i use the old method but still compile for PBP 2.60, its just the new method of putting the descriptor in a BAS file as an include that does not work.... I guess I will just stick to the old method for now.

    Must but a problem with PBP itself, I hope they fix it.


    P.S.: Just wanted to let you know that the interrupt method you gave me (the instant one) works wonders, I moved the button press code to interrup also and works perfectly, thanks so much
    Last edited by pmacleod; - 13th February 2011 at 01:28.

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

    Default Re: HID USB Multimedia Keypad

    There is a limit to the number of characters in a single ASM block (includes comments and spaces/tabs).

    You can just start a new block when you reach the limit ...

    Code:
    ENDASM
    ASM
    Last edited by Darrel Taylor; - 13th February 2011 at 19:07.
    DT

  6. #6
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    All I can say is WOW, thanks so much, you are an absolute genius

    I searched and search the new PBP 2.60 manual and did not see any mention of that and would have never guessed that was the cause.

    Again thanks. Oh and great job on your Interrupt routines, works wonders

  7. #7
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109

    Default Re: HID USB Multimedia Keypad

    Here is the finished code and schematics if anyone is interested, enjoy
    Attached Images Attached Images  
    Attached Files Attached Files

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