Compatible software for humans and processors.

Japanese
eSOL
Embedded, Engineering and Enabling Solution
HOME Our Business About eSOL What's News

eSOL ONLINE MAGAZINE
Embedded Products Solution
Contact us

USB On-The-Go (OTG)


PrUSB/OTG

Overview


PrUSB/OTG is a protocol stack for the USB On-The-Go (OTG) standard supplemental USB 2.0 specification for embedded systems. The device can switch automatically between the USB host and device functions with PrUSB/OTG. PrUSB/OTG enables a system to transfer data with either a USB host machine, such as a PC, or a USB device such as a digital camera, portable music player, etc.


USB On-The-Go function

A device with PrUSB/OTG automatically recognizes the connected cable and immediately starts operating as a USB host or device. In addition to data exchange with a typical USB host, this enables direct data exchange between USB equipment without using a USB host like a PC. PrUSB/OTG uses PrUSB/Host for the USB host function and PrUSB/Device for the USB device function, so it inherits the features and benefits of both PrUSB/Host and PrUSB/Device.

USB host stack: PrUSB/Host
USB device stack: PrUSB/Device


USB2.0 compliant features

PrUSB/OTG offers the following USB features compliant with the USB2.0 specification:

* Detects insertion and removal of a USB cable
* Manages USB standard requests for control transfers
* Manages host-device data flow


Transfer types

PrUSB/OTG supports the following transfer types:

* Control transfer: Data transfer for the control endpoint between a host and a device
* Bulk transfer: Transfer of a relatively large amount of data or non-cyclic data
* Interrupt transfer: Cyclic transfer of a relatively small amount of data


Configurable features

PrUSB/Host, PrUSB/Device, and OTG drivers can be implemented individually. You can choose to implement only the necessary functions to reduce memory usage.


Various class drivers are available

PrUSB/OTG has a sample class driver for both host and device, a host HID class driver, and a Mass Storage Class driver for the device. For the host, an optional Mass Storage Class driver and a Communication Device Class driver are also available.
Details of USB host/OTG stack class driver


Portability

PrUSB/OTG is written in the C language and is not dependent on a particular CPU. Device drivers and OS dependent code are separated from PrUSB/OTG to ensure high portability to different platforms.


Compatibility with T-Engine and T-Kernel

PrUSB/OTG is compatible with T-Engine and T-Kernel.


Availability

PrUSB/OTG is available in source code.


Maintenance service and customization service

The following maintenance service is offered for PrUSB/OTG:

* Email response regarding the product
* Minor version upgrade

eSOL also offers customization service to tailor PrUSB/OTG to a different target, such as custom hardware.


PrUSB/OTG architecture diagram

PrUSB/OTG architecture diagram


Back to top


Operating environment


PrUSB/OTG operates on the following device controllers:
* OTG controller with TMS320DM320

Please contact us if you prefer another controller.

PrUSB/OTG operates on the following environments:
* OS: PrKERNELv4 (complies with µITRON4.0 specification)
* File system: PrFILE2

Back to top


Options and related products


Optional product: class driver
Mass Storage Class driver
* Other class drivers will be supported soon.
Details of USB host/OTG stack class driver


Related products
PrUSB/Host USB host stack
PrUSB/Device USB device stack
PictDirect SDK for PictBridge
*A printing device will be supported soon.


Back to top


Contact us


Click here for more information.
Click here for information on customization or contract development.

Back to top