| Author |
Message |
Kuzito
Joined: 05 Nov 2006 Posts: 10
|
28 May 2008 13:16 pic18f4550 |
|
|
|
|
After I found out one article regarding USB functions of PIC18F4550, I have decided to devote some time for experiments.
At the beginning I took the necessary elements:
1 pc Universal board
1 pc. PIC18F4550
1 pc. 40PIN Socet
1 pc 20MHz Crystal
1 pc USB Connector
1 pc. 470nF Capacitor
1 pc. 100nF Capacitor
2 pc. 22pF Capacitors
1 pc 4,7K Resistor
Some wires ...
There are some photos and scheme:
PIN outs of the USB connector which I used
PIN's of the used PIC18F4550:
The minimum scheme necessary for the test:
The board is done :
After the assembling the scheme, I connected it to the USB of the PC without programming the PIC microprocessor.
The result was null- Windows does not indicated that something was connected to the USB port.
I started programming the microcontroller. I used a JDM programmer and one of my favourite software for PIC - PICPgm.
At the beginning I downloaded from somewhere maybe an older version of the HEX file for the PIC.
After the programming and connecting to the PC, the following mistake occurred : "USB Device not recognized"
Unfortunately, It took me 2 hours for reading articles about this theme, until I found out where exactly is the problem.
I am not using MPLab and the relevant programmer, and that's why It turns out that there is no FUSE configuration in the ready compilated HEX file that I use.
"USB Device not recognized"
"Found New Hardware"
Finally I downloaded this file from Microchip:
http://ww1.microchip.com/downloads/en/DeviceDoc/MCHPFSUSB_Setup_v1.3.exe
All it does is to install files under C:\MCHPFSUSB.
I programmed the PIC with the first HEX file that I have found out in "C:\MCHPFSUSB\fw\_factory_hex\picdemfsusb.hex"
After the programming and connecting again to the PC USB port ... ·Yeah·... the expected sound could be heard!
After drivers installed :
To be contunied ...
|
|
| Back to top |
|
 |
rprodrigues
Joined: 18 Nov 2006 Posts: 53 Helped: 1 Location: Itajubá MG Brazil
|
29 May 2008 20:48 pic18f4550 usb |
|
|
|
|
| Great job! Keep going!
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1681 Helped: 99 Location: Toronto, Canada
|
29 May 2008 23:23 pic usb interface |
|
|
|
|
| That's really neat, looks like a great project.
|
|
| Back to top |
|
 |
tijoseymathew
Joined: 13 May 2007 Posts: 82 Helped: 1
|
30 May 2008 2:05 usb pic18f4550 |
|
|
|
|
Wow cool project
please do continue, it will save lots of time for people like me
|
|
| Back to top |
|
 |
rashslash
Joined: 23 Nov 2006 Posts: 28 Location: pakistan
|
18 Jun 2008 15:01 pic18f usb |
|
|
|
|
| keep it up buddy! there are some of very cool projects with pic18f4550
|
|
| Back to top |
|
 |
Google AdSense

|
18 Jun 2008 15:01 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
atferrari
Joined: 29 Jun 2004 Posts: 207 Helped: 3 Location: Buenos Aires - Argentina
|
25 Jun 2008 19:12 pic 18f4550 usb |
|
|
|
|
| Any news out there?
|
|
| Back to top |
|
 |
ecnbom
Joined: 26 Jun 2008 Posts: 16 Helped: 2
|
26 Jun 2008 5:09 pic18f4550 |
|
|
|
|
Cool project!
Could you please share your HEX files?
|
|
| Back to top |
|
 |
TekUT
Joined: 17 Jun 2008 Posts: 413 Helped: 23
|
26 Jun 2008 7:35 pic18f4550 usb interface |
|
|
|
|
Nice idea, I've also planned to start with same design, below a link that may be useful to straight on:
http://sourceforge.net/projects/pic18fusb/
Cheers
F.F. a.k.a. Powermos
|
|
| Back to top |
|
 |
