CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Firmware for PIC18F4455 using USB interface

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
seccoxiru
Guest







Firmware for PIC18F4455 using USB interface
PostPosted: Sun Mar 15, 2009 3:55 pm     Reply with quote

Hello there.
I have studied the USB protocol and now I wish to start using PIC18F's USB module.
There is an USB driver for PIC18F4455 for CCS?



***What I have:
- 1x PIC18F4455 (My USB Device) + PICkit 2 Programmer;
- Protoboard/power supply/components/USB connectors;
- I know how to connect the PIC18F to PC (in hardware), I wish to use internal 1.5Komhs pull-ups resistors and internal 3.3V USB transceiver regulator;
- CCS PCWHD 4.084
- A good knowledge about USB protocol (electrical, bit encoding, suspend mode, bus speeds, transfer modes, usb packets and its fields, descriptors, endpoints, pipes, enumeration procedure etc)




***What I need?
- CCS USB driver for PIC18F4455 (how to use and what I need to edit to make my device works and be configured as i wish)
- PC driver from Microchip

Somebody can help me please?
Thanks in advance
Wink
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Mar 15, 2009 10:38 pm     Reply with quote

Download the CCS USB files. There is a button for it in the lower right
corner of the CCS download page:
http://www.ccsinfo.com/compilerupdates.php
You need to have current "maintenance" in effect to download these files.

Then you get the Hiddemo.exe test program. You can compile the
Ex_USB_Hid.c file, and program it into your PIC. Then connect your
PIC board to your PC. Next, run the Hiddemo.exe Windows program
and test the HID interface to your PIC board.

In the Hiddemo.exe program, you need to go to the Files menu and
select the CCS HID board as the device. Then you can click on the
"Establish Connection" button and it will connect OK.

I have tested all this with the 18F4550 and it works. The 18F4455 is
similar, except that it has less ROM and RAM, but it probably will work.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group