Make your PIC18F4550 talk to your PC via USB

I have always fancied PIC USB communication. I bought a PIC USB development board from Rhydolabz. I am going to write about making your PIC’s USB port communicate to the PC.

You would be requiring the Microchip USB Stack to start.  After having downloaded the USB Stack, execute the exe file to install the USB stack. Once the USB stack is installed, proceed to the directory where your “Microchip Solutions” folder could be found.

You should be able to find a file by name picdemfsusb.hex under Precompiled Demos/Factory Hex Files folder inside your Microchip Solutions Directory. My development board came with a pre-loaded bootloader. If you are going to use a fresh PIC18F4550 chip, you may have to use the downloader that is readily available in the Microchip Solutions directory. I used a hex download software that came along with  my development board and loaded the picdemfsusb.hex into the controller.

As soon as you hit the reset button of your development board, you must be able to see a New Hardware Found Tab appear in your system tray.

In most of the cases, the hardware may not be recognised by the computer and you may have to install the drivers for your development board when your system asks for it as shown in the figure below:

You would be able to locate the driver files for Microchip Hardware in the respective project folders located inside the directory.

Once you locate the drive files and install them, your system would reflect the installed hardware as shown in the figure below:

You would be able to locate the connected device in Device Manager.

Bingo! You have installed a Microchip hardware to your system!

Write to me if you have questions about this post.


3 Responses to Make your PIC18F4550 talk to your PC via USB

  1. Srihari says:

    Congratulations Sairam! I know this was a toughie!

    What are your next steps?

  2. Have you ever thought about adding a little bit more than just your articles?
    I mean, what you say is fundamental and everything.
    But think about if you added some great images or videos to give your posts more,
    “pop”! Your content is excellent but with pics and clips, this website could undeniably be one
    of the best in its field. Awesome blog!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: