My experiments with PIC18F4550 <> USB

Status
Not open for further replies.

Kuzito

Newbie level 6
Joined
Nov 5, 2006
Messages
14
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
www.sigma-shop.com
Activity points
1,459
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:

https://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 ...
 

pic18f4550

Cool project!
Could you please share your HEX files?
 

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
 

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.
 

pic18f4550 usb interfacing

This is a great project, congratulations.
I will track this topic and wait for any progress.
 

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!!

 

pic 18f4550 usb

Thanks for the Post... I'm also working on my thesis using PIC18F4550.
 

pic18f4550 projects

good project, but where is driver to be instal on window98?:!:
 

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.
 

usb pic 18f4550

great project , this may be the one which make me free from com port.

any small application based on this .
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…