PIC18F14K50 USB Not Working


+ Reply to Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612

    Default Re: PIC18F14K50 USB Not Working

    Does that short piece of code (with different CONFIG of course) really compile for the 18F4550 but not for 18F14K50?

    There really isn't much actual code there is it?
    I see no USBINIT or anything so it might be that the USB libraries aren't included by PBP during compile time and therefor the variables that the assembler is looking for isn't being declared.

  2. #2
    Join Date
    Aug 2011
    Posts
    453

    Default Re: PIC18F14K50 USB Not Working

    +1

    What is "Include "descript.bas"?

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133

    Default Re: PIC18F14K50 USB Not Working

    maybe he meant

    Include "hid_desc.bas" ?

    Ioannis

  4. #4
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699

    Default Re: PIC18F14K50 USB Not Working

    Quote Originally Posted by Ioannis View Post
    maybe he meant

    Include "hid_desc.bas" ?

    Ioannis
    Hmm, it works with the "hid_desc.bas" include. The descript.bas file is part of a HidMaker package that I bought before. Apparently, this descript file was made only for the 18F4550. Unfortunately, HidMaker went out of business. His owner Dr. Bob is not even responding to the emails. It is a shame to see a great program like HidMaker to close.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133

    Default Re: PIC18F14K50 USB Not Working

    Maybe the syntax of the descript file is different than the one expected?

    Anyway it is a pity to see that company shutdown.

    People are getting old, retired or even die...

    Ioannis

  6. #6
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699

    Default Re: PIC18F14K50 USB Not Working

    Quote Originally Posted by Ioannis View Post
    Maybe the syntax of the descript file is different than the one expected?

    Anyway it is a pity to see that company shutdown.

    People are getting old, retired or even die...

    Ioannis
    Also, PBP is getting less popular everyday. I'm going to have to dust off my C language skills again because I think that's what people are using the most today to program the PICs.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133

    Default Re: PIC18F14K50 USB Not Working

    I hate to admit it but yeah, that is very true. We all should do that.

    But I also hate C...

    Ioannis

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133

    Default Re: PIC18F14K50 USB Not Working

    I hate to admit it but yeah, that is very true. We all should do that.

    But I also hate C...

    Ioannis

  9. #9
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699

    Default Re: PIC18F14K50 USB Not Working

    Quote Originally Posted by HenrikOlsson View Post
    Does that short piece of code (with different CONFIG of course) really compile for the 18F4550 but not for 18F14K50?

    There really isn't much actual code there is it?
    I see no USBINIT or anything so it might be that the USB libraries aren't included by PBP during compile time and therefor the variables that the assembler is looking for isn't being declared.
    Yes, it compiles for the 18F4550 even without the config lines.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Similar Threads

  1. PIC18F14K50 USB Keyboard firmware
    By ScumariTec in forum USB
    Replies: 0
    Last Post: - 27th January 2021, 10:29
  2. Pic18f14k50
    By JoeyWallice in forum mel PIC BASIC
    Replies: 2
    Last Post: - 23rd October 2012, 11:13
  3. Pic18f14k50
    By JoeyWallice in forum mel PIC BASIC
    Replies: 1
    Last Post: - 17th October 2012, 02:16
  4. USB with 20 pins anyone? PIC18F14K50 issues
    By ScaleRobotics in forum USB
    Replies: 6
    Last Post: - 17th July 2009, 15:39
  5. Replies: 6
    Last Post: - 5th November 2008, 11:30

Members who have read this thread : 11

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