siongboon
Joined: 24 Jan 2006 Posts: 288 Helped: 25 Location: Singapore
|
26 Jun 2008 13:48 pic18f4550 usb |
|
|
|
|
| Very good documentation. Good work.
|
|
| Back to top |
|
 |
carrie_
Joined: 19 Dec 2007 Posts: 4
|
26 Jun 2008 14:05 pic usb 18f4550 |
|
|
|
|
hello there,
i was wondering how did u manage to troubleshoot the "USB not recognized" problem? i have the same problem and the driver i installed, (d/l from Microchip) doesnt seem to work. what could be the problem here? please help!
is it my driver? i've just downloaded it and unzip it into C directory, and when the PC notices the USB, it prompted me for driver. so i directed it to the folder. am i doing it correctly?
thanks so much
|
|
| Back to top |
|
 |
Kuzito
Joined: 05 Nov 2006 Posts: 10
|
26 Jun 2008 17:08 pic18f4550 project |
|
|
|
|
Hi ecnbom,
There is work HEX file incl. Config Bits.
|
|
| Back to top |
|
 |
Kuzito
Joined: 05 Nov 2006 Posts: 10
|
26 Jun 2008 17:17 pic18f4550 usb project |
|
|
|
|
Hi carrie,
I think (but no sure) that for "USB not recognized" problem is not guilty driver.
This means that there is hardware problem.
When I program PIC without Config Bits Windows show "USB not recognized".
After program PIC as must – Windows show “Found New Hardware” and next step is driver.
I read anywhere that USB connector must nearly to PIC USB PIN’s. Possible this too causation "USB not recognized" problem.
|
|
| Back to top |
|
 |
hkBattousai
Joined: 16 Jun 2007 Posts: 100 Helped: 4 Location: Turkey
|
26 Jun 2008 23:07 pic18f4550 usb interfacing |
|
|
|
|
This is a great project, congratulations.
I will track this topic and wait for any progress.
|
|
| Back to top |
|
 |
newuser33
Joined: 22 Dec 2007 Posts: 45 Helped: 1
|
27 Jun 2008 3:34 pic usb pc |
|
|
|
|
great project
i have dealt alot with the 18f4550 and the 18LF4550 with USB..... i love the DLL interface..
which one are you using?
really dont like the COM port implemetation but havent tried the new version yet....
cant wait for the pic 32 with USB OTG!!!!
a whole new realm of possibilities!!

|
|
| Back to top |
|
 |
ahmon_abilar
Joined: 26 Mar 2008 Posts: 15 Helped: 1
|
16 Jul 2008 15:58 pic 18f4550 usb |
|
|
|
|
| Thanks for the Post... I'm also working on my thesis using PIC18F4550.
|
|
| Back to top |
|
 |
ManojChoyan
Joined: 28 Jul 2008 Posts: 1
|
06 Aug 2008 20:54 microchip mchpfsusb v2.2 installer |
|
|
|
|
| Its a good project with neat explanation.
|
|
| Back to top |
|
 |
madicalphy
Joined: 22 Jul 2007 Posts: 68 Helped: 3
|
07 Aug 2008 6:41 pic18f4550 projects |
|
|
|
|
good project, but where is driver to be instal on window98?
|
|
| Back to top |
|
 |
daviddlc
Joined: 11 Feb 2007 Posts: 196 Helped: 13
|
13 Aug 2008 2:24 pic usb projects |
|
|
|
|
I did something similar to you, but when I selected: "Install the software automatically" it didn't work.
Where are the drivers for this device ?
Added after 2 minutes:
Never mind, I found them.
Thanks.
|
|
| Back to top |
|
 |
manish12
Joined: 21 Nov 2006 Posts: 1020 Helped: 31
|
13 Aug 2008 3:20 usb pic 18f4550 |
|
|
|
|
great project , this may be the one which make me free from com port.
any small application based on this .
|
|
| Back to top |
|
 |
madicalphy
Joined: 22 Jul 2007 Posts: 68 Helped: 3
|
18 Aug 2008 4:31 pic usb device not recognized |
|
|
|
|
| dear, will it works with windows98?
|
|
| Back to top |
|
 |
