![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
seccoxiru Guest
|
Firmware for PIC18F4455 using USB interface |
Posted: Sun Mar 15, 2009 3:55 pm |
|
|
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](images/smiles/icon_wink.gif) |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Mar 15, 2009 10:38 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|