Problem compiling EasyHID code


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    43

    Default Problem compiling EasyHID code

    Hi.
    I've just installed MPASM, PBP and MicroCode studio, and then I created a EasyHID project.
    But everytime I try to compile the project, it gives med the following errors:
    RES directive cannot reserve odd number of bytes in PIC18 absolute mode
    Error[180] c:\picprojects\usb\usb18mem.asm 116 : RES directive cannot reserve odd number of bytes in PIC18 absolute mode
    Warning[231] c:\picprojects\usb\usb18mem.asm 116 : No memory has been reserved by this instruction
    Error[180] c:\picprojects\usb\usb18mem.asm 117 : RES directive cannot reserve odd number of bytes in PIC18 absolute mode
    Warning[231] c:\picprojects\usb\usb18mem.asm 111 : No memory has been reserved by this instruction
    And so on....
    Anyone who knows what the problem is?

    Best Regards
    Thomas Jespersen

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


    Did you find this post helpful? Yes | No

    Default

    PBP's old USB files can't be used with the new versions of MPASM.

    The new version of PBP 2.60 has new USB files that will work with it. But if you're trying to compile an older USB program ... you have to make changes to the files being included, and create a new Descriptor, because the one's from EasyHID don't work with 2.60.

    Consequently, until David updates EasyHID, it's "Broke".

    If you go back to an earlier version of MPLAB/MPASM then you can still compile the EasyHID or other old USB programs with PBP 2.50 or previous.

    meLabs has MPLAB 8.15a on their website.
    http://www.melabs.com/support/mplab_old_versions.htm
    <br>
    DT

  3. #3
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Downgrading the MPASM solved the problem.
    Thanks

  4. #4
    Steveo2969's Avatar
    Steveo2969 Guest


    Did you find this post helpful? Yes | No

    Default

    HI,

    I'm currently using PBP 2.50c with MPlab 8.15a and MicroCode Studio Plus 3.0.0.5 and I want to upgrade to PBP 2.60 and the latest version of MPlab but i'm wondering if the problem still exsists when trying to compile older USB EasyHID code?

    Thanks

Similar Threads

  1. My first DT_INT code has a problem.....
    By E Kizer in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th April 2009, 14:37
  2. Weird code problem
    By Navaidstech in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th March 2009, 12:16
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  4. problem with my code
    By civicgundam in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd February 2008, 02:52
  5. Servo Code problem
    By ALFRED in forum General
    Replies: 1
    Last Post: - 2nd March 2006, 04:30

Members who have read this thread : 1

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

Tags for this Thread

Posting Permissions

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