OverviewThe Microchip PIC32 allows for implementation of a Full Speed USB device.
Implementing a Networking over USB solution allows a PIC32 based design to connect to a Microsoft Windows system and use TCP/IP network connections using the Belcarra Windows USBLAN Class driver.
Microchip makes available a TCP/IP stack and a demonstration application that implements a Web Server. In their demo the Web Server can be accessed via the Ethernet.
Belcarra has created a Networking over USB driver (USBLAN Function Driver) for Microchip that allows the TCP/IP stack to use USB to connect to a Windows system. A demonstration kit is available to demonstrate this capability.
There are two hex project files (download zip files):
- microchip-ethernet.hex - the Microchip demo accessed via Ethernet
- microchip-usblan.hex - the Microchip demo accessed via USBLAN
- Windows Development System (Windows 7 recommended)
- Windows Test System (Windows 7 recommended)
- MPLAB-X from Microchip installed on the Windows Development system
- PIC32 Ethernet Starter Kit (DM320004
- HEX files containing the Belcarra Demonstration (usblan and ethernet)
- Install MPLAB-X on the Windows Development System
- The Windows Test System must have Internet access
- The Windows Test System should have a System Restore Point created to simplify removal of test drivers.
- Use MPLAB-X to program the usblan.hex file into the PIC32 ESK using the debug interface (see below).
- Plug the PIC32 ESK into the Windows Test System
- After a short wait, you should see Windows attempting to load device drivers. The Belcarra USBLAN demonstration driver for Windows will be automatically downloaded from Windows Update [pre-installation kits are also available from Belcarra.]
- After Windows has finished the driver installation there should be a network interface available.
- In a browser you can now open http://169.254.1.2