PICmicro & dsPIC >> Source Share for PICmicro & dsPIC

Pages: 1 | 2 | 3 | 4 | 5 | (show all)
Neil_K

***

Reged: Mar 09 2005
Posts: 382
Loc: NY,USA
Re: CDC USB Serial Demo on 18F4550 port to Hitech [Re: fordp]
      #30755 - Tue Nov 20 2007 09:31 PM

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?


Post Extras: Print Post   Remind Me!   Notify Moderator  
aman
stranger


Reged: Dec 04 2007
Posts: 2
Re: CDC USB Serial Demo on 18F4550 port to Hitech [Re: fordp]
      #31187 - Thu Dec 13 2007 02:42 AM

Hi!!
I am a bit confused .

Is this program to run USB communication or emulation of RS232 with USB port?

Aman


Post Extras: Print Post   Remind Me!   Notify Moderator  
fordp

****

Reged: Feb 05 2005
Posts: 21
Loc: Kent, England
Re: CDC USB Serial Demo on 18F4550 port to Hitech [Re: Neil_K]
      #31872 - Mon Jan 21 2008 04:02 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
Neil_K

***

Reged: Mar 09 2005
Posts: 382
Loc: NY,USA
Re: CDC USB Serial Demo on 18F4550 port to Hitech [Re: fordp]
      #31922 - Mon Jan 21 2008 08:12 PM

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?


Post Extras: Print Post   Remind Me!   Notify Moderator  
RGB LED
stranger


Reged: Mar 08 2008
Posts: 1
Re: WORKING! CDC USB Serial Demo on 18F4550 port to Hitech [Re: Sammy]
      #42152 - Sun Mar 09 2008 12:04 AM

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)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Dan HenryModerator
Guru
****

Reged: Oct 16 2003
Posts: 3387
Loc: Boulder, Colorado U.S.A.
RGB's link in need of repair [Re: RGB LED]
      #42192 - Sun Mar 09 2008 08:09 PM

If you are going to post a link (presumably to your site), please make sure it is functional. For now, it's broken.

Post Extras: Print Post   Remind Me!   Notify Moderator  
jtemplesModerator
Guru
****

Reged: Oct 16 2003
Posts: 1339
Loc: Southern California
Re: RGB's link in need of repair [Re: Dan Henry]
      #44162 - Mon Mar 17 2008 05:24 PM

I've corrected the link.

Post Extras: Print Post   Remind Me!   Notify Moderator  
John Payson

****

Reged: Oct 16 2003
Posts: 794
Ported mouse code to 18F87J50; flattened directories [Re: fordp]
      #48502 - Wed Apr 02 2008 05:30 PM Attachment (110 downloads)

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Sharon
stranger


Reged: Aug 05 2008
Posts: 1
Re: Ported mouse code to 18F87J50; flattened directories [Re: John Payson]
      #68432 - Tue Aug 05 2008 03:02 PM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1 | 2 | 3 | 4 | 5 | (show all)



Extra information
0 registered and 5 anonymous users are browsing this forum.

Moderator:  jtemples, Dan Henry, Andrew L, mikerj, dave g, meisty, josh stevo 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating: ****
Topic views: 54348

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5