Download Microchip Driver


Release Notes for MCHPFSUSB v1.3 – Microchip Full-Speed USB Solutions

January 4, 2008

Downloads Archive Important Note for macOS ® Users: The latest version of macOS, 10.15 Catalina, removes support for 32-bit applications. This means that current versions of MPLAB X IDE (up to version 5.40) will not run on this operating system without a patch. Drivers filed under: Microchip COM Port Driver (18 items). Microchip USB2534 COM Port Driver 44 downloads. Motherboard Other. Windows 8.1 64 bit, Windows.

Table of Contents

To submit your extension to the Atmel Gallery, you'll need an integration with the Atmel Studio platform. The Atmel Studio Extension Developer's Kit (XDK) can assist you with the integration.

1.What's New/Updated in Release v1.3

2.Important Notes

3.What's in the Package

4.Known Limitations

5.USB Compliance Test ID (TID) Information

6.Alternative Software Solutions

7.Online Reference Documents

8.Customer Support

·Microchip General Purpose USB Windows® Driver, mchpusb.sys v1.0.0.6, is updated to support Windows Vista™ and 64-bit Windows® Operating Systems. This version is WHQL certified.

·CDC RS-232 emulation INF file, mchpcdc.inf, updated for supporting Windows Vista™ 32-bit and 64-bit.

·Some bug fixes in USB library firmware (usb9.c).

1.1What's New/Updated in Release v1.2

·Several bug fixes in USB library firmware.

·Updates to support a wider selection of PIC18 USB devices.

·Out of the box support for PICDEM™ FS USB Demonstration Board and PIC18F87J50 FS USB Plug-In Module.

·General Purpose INF file, mchpusb.inf, updated to show USB icon in the Windows® Device Manager (used to appear under “Other devices”).

·CDC RS-232 emulation INF file, mchpcdc.inf, updated for supporting Windows Vista™ 32-bit.

In order to provide out of box support for both the PICDEM FS USB Demo Board and the PIC18F87J50 FS USB Plug-In Module, the example firmware projects have added a few additional “#if defined” type of statements as needed to accommodate the minor differences between the hardware platforms.By default, all of the projects are preconfigured to work with the PICDEM FS USB Demo Board.To switch them over for use with the PIC18F87J50 FS USB Plug-In Module, follow the listed steps below.For additional details, see the comments at the top of the top of the main.c file used by the projects.

Download Microchip Driver

1. In MPLAB® IDE, click 'Configure --> Select Device' and then select the PIC18F87J50

2. From the project window, change the linker script to the 18f87j50.lkr file

3. Open usbcfg.h and uncomment the line that reads, '//#define PIC18F87J50_FS_USB_PIM' and then comment the other choices

The project should now build, and when programmed onto the device, the programs should function essentially as they do with the PICDEM FS USB Demo Board.This procedure will work with the communications device class (CDC), human interface device (HID) class, and the custom device class “Demo” projects.The USB bootloader “Boot” is not currently supported with the PIC18F87J50 family devices.

Notes about .INF files

Upon initially plugging in a USB device, in some cases Windows will prompt the user for a driver.Rather than having users manually copy .sys files (driver binary files) into important system directories (such as within the “Windowssystem32” directory structure) and manually add registry entries, Windows automates the driver installation process through the use of .INF files.INF files are plain text (can be edited with notepad) installation instruction script files.

Some types of USB devices will not require .INF files or user provided drivers (for example, a HID class mouse).For these types of devices, the operating system makes use of drivers already built into/distributed with the operating system, so no user provided driver or .INF file is necessary.

For other types of devices, Windows will prompt the user for a driver.In these cases, point Windows to the .INF file relevant for the USB device.All of the example projects included in the MCHPFSUSB framework which need an INF file are provided with an example INF file.The INF file will need slight modification (most importantly to change the VID and PID) before commercial distribution.

Notes about Vendor ID (VID) and Product ID (PID)

Every USB product line must have a unique combination of VID and PID.All firmware examples in the 'fw' directory use Microchip's VID (0x04d8) and a unique PID. Prior to manufacturing and marketing a new USB product, the VID and PID need to be changed.New VID and PID numbers can be obtained by purchasing a VID from the USB Implementers Forum:

Download Microchip Driver Windows 7

Alternatively, Microchip has a free VID sublicensing program.An application form for obtaining a PID (for use with Microchip’s VID: 0x04d8) from Microchip can be obtained by clicking here for the direct link.

Once a new VID/PID combination is obtained, both the firmware and the .INF file (when applicable) will need to be updated.

Download microchip driver download

To modify the VID/PID in one of the example USB firmware projects, open the usbdsc.c file (found in the ‘autofiles’ folder of the project).Search for the terms “Vendor ID” and “Product ID”.They should appear in the table used for the USB Device Descriptor.Change both values as needed.

To modify the VID/PID in the .INF file, open the relevant INF file and search for the “[DeviceList]” sections. There are two sections, one for 32-bit and one for 64-bit, both sections should be identical.In these sections, some text will appear with the form “USBVID_xxxx&PID_yyyy”.Update the “xxxx” and “yyyy” sections with the new hexadecimal format VID/PID values.

Notes about MPLAB® C18 C Compiler

The example firmware projects included in the distribution are based around the MPLAB C18 compiler.Either the commercial version, or the free student version can be used to build the example projects.The compiler may be obtained from


After the installation of MCHPFSUSB setup file, the content can be found in the “C:MCHPFSUSB” directory. There are three main sub-folders available, “Documents”, “fw” (firmware), and “Pc” (Personal Computer). The “Documents” folder contains the MCHPFSUSB Firmware User’s Guide and online links to other useful USB related documents. The firmware (fw) folder contains various example firmware projects for PIC18 USB microcontrollers. The Pc directory contains software products useful for developing and demonstrating USB applications on the personal computer.The most important directories are shown below.Details of their contents and purpose are described below.


- Documents

- fw

- _factory_hex

- Boot

- Cdc

- Demo

- Demo02

- Hid

- Pc

- MCHPUSB Driver

- Mpusbapi

- Pdfsusb

3.2.MPLAB IDE Firmware Projects and HEX Files

Several USB example firmware projects and hex files are included in the MCHPFSUSB distribution:

Factory Original HEX Files

See: “C:MCHPFSUSBfw_factory_hex”

Currently (as this is written), Microchip provides two full-speed USB demo board hardware platforms:

The PICDEM FS USB Demo Board ( part number DM163025) ships from the factory pre-programmed with the picdemfsusb.hex file.The firmware programmed on the PIC18F4550 can be restored to its original contents by reprogramming the picdemfsusb.hex file onto the device.

The PIC18F87J50 FS USB Plug-In Module demo board ( part number MA180021) ships from the factory pre-programmed with the PIC18F87J50_FS_USB_PIM_MouseDemo_2007_08.hex file.To restore the demo board to its original state, simply reprogram the microcontroller with this hex file.

To use these hex files with standard Microchip development tools such as MPLAB IDE and the MPLAB ICD2 programmer, open MPLAB IDE, click “Configure à Select Device”, then choose PIC18F4550 for the PICDEM FS USB Demo Board, or PIC18F87J50 for the PIC18F87J50 FS USB Demo PIM.Make sure an appropriate programmer is connected and has been selected.Then click “File à Import” and import the .hex file to be used.Then use the “Programmer à Program” menu choice to restore the device.

Custom Class: Boot, USB Bootloader Firmware

See: “C:MCHPFSUSBfwBoot”

This project contains USB firmware which handles the USB chapter 9 requests needed for enumeration, and it also provides an implementation example of a custom device class USB bootloader.The chapter 9 enumeration firmware has been stripped down compared to the other USB projects, in an effort to make the bootloader as small as possible (~2kB of program memory).Not all “required” chapter 9 requests are handled, only functions necessary for enumeration and basic operation are implemented.

Download Microchip Driver Windows 10

The bootloader is written to work with the PICDEM FS USB Demo Board.The PIC18F87J50 family of devices are not currently supported.

This project provides the necessary bootloader firmware needed to use the “PICDEM FS USB Demo Tool” (launched with PDFSUSB.exe) while in the bootload mode.

After a device has been programmed with this firmware, bootload mode is entered by holding RB4 low at device power up or reset.On the PICDEM FS USB Demo Board, this can be done by holding down switch S1 (MCLR) and S2 (RB4) simultaneously, and then releasing S1 while still holding S2.

When using this firmware, Windows should prompt the user for a driver when the device first enumerates in the bootload mode.Upon receiving this prompt, point Windows to the .INF file located in the “C:MCHPFSUSBPcMCHPUSB DriverRelease” directory.

Communications Device Class (CDC): RS-232 Emulation Firmware


This project contains USB firmware which handles the USB chapter 9 requests needed for device enumeration, and it also provides an implementation example of a CDC class device.The firmware is intended to be used to provide RS-232 emulation over the USB port.For example, if a USB microcontroller is programmed with this firmware, upon plugging into the host PC, it will enumerate and appear in the device manager as a new communications port, with a new COM number.Windows based applications can then interface with the embedded device by using standard function calls as would be used to interface with a standard RS-232 like communications port.This can be very advantageous when migrating legacy RS-232 serial port embedded devices over to USB, as it means very little code changes are required to the PC side application to communicate with the USB device.See application note AN956 “Migrating Applications to USB from RS-232 with Minimal Impact on PC Software,” for more details.

Upon initially plugging in the USB cable to a device programmed with this CDC firmware, Windows will prompt the user for a driver.Upon receiving this prompt, point Windows to the .INF file located under the “C:MCHPFSUSBfwCdcinfwin2k_xp_vista32_64” directory.

The CDC based RS-232 emulation firmware makes use of standard drivers which distribute with Windows.The .INF file is the only PC side file that is needed with this firmware.

Note: HyperTerminal is no longer shipped with Windows in Vista. An alternative is to use TeraTerm which can be downloaded from:

Custom Class: Demo (for use with PDFSUSB.exe)

See: “C:MCHPFSUSBfwDemo”

This project contains USB firmware which handles the USB chapter 9 requests needed for enumeration, and it also provides an implementation example of a custom or ‘vendor’ class device using Microchip’s USB general purpose driver.

This project serves as the basis for the firmware intended to be used with the “PICDEM FS USB Demo Tool” (launched with PDFSUSB.exe).The code provided in the “Demo” project provides the firmware needed for the various features (such as temperature, potentiometer position) used by PDFSUSB.exe.

When using this firmware, Windows should prompt the user for a driver when the USB cable is first connected.Upon receiving this prompt, point Windows to the .INF file located in the “C:MCHPFSUSBPcMCHPUSB DriverRelease” directory.


See: “C:MCHPFSUSBfwDemo02”

Download microchip driver tool

Demo02 is not a USB project, but a simple skeleton project meant to show how to create an application that can be programmed by the USB bootloader.The USB bootloader contained in the “Boot” project occupies flash memory locations 0x000 thru 0x7FF.The bootloader “remaps” the reset, high priority interrupt, and low priority interrupt vectors to addresses 0x800, 0x808, and 0x818 respectively.An application meant to be programmed with the bootloader must be written such that it does not use 0x000 thru 0x7FF, and it should assume the reset, high priority interrupt, and low priority interrupt vectors are located at 0x800, 0x808, and 0x818 respectively.

Human Interface Device Class (HID): Mouse in a Circle Demo Firmware

See: “C:MCHPFSUSBfwHidMouse”

This project contains USB firmware which handles the USB chapter 9 requests needed for device enumeration, and it also provides an implementation example of a HID class device.The firmware is intended to emulate a basic USB mouse device, although it is intended to be readily modified for developing other types of non-mouse HID class USB devices.

When using this firmware, Windows should not prompt the user for any kind of driver or .INF files.The HID driver is provided with the operating system, so no additional files are needed.Several different types of operating systems, including modern Macintosh and Linux® operating systems have built in HID drivers.Neither the USB hardware on the PIC® microcontroller, nor the firmware used is platform specific.The mouse in a circle demo may be used on these other platforms in addition to Windows.

This project serves as the basis for the PIC18F87J50_FS_USB_PIM_MouseDemo_2007_08.hex firmware which comes pre-programmed on the PIC18F87J50 FS USB Plug-In Module demo board.

Note: When using this firmware, the mouse cursor movement can be stopped by pressing the “S4” pushbutton on the PIC18F87J50 FS USB Plug-In Module.When the firmware is used with the PICDEM FS USB Demo Board, the mouse can be stopped by pressing pushbutton “S2”.

3.3.USB Tools/Code for the PC

Microchip General Purpose (Custom Class) USB Driver


Microchip provides a general purpose Windows driver which can be used by Windows applications to interface with a custom class USB device.This driver will not be necessary in many USB applications, such as USB HID class devices, which would normally use built in HID class drivers which distribute with the OS.

For USB applications that do not readily fit within the constraints of these other device class options, Microchip’s general purpose driver may be used.Windows applications can access USB devices either by directly interfacing with the driver (mchpusb.sys), or they may indirectly use the driver through a pre-compiled library.

The custom class firmware examples (“Demo” and “Boot”) are intended to be used with the general purpose USB driver.

After installation, the release notes for the general purpose USB driver are located at: “C:MCHPFSUSBPcMCHPUSB DriverMCHPUSB Driver Release Notes.htm”

MPUSBAPI Library and DLL Source

See: “C:MCHPFSUSBPcMpusbapi”

A custom class Windows application using the Microchip General Purpose USB driver may interface directly with the driver (mchpusb.sys).Doing so directly requires more effort and more time to learn than using a pre-compiled library that exposes a simple to use API including basic functions like open(), read(), write(), and close().

The MPUSBAPI.DLL file is a library which provides a number of functions including the basic ones needed for reading and writing to a USB device.A list of the functions available, and the calling conventions for those functions is currently documented in the form of inline comments in the source code for the DLL file.The DLL is compiled using Borland® C++ Builder™ 6 development environment, and the source code is provided in the “C:MCHPFSUSBPcMpusbapiDllBorland_CSource” directory.

A load time linking and a run time linking example showing how to use the DLL are included in the “C:MCHPFSUSBPcMpusbapiExample Applications” directory.

PICDEM FS USB Demo Tool “Pdfsusb”

See: “C:MCHPFSUSBPcPdfsusb”

Download Microchip Driver Download

The firmware which comes pre-programmed on the PICDEM FS USB Demo Board (picdemfsusb.hex) demonstrates basic USB communication with a Windows GUI based application.The firmware is intended to be used in conjunction with the “PICDEM FS USB Demo Tool” which can be launched by executing the PDFSUSB.exe file.The features and use of this application are described in the PICDEM FS USB Demonstration Board User’s Guide (DS51526).

This application was originally intended to be used with the PICDEM FS USB Demo Board, but it can be used with the PIC18F87J50 FS USB Plug-In Module as well.The demo tool makes use of hardware features, such as a temperature sensor and potentiometer which are not found on the Plug-In Module.In order to use the demo tool with this device, the Plug-In Module should be used while it is plugged into the HPC Explorer board.The HPC Explorer board has the needed potentiometer, temperature sensor, and additional LEDs.

In order to use the PICDEM FS USB Demo Tool with the PIC18F87J50 FS USB Plug-In Module, the board will need to be programmed with the code generated by the “C:MCHPFSUSBfwDemo” project when it is configured for the PIC18F87J50.

Operating System Issues

On some computers, you may need administrative access in order to install USB drivers on your PC.

When getting a USB peripheral officially compliance tested, a peripheral checklist must be filled out and submitted to the USB-IF.These checklists are provided by the USB-IF.On the peripheral checklist, one of the requested items is the TID number associated with the USB silicon used in the device.Test ID numbers can be found at the USBDesignCenter:

There are many third party software solutions available in designing your USB application.A few examples are listed below:

SnoopyPro (software based USB traffic logger)


HIDmaker FS (example USB firmware/software generator)


USB Software Solutions from Jungo® (assorted USB tools and driver generator)


Note: Links provided below point to the latest version of the documents to date. Please check for the latest version.

Demo Board User’s Guides

Device Family Data Sheets

PIC18F87J50 Family Data Sheet – 39775b (or link to product page here)

PIC18F4450 Family Data Sheet – 39760c (or link to product page here)

PIC18F4550 Family Data Sheet – 39632d (or link to product page here)

PIC18F4553 Family Data Sheet – 39887b (or link to product page here)

Application Notes


The Microchip Web Site

Microchip provides online support via our web site at This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information:

  • Product Support - Data sheets and errata, application notes and sample programs, design resources, user's guides and hardware support documents, latest software releases and archived software
  • General Technical Support - Frequently Asked Questions (FAQs), technical support requests, online discussion groups/forums (, Microchip consultant program member listing
  • Business of Microchip - Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives

Development Systems Customer Change Notification Service

Microchip's customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.

To register, access the Microchip web site at, click on Customer Change Notification and follow the registration instructions.

Additional Support

Users of Microchip products can receive assistance through several channels:

  • Distributor or Representative
  • Local Sales Office
  • Field Application Engineer (FAE)
  • Technical Support

Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is available on our website.

Technical support is available through the web site at:


  • Regional Training Centers:
  • MASTERs Conference:
  • Webseminars:


The Microchip name and logo, the Microchip logo, MPLAB, and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

PICDEM is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries.

Microsoft, Windows, and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Borland, and C++ Builder are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

Notify me of follow-up comments by email. These steps are explained below. So our user code needs to be written to take the above considerations into account. This shows us that both pieces of bootloader software the application on the PC, and the firmware on the PIC are talking to each other. The application used far too many threads making it rather daunting to support but it did basically work. Free USB bootloader with encription support http: Forum Themes Elegant Mobile.

Date Added:19 March 2007
File Size:46.10 Mb
Operating Systems:Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Price:Free* [*Free Regsitration Required]

MCHPFSUSB v2.6a Released

You could fix this by changing various vectors etc in the bid project so the compiled firmware occupies midrochip first 0x bytes of program memory. This is a file with a '. Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Microchip Driver Download

I connected my PIC18f to the USB at the same time that I press the 'bootloader button' and the software recognize the hardware and the pic enter in bootload mode. Haven't received registration validation E-mail?

Download Microchip Drivers

Studying the source-code more closely, I decided that this problem cannot be easily resolved in this application organization. You botloader compile your own '.

So, well, looks like there's no available free PIC24 Ethernet bootloader Microchip USB Firmware framerwork: Brutte Senior Member Total Posts: Forum Themes Elegant Mobile. Greetings, Jos - 1 7 Replies Related Threads. I also like the famous open source UART bootloader: This is a nice touch. If a software reset has occured, the device loads up the application code.

Free Bootloader for PIC

Serial Wombat's boot-loader for 18F with encription is available for free here: The install process seemed to complete OK. If you disable it, the size of the compiled firmware will be reduced a little, as the LED output code is not compiled into the firmware.

AN FLoating point calculations. Forums Posts Latest Posts. That boptloader what I did with XC8 and it allows uploading application of your choice without problems.

Software is always bootloafer story.

However my other comments stand. Essentials Only Full Version. Forum Themes Elegant Mobile. Notify me of follow-up comments by email.

For this reason, it is essential that your application loads address 0x with the value 0xD. Forums Posts Latest Posts. Forum Themes Elegant Mobile.

Download Microchip Driver App

Now start the bootloader application on your Bpotloader. You can modify it if needed for example, to use an input other than Hootloader as the input switch.

I figured out the procdefs. AN FLoating point calculations. However, my primary feedback and concern is that this HID PC program is written in really bad style, not worthy of carrying Microchips name: I have this problem some time ago, I hope this would guide you. M Super Member Total Posts: