Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

My experiments with PIC18F4550 <> USB

Status
Not open for further replies.

Kuzito

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

pic18f4550_usb_01.jpg


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

pic18f4550_usb_02.jpg




PIN's of the used PIC18F4550:

pic18f4550_usb_04.jpg




The minimum scheme necessary for the test:

pic18f4550_usb_08.jpg




The board is done :

pic18f4550_usb_12.jpg


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.

pic18f4550_usb_11.jpg



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"
pic18f4550_usb_16.jpg


"Found New Hardware"
pic18f4550_usb_15.jpg



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!

pic18f4550_usb_09.jpg


pic18f4550_usb_10.jpg



After drivers installed :

pic18f4550_usb_13.jpg


pic18f4550_usb_14.jpg





To be contunied ...
 

usb pic18f4550

Wow cool project
please do continue, it will save lots of time for people like me
 
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 project

Hi ecnbom,

There is work HEX file incl. Config Bits.
 

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

:D:D
 

pic 18f4550 usb

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

microchip mchpfsusb v2.2 installer

Its a good project with neat explanation.
 

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 .
 

pic usb device not recognized

dear, will it works with windows98?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top