Neil_K
 
Reged: Mar 09 2005
Posts: 382
Loc: NY,USA
|
|
fordp I see this is a Port of Version 1.0 of the Microchip Libraries. What is you opinion for a new project (HID Keyboard). Port the new libraries using your code as a guide. Or stick with your code?
|
aman
stranger
Reged: Dec 04 2007
Posts: 2
|
|
Hi!! I am a bit confused .
Is this program to run USB communication or emulation of RS232 with USB port?
Aman
|
fordp
  
Reged: Feb 05 2005
Posts: 21
Loc: Kent, England
|
|
I am sorry to say, I think there is no easy way to port the Microchip HID example.
I have proved with my port that Microchip could have easily targeted all PIC compilers with the same source code. My port still builds on Microchips compiler as well as Hitech's.
It took me I would say 3 working days to port from the Microchip example to the Hitech compiler.
I have not looked at the latest Microchip examples but if they are basically the same as what I started with then it will not be that easy to get the HID example going.
I thought however there was a HID example posted in this very forum?
I am pretty much out of the loop with the latest Microchip stuff. I have moved on to other chips.
Good luck with your project.
-------------------- ================================================
FordP, from the Garden of England
|
Neil_K
 
Reged: Mar 09 2005
Posts: 382
Loc: NY,USA
|
|
Thanks for the Response. I guess that means I have a day and a half left when I get back to it. The Newer Microchip Library supports their newer chips ad has some bug fixes. I read some things on the net that says it has some limitation if you want to expand on it. But I have the tools here. Microchip seems funny on the C. Some of their dev kits look to be Hi-Tech only.
Are the other chips USB? How do they compare to Microchip?
|
RGB LED
stranger
Reged: Mar 08 2008
Posts: 1
|
|
Hii, I just got PIC18F4550 to work!
info here
Now i want to port it to PIC18F2550 coz its smaller.
Is there any difference for the config bits?
or the hardware, other than obvious pin swaps.
:crazy:
Edited by jtemples (Mon Mar 17 2008 05:23 PM)
|
Dan Henry
Guru
  
Reged: Oct 16 2003
Posts: 3387
Loc: Boulder, Colorado U.S.A.
|
|
If you are going to post a link (presumably to your site), please make sure it is functional. For now, it's broken.
|
jtemples
Guru
  
Reged: Oct 16 2003
Posts: 1339
Loc: Southern California
|
|
I've corrected the link.
|
John Payson
  
Reged: Oct 16 2003
Posts: 794
|
|
I ported the code from http://www.htsoft.com/forum/all/showthreaded.php/Cat/0/Number/22082/page/0/vc/1 to the PIC18F87H50. I flattened the directory structure to make things nice for command-line codgers like myself. I'm not totally happy with the new structure, but it's a lot more manageable than the old one.
To recompile, just type M. It will probably be necessary to change M.BAT if your C compiler is something other than 9.51, but batch files still allow easier grab-and-go building than many other methods.
I'm not sure which patches that have been described elsewhere are incorporated into this code; if anyone tries to use it and has problems, please let me know by PM as well as forum post.
My next step will be to try to rework things for a more generic USB protocol.
|
Sharon
stranger
Reged: Aug 05 2008
Posts: 1
|
|
Hi, I'm trying to use your flattened code for an 18F65J50 chip. I've been having a lot of problems trying to get USB working with my system. When I plug in the USB cable, I get an error that says USB Device Not Recognized, so the computer is not recognizing it as a HID. I'm not sure how best to debug this issue, do you have any suggestions? Thanks.
|