Belcarra USBLAN for Microchip PIC32 Networking over USB Demonstration

Overview

The 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.

This demonstration kit is adapted from Microchips Ethernet implementation of  a web server demo. The Belcarra kit uses the v2.9a version of USB from Microchip and has been implemented with the most recent production version v5.42 of the Microchip TCP/IP stack. Belcarra can also on request make available a version of this demo using the Microchip version v6 Beta TCP/IP stack.

Belcarra’s implementation of Networking over USB for the Microchip PIC32 is a very low cost networking solution for PIC32 projects, eliminating the need to add an Ethernet chip while using less Flash and RAM resources.

Demonstration Kit  [Updated Jan. 24/14]

There are three hex project files (download zip files):
  • belcarra-microchip-ethernet-v5-2014-01-23.hex - the Microchip demo accessed via Ethernet only 
  • belcarra-microchip-usblan-v5-2014-01-23.hex- the Microchip demo accessed via USBLAN (USB PHY) 
  • belcarra-microchip-bridge-v5-2014-01-23.hex- the Microchip demo access via USBLAN or Ethernet
Any of these can be loaded into the PIC32 Starter Kit board using the instructions below.

Requirements

Installing USBLAN for Windows Demo on Windows 8

Belcarra’s evaluation version of USBLAN for Windows is not available directly from Windows Update for a Windows 8 user at this time, but it can be installed locally as described here.
First make sure your device is not connected to the PC. This is an optional procedure, but the following instruction screens make that assumption.

Next, run the Desktop

USB TestDrive - Panda

Introduction

For some time now Belcarra has made available a USB test package system for the Gumstix Overo Earth and related boards. This package is ultimately based on the Angstrom system.

The goal of Testdrive Panda (updated 2013-12-13) is to extend the project to newer systems using the TI Pandaboard. The decision was made to use Ubuntu instead of Angstrom because it’s possible to put a complete development system on board the distribution -- so if you want to test with an additional tool -- just load it on the board either with the package manager or in the worst case build it from source, all on the board, no cross-compilation needed.

However, another goal of the effort was to make this mostly unnecessary. For example, the standard network performance tool iperf is not part of the Ubuntu distro that we used, but we added a source for iperf to the package manager’s source list.

In addition to this, we customized the distro (download here) to use a more recent Linux kernel  with a customized configuration streamlined for USB testing.

Acquiring and Installing TestDrive-Panda

USBLAN for Windows - RNDIS Protocol Support

Belcarra is pleased to announce the addition of the RNDIS protocol to their USBLAN for Windows Network over USB solution (http://usblan.belcarra.com/),

Belcarra’s USB Class Driver is a suite of products which enables networking over the USB link. Belcarra’s RNDIS implementation provides several USBLAN features including faster data transfer abilities. The addition of RNDIS gives Belcarra's USBLAN for Windows the most complete set of USB networking protocols available in a single driver product.

http://www.prweb.com/releases/2012/8/prweb9769681.htm

Contact us to receive your evaluation copy of the  USBLAN 2.4.4 release.

Virtual Driver for USB Network Devices

USBLAN for Mac OS/X

Belcarra’s new Virtual Driver for Networked USB devices greatly improves the end user experience for interfacing smart devices to the Mac OS/X desktop.

Traditional solutions create a network interface for each attached device requiring the user to find and then configure a network service for the interface with the correct operating parameters (IP address etc.)

Belcarra’s solution features a Virtual Network Interface that is created when the system is started. This interface can be configured to a static IP address or simply default to use the normal DHCP configuration.

USBLAN 2.4.1 Available

USBLAN 2.4.0 release provided support for CDC-NCM and Microsoft NDIS 6.

USBLAN 2.4.1 now adds support for the Microsoft RNDIS protocol.

OEM's with with WinCE, embedded Linux or other devices configured to use RNDIS can now simply take advantage of USBLAN's many networking features such as:
  • DHCP Service – DHCP service is not need on target or Windows, USBLAN's built in DHCP server option can be used to co-ordinate and assign address of both the host and device network interfaces 
  • Composite function – the USBLAN driver is fully compatible with the Windows USB composite function support 
  • WHQL – drivers are fully compatible with Microsoft Windows Hardware Quality Labs (WHQL) tests and procedures 
  • Multiple devices can be connected allowing peer to peer networking and to the Windows desktop.
An evaluation version and OEM manual are freely available

Favourites