PIC USB to VB.NET


Closed Thread
Results 1 to 40 of 54

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    4

    Wink Re: PIC USB to VB.NET

    Hi,
    I would like to put this firmware in my pic18f4550, but it doesn't compile. If you have some hex file for the same code pls post it. I want to give it a run on my pic.

    And for another matter at all, I want to use the previous pic with a wireless router (D-Link DI-524UP) and I want to know if there is any change necessary. Also, I think that the USB Print Server will complicate my life a bit. If anyone tried this before and has any experience with it, please share. The entire project is about a small boat controlled from laptop via the wireless router, and includes two DC motors (2 PWM signals) and one stepper. Any opinion will do. Tx a lot.


  2. #2
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: PIC USB to VB.NET

    Quote Originally Posted by mariacho View Post
    Hi,
    I would like to put this firmware in my pic18f4550, but it doesn't compile. If you have some hex file for the same code pls post it. I want to give it a run on my pic.

    And for another matter at all, I want to use the previous pic with a wireless router (D-Link DI-524UP) and I want to know if there is any change necessary. Also, I think that the USB Print Server will complicate my life a bit. If anyone tried this before and has any experience with it, please share. The entire project is about a small boat controlled from laptop via the wireless router, and includes two DC motors (2 PWM signals) and one stepper. Any opinion will do. Tx a lot.

    Crystal Ball, please tell me why the code doesn't compile with this user?
    Thanks and Regards;
    Gadelhas

  3. #3
    Join Date
    Mar 2011
    Posts
    4

    Default Re: PIC USB to VB.NET

    i got:
    error[180] usb18mem.asm116: RES directive cannot reserve odd number of bytes in PIC18 absolute mode
    warning [230] usb18mem.asm116: no memory has been reserved by this instruction

  4. #4
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: PIC USB to VB.NET

    Quote Originally Posted by mariacho View Post
    i got:
    error[180] usb18mem.asm116: RES directive cannot reserve odd number of bytes in PIC18 absolute mode
    warning [230] usb18mem.asm116: no memory has been reserved by this instruction
    Post your code.

    What is your PBP version? Also list the files that you have in your project directory.

    I works fine here without any error and warning.
    Thanks and Regards;
    Gadelhas

  5. #5
    Join Date
    Mar 2011
    Posts
    4

    Post Re: PIC USB to VB.NET

    PBP 2.60, micro code studio plus 3.0.0.5
    folder content: hd_hid260.pbp, PiCUSB.pbp and all files from c:PBP/usb18

    -- code removed --

    thank you for your help
    Last edited by Darrel Taylor; - 15th July 2011 at 03:25.

  6. #6
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Re: PIC USB to VB.NET

    The code that you posted is not the same as i post in the first post! The code that you post is the code to be included in the code that i post.
    Please copy past the code form the first post and try it!
    Thanks and Regards;
    Gadelhas

  7. #7
    Join Date
    Mar 2011
    Posts
    4

    Default Re: PIC USB to VB.NET

    i do copy-paste the first post code and includein the same folder the files from firmware.zip and all the files from usb18 folder
    compile and result: c:\pic\new\dt_hid260.pbp error line 25> bad BANK number

    sorry i`m not so good at this (trying to learn)

Members who have read this thread : 1

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