Pic 18f Usb


Closed Thread
Results 1 to 40 of 135

Thread: Pic 18f Usb

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Robert,

    Thank you.

    I'm using an 18F2550, since it's only 28 pins. Yes, I understand that it cannot be a USB host, which is why I am at a loss. What I am doing right now with somewhat positive results is programming for a keyboard device, then plugging the straight-wiring the keyboard to the host, then pulling power and data taps to the PIC. All is recognizing fine, except am working on finding the right host driver for this funky keyboard.

    Going to catch a train to Akihabara in a few minutes to pickup a generic USB keyboard and some other stuff.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by kirtcathey View Post
    Robert,

    Thank you.

    I'm using an 18F2550, since it's only 28 pins. Yes, I understand that it cannot be a USB host, which is why I am at a loss. ...

    Courtesy of Mister E, check out the PIC24 et PIC32 family.

    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Somebody at Mecanique was kind enough to get Microcode Plus to me so that I can now use EasyHID, but it doesn't work. I fo through all the dialogs, then in the last dialog I get Generation Error: Unable to locate device item.

    After reading other posts, I paid careful attention to the mfr name and product name, making sure there were no special characters. Am trying to create a USB device with an 18F2550,

    Any help is appreciated.

  4. #4
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default Is Mecanique Still In Business?

    I've had this EasyHID problem and nobody at Mecanique responds with support. One email arrived asking me to send in a screen shot... I sent the screen shot, which doesn't make sense since it is the same error that the EasyHID in the non-plus version of Microcode Studio gave, which is a version limitation (I thought).

    I purchased the plus version of Microcode Studio over two weeks ago and still don't have EasyHID working. What disgusts me, is that most software vendors these days at least have a troubleshooting FAQ about their products and these banchies don't even have a forum!

    This is from their web site:
    "We will respond to all complaints within one working day, usually the same day. We aim to resolve any complaints or problems within five working days. We will keep you informed and do our best to resolve the situation as quickly as possible."

    They have so far only replied to one email. I do not count the response to the WorldPay claim that I had to submit after waiting a week for a purchase/delivery confirmation.

    Yeah, yeah, they are busy or so-and-so has a bunch of projects. BS! So do I and I am trying to use their solution. Refund, refund, denial of credit charges.... hate to do that, but....
    Last edited by kirtcathey; - 12th January 2009 at 00:44.

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


    Did you find this post helpful? Yes | No

    Default

    I do not understand...
    MCS+ was purchased to have EasyHID?
    I have the version of MCS that comes with the compiler and EasyHID is there as Darrel mentioned.

    Maybe the problem is...elsewhere?
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=kirtcathey;68507]
    ...

    All is recognizing fine, except am working on finding the right host driver for this funky keyboard.

    ...QUOTE]


    Something tells me this might be a case of RTFM. When you say "funky keyboard", do you mean an uncommon keyboard that will run separately from the USB/PIC device? Or are you referring to the USB/PIC device itself?

    If you are referring to a keyboard not known by your operating system, I fail to see how Mécanique can be held accountable. But if you are referring to a custom PIC/USB device, doesn't EasyHID generate the code for the PIC as well as the code for the PC (driver)?

    I haven't used EasyHID in a long time, I've been using another USB code generation software so I might be getting them confused.
    Last edited by Demon; - 12th January 2009 at 01:17.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  7. #7
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Finding the right driver for the keyboard is irrelevant to EasyHID functioning or not. And I have USB devices working without EasyHID, but do not have EasyHID working. The keyboard issue was resolved minutes after that post. Please do not mix and try and match issues - RTFposting history - my questions about EasyHID have nothing to do with keyboards. Is there a manual, besides the cursory online help that offers no troubleshooting pointers, for EasyHID?

    And no.... EasyHID is now only available with the plus version of MCS. When you run it all the way to the end without the plus version, it says that it cannot find the device and that you have to upgrade.

    The unspoken truth about this matter, is that I have to resort to a forum to see if anybody knows what is going on.... or try and resolve this matter....

    I am selecting PicBasic Pro as my compiler, since that is the only thing available on the pull-down. Is this okay? Or, should I be selecting MPASM, which is not an available choice?
    Does the device need to be in the programmer and recognized before running EasyHID? Do I need to have the ICD working? Do I need to have MS VC++ or Delphi installed on the same system that will run EasyHID? Any help would be appreciated since I cannot rely on the software vendor.

    Robert Quote
    But if you are referring to a custom PIC/USB device, doesn't EasyHID generate the code for the PIC as well as the code for the PC (driver)?
    End Quote

    No. I need the PC side of the code and I want/paid for EasyHID to do it. No. EasyHID does not work as described in previous posts.
    Attached Images Attached Images  
    Last edited by kirtcathey; - 12th January 2009 at 02:14.

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


    Did you find this post helpful? Yes | No

    Default

    If I had a customer that was reporting me to credit card companies, and threatening to cancel payment unless I fix his problem NOW. I probably wouldn't be giving much help either. Although, I would just refund the money and say, go away.
    Like I said before ... be nice to him, and he'll respond.

    However, your problem appears to be related to EasyHID not being able to find the CodeGenerators.
    Did you accept the default folders during installation? Or did you change them?

    I can duplicate the error by hiding the CodeGenerators folder within EasyHID's folder.

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3101" /><!-- Name:  EasyHID_GenErr.JPG
Views: 3021
Size:  22.9 KB -->

    But in order to do that, the screen previous to the error looks like this, with many options greyed out.

    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=3102" /><!-- Name:  EasyHID_GenErr_Prev.JPG
Views: 2562
Size:  27.6 KB -->

    Does yours look like that as well?
    <br>
    DT

  9. #9
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Darrel,

    Thanks again. But I have been far less than demanding for NOW service on this issue. Two weeks, going on three weeks, have passed since purchasing the product and have only lodged one claim with WorldPay only after one week of the vendor not replying. As a consumer, I have not acted unreasonable. Like most consumers, after purchasing a product online, I like to have some kind of confirmation email from the vendor.

    How often have you purchased software and have not been able to use it for three weeks? I have gone through software challenges before, but the vendor at least offered some kind of direct support.

    All of the installation is default. The only difference is that I uninstalled the free version, rebooted, then installed the Plus version.

    Here is my screen before the errors screen, which does not look like that.
    Attached Images Attached Images  
    Last edited by kirtcathey; - 12th January 2009 at 03:29.

  10. #10
    Join Date
    Dec 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    With no further ado.... and for those poor souls that will need this solution in the future.....

    Go into the EasyHID program folder >> CodeGenerators folder and change the pbp.ini file so that the Target Folder is PBP (or whatever the name of your PBP program folder is).

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


    Did you find this post helpful? Yes | No

    Default

    Try this ...

    Instead of launching EasyHID from the IDE...

    Go to C:\Program Files\Mecanique\MCSP\EasyHID with "Windows Explorer" and doubleclick EasyHID.exe to start the wizard.

    Oops: too late.
    <br>
    Last edited by Darrel Taylor; - 12th January 2009 at 03:42. Reason: late
    DT

  12. #12
    dandyong's Avatar
    dandyong Guest


    Did you find this post helpful? Yes | No

    Default

    Hi all,

    Nice to meet you.

    I already have files generated by EasyHID.

    What I want is when PIC18F4550 detect High in any of its digital inputs, Firefox is run automatically.

    VB6 code to run Firefox for your reference.
    Private Sub Form_Load()
    Shell "C:\Program Files\Mozilla Firefox\firefox.exe", vbNormalFocus
    End Sub

    Just don't know how to write the part to detect HIGH in digital inputs of PIC18F4550.

    Please send me the complete PIC source code & VB 6 source code for the above scenario to my email below.
    [email protected]

    I really appreciate your help.

    Thanks and best regards.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 14:43
  2. Reading a slave USB with a pic
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th October 2008, 13:00
  3. Replies: 15
    Last Post: - 30th October 2007, 20:25
  4. USB communication with pic
    By Shamir in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th August 2006, 00:43
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 18:39

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