Step 3Testing the device
Program the device with the firmware. All configuration bits should be set correctly in the firmware.
Plug the device into a USB port. Windows will detect it and prompt you to choose a driver. BE SURE TO CLICK BROWSE FOR CUSTOM DRIVER. Navigate to the location of the .inf file included with the project archive(driver-win2k_winxp). Windows will use this file to install the device.
*A note on the CDC driver the CDC serial port emulation driver is included with Windows. The .inf file (provided by Microchip) simply tells Windows to connect these drivers to the device.
To find out what COM port the device was assigned do the following:
Go to the control panel (start->settings->control panel)
Double click system
Click the hardware tab.
Click device manager
Click the + next to ports
A list of COM ports on the system is shown. I have seen the device show up as COM 3 and 4, but it will vary by system.
If its not obvious which port is new, try this:
Unplug the device from the USB port.
One of the ports will disappear. This is the devices COM port #.
Plug the device back in, the port will reappear.
The small VB application (source included) can be used to test the device. Enter the command to send, click 'Start'. The reply will be shown in the window.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|













