greenforest
Joined: 21 Mar 2007 Posts: 5
|
20 Aug 2008 10:44 pic18f4550 usb programming |
|
|
|
|
| I did the same things with 18F4550 but nothing happened (there is not "New hardware found" message). Are there any suggestions?
|
|
| Back to top |
|
 |
daviddlc
Joined: 11 Feb 2007 Posts: 196 Helped: 13
|
20 Aug 2008 20:29 usb pic18f4550 project |
|
|
|
|
Did you program the controller with the picdemfsusb.hex from the microchip solutions examples ?
If you don't want to use that then you will need to create your own USB service application.
|
|
| Back to top |
|
 |
lee40039
Joined: 01 Jun 2006 Posts: 6
|
24 Aug 2008 15:46 mchpfsusb device cannot start (code 10) |
|
|
|
|
| good project
|
|
| Back to top |
|
 |
mohan_200484
Joined: 13 Jul 2006 Posts: 31
|
26 Aug 2008 18:37 pic18f4550 hex |
|
|
|
|
good job. Need more materials regarding this topic.
Thanks
Mohan
|
|
| Back to top |
|
 |
RSABear
Joined: 18 Jul 2007 Posts: 3
|
27 Aug 2008 8:01 pic18f4550 driver |
|
|
|
|
| Kuzito wrote: |
After I found out one article regarding USB functions of PIC18F4550, I have decided to devote some time for experiments.
To be contunied ... |
This is what I did...
The PCB and SCH are in Eagle for those who would like to modify (single sided and easy to make). The board WORKS 100% with Microchip MCHPFSUSB v2.2 firmware, however the temperature sensor is to small to solder so I left it out. For those who can code please look at the new USB Lib for BoostC and see if you can make it work - Please.
Kindos Regardos
|
|
| Back to top |
|
 |
himmler
Joined: 31 May 2006 Posts: 11
|
30 Aug 2008 19:19 pic18f4550 eagle |
|
|
|
|
| Kuzito wrote: |
 |
And you're happy just with that ?
I have tested too the Microchip MCHPFSUSB v2.2 firmware - Generic Driver Demo and it work fine. But this is just doing some led swiching and read the ADC value.
Let's make it a Full-Speed Bulk Transfer 12Mb/s ! You're with me ?
|
|
| Back to top |
|
 |
pic master
Joined: 26 Oct 2007 Posts: 5
|
14 Sep 2008 14:38 pic18f4550 scheme |
|
|
|
|
how are u???
can u send me the schematic of jdm programmer used to program the chip 18f4550???????
it is the same programmer of 16f877????????
thanks in advance
|
|
| Back to top |
|
 |
akmujeeb
Joined: 20 Sep 2008 Posts: 1
|
20 Sep 2008 12:53 pic18f4550 usb |
|
|
|
|
Thank you for this article. I am searching for the USB interface for my project. I expect this is may a start to me. I expect more from the author.
|
|
| Back to top |
|
 |
hkBattousai
Joined: 16 Jun 2007 Posts: 100 Helped: 4 Location: Turkey
|
20 Sep 2008 13:05 pic18f4550 usb pc |
|
|
|
|
| akmujeeb wrote: |
Thank you for this article. I am searching for the USB interface for my project. I expect this is may a start to me. I expect more from the author. |
Don't expect to much, he is gone. He didn't write anyting for months. I don't want to be pessimistic, but this project looks like to be over.
|
|
| Back to top |
|
 |
king_diaw
Joined: 08 Apr 2008 Posts: 1
|
11 Oct 2008 11:37 usblib pic18f4550 |
|
|
|
|
need your help...
i'm already assembler the circuit like your. I also ready install program that you advice but my computer still can not recognize the USB device. what should I do now?? from reading some article(not sure related or not) they say need the ".inf" file so that the USB device can be recognize by the computer.
thanks for your help.
|
|
| Back to top |
|
 |