New Mecanique USB HID maker


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Saltburn by the Sea
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    > USBService is not in the PIC BASIC Pro manual? I wonder
    > how we're supposed to get this instruction? A patch to
    > our compiler?

    USBService is available with the latest version of PBP (2.46)

  2. #2


    Did you find this post helpful? Yes | No

    Default Assembler errors

    I have downloaded MPASM 4.01 as directed by MELabs.

    When I try to program the PIC4550 from MCS+ I get three errors:

    Error[173]c:\progra~1\mecani~1\easyhid\test\picbas~1\test.as m77: Source file path exceeds 62 characters (C:\PROGRAMFILES\MECANIQUE\EASYHID\TEST\PICBASICPR O\USBDESC.ASM)

    The other two messages are the same but end in \DESCTEST.ASM and \USB18MEM.ASM

    Ideas anyone?

    I am using XP pro, PBP 2.46, MCS+ 2.1.08.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    MPASM chokes if the file path is too long. Just create a directory like say
    C:\PBP\MYUSB and place your USB project files in there to get rid of this error.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4


    Did you find this post helpful? Yes | No

    Smile Source file path too long

    Thanks for your reply Bruce.

    You have confirmed that the error messages were in fact meaningful and I now understand that a shorter path must be acheived to remain within the parameters of MPASM.

    As to the suggested fix, you should remember that you are so far ahead of me in all of this that you are almost over the horizon! I can create a folder as you suggest and maybe even put the correct files into it but in doing so I would be stepping out of the cosseted realm of my IDE.

    I want to write my code and then click the compile & program button achieving the result with no manual intervention.

    The long path that is defeating MPASM comes from my slavish following of instructions. What I now need are some new instructions on how to modify my setup to automatically yield a path of acceptable length.

    Thanks again & regards,

    Brian.

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Brian,

    With EasyHID, on the 4th screen, just edit the location for all files to be deposited in.

    I just loaded a complete ready to install software application on our website with all PBP/asm files. I've included the .hex file for folks that may not yet have PBP v2.46 so thay can experiment with it.
    http://www.picbasic.co.uk/forum/showthread.php?t=2073

    You do not need VB. The software is ready to install & run. Just wire up an 18F4550 as shown in the EasyHID schematic, and hookup a pot to RA0 to use it.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 14:43
  2. USB hid maker help please.
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd April 2013, 15:49
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 21:17
  4. USB MSD with HID code ?
    By Chris Barron in forum USB
    Replies: 1
    Last Post: - 11th November 2009, 18:33
  5. Replies: 0
    Last Post: - 6th March 2009, 08:52

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