Embedded USB Device Stack - Renesas Controllers

Device Classes      Supported Controllers      Demos      Documentation      Prices      

Embedded USB Device StackThesycon’s USB device software stack implements the core functionality of a USB device and optionally provides device class specific protocols. It enables developers to easily add USB device functionality to embedded systems incorporating Renesas microcontrollers.
The software stack complies with the USB v1.1 and USB v2.0 specifications. It supports the transfer modes control, bulk and interrupt at low and full speed. Complete USB request processing and extended error recovery mechanisms that are required for reliable operation are implemented internally.

The modular design allows to implement proprietary USB interfaces and standard device classes. The creation of composite devices which implement multiple logical functions on one physical controller as well as multi-configuration devices are fully supported.

To use the USB Function API directly without a device class, basic USB knowledge is required. The device class specific APIs provide a high abstraction level and are easy to use. No USB know-how is required.

 

Thesycon also offers the appropriate device drivers for PC and so is able to provide complete software solutions.

USB Function Library

The USB Function Library is a software layer which is designed to handle the complete USB function peripheral. It implements all USB standard requests, the required state machines and the data transfer. An embedded application program does not have to access the USB peripheral via registers, it simply uses the software API defined by the USB Function Library.

To use the USB Function API directly without a device class, basic USB knowledge is required.

 

The Bulk Loop Demo application included in the demo packages represents a plain sample for the usage of the USB Function Library without a device class.

Device Classes

The device class specific APIs provide a high abstraction level and are easy to use. No USB know-how is required.

CDC/ACM Device Class

The CDC/ACM protocol module implements a standard-compliant serial link (RS-232) emulation on top of USB. This provides an easy migration path for existing applications. Thesycon also offers an appropriate CDC/ACM class driver for Windows operating systems. The combination of the CDC/ACM device class and the CDC/ACM class driver for Windows allows to re-use existing Windows applications unmodified.

The CDC/ACM Loop Demo application included in the demo packages represents a plain sample for the usage of the CDC/ACM device class.

The CDC/ACM Multi Instance Loop Demo application included in the demo packages represents a plain sample for the usage of the CDC/ACM device class with multiple instances (so called composite device).

RNDIS Device Class

The RNDIS module implements an Ethernet emulation on top of USB. This approach is especially useful if an embedded system contains an Ethernet interface and a TCP/IP protocol implementation. A suitable RNDIS device driver is included in Windows and some other operating systems.

The RNDIS Simple IP Demo application included in the demo packages provides very basic IP protocol functionality to support ARP, ICMP and DHCP. So it is possible to attach the device to a PC and to test the USB connection by means of ping.

Mass Storage Device Class

The Mass Storage protocol module emulates a disc drive with FAT or CD-ROM file system. It can be used to create a CD-less PC software installation, or to exchange static data files between the device and the PC. The required PC drivers are part of Windows, MacOS, and Linux. Under Windows the CD-ROM emulation supports the auto-run feature.

HID Device Class

The THID module implements a generic HID device (Human Interface Device). The device does not require a device driver installation under Windows. It uses the in-box HID class driver. Applications can communicate with the THID device by means of Windows HID API functions. Thesycon provides sample application source code.

The THID Loop Demo application included in the demo packages is designed to demonstrate and test the data exchange.

Platform Integration

The Embedded USB Device Stack firmware is implemented in ANSI-C and supports the Renesas HEW development environment. For easy integration the software is designed as a library and provided as source code. The library does not depend on any specific operating system support. It can be integrated into any embedded OS, or can be used in stand-alone applications.

Free Demo Download

Thesycon provides demo packages for a lot of microcontrollers.

 

The demo package includes:

Note: The source code and the appropriate project files contained in the demo package are for documentation only. It is not possible to recompile the applications.

 

Renesas RX621, RX62N Status Demo Starter Kit
RX621 Group
RX6218, RX6217, RX6216
available   Renesas RX62
RX62N Group
RX62N8, RX62N7, RX62N6
available   Renesas RX62

 

Renesas RX630, RX631, RX63N Status Demo Starter Kit
RX630 Group
RX630E, RX630D, RX630B, RX631A, RX6308, RX6307, RX 6306
available    
RX631 Group
RX631E, RX631D, RX631B, RX631A, RX6318, RX6317
available    
RX63N Group
RX63NE, RX63ND, RX63NB, RX63NA, RX63N8, RX63N7
available    

 

Renesas H8S Status Demo Starter Kit
H8SX/1663 Group
H8SX1664, H8SX1663
available usbf_rskh8sx1664_demo.exe Renesas
RSK H8SX/1664
H8SX/1653 Group
H8SX1654, H8SX1653
available usbf_rskh8sx1664_demo.exe Renesas
RSK H8SX/1664
H8SX/1668R Group
H8SX1668, H8S1658
available usbf_rskh8sx1668_demo.exe Renesas
RSK H8SX/1668R
H8S/2472 Group
H8S2472
available usbf_rskh8s2472_demo.exe Renesas
RSK H8S2472
H8S/2215 Group
H8S2215
available usbf_rskh8s2215_demo.exe Renesas
RSK H8S2215R
H8S/2456 Group
H8S2424, H8S2426,
H8S2454, H8S2456,
H8S2425*, H8S2427*
*under development
under development   RSK H8S/2456
TFT-LCD Development Kit

 

Renesas M16C/6C Status Demo Evaluation Board
M16C/6C Group
M16C6C
available usbf_rskm16c6c_demo.exe Renesas
RSK M16C6C
M16C/6C Group
M16C6C
available usbf_evbm16c6c_demo.exe Glyn
EVBM16C6C
M16C/6C Group
M16C6C
available usbf_modsdk-cm16c6c_demo.exe MSC
ModSDK-CM16C6C

 

 

Renesas Starter Kit

Evaluation Version

On request Thesycon provides an evaluation version of the Embedded USB Device Stack. Please contact for more information.

Documentation

Licensing conditions & Prices

Single product and product family licenses are available. An Embedded USB Device Stack license includes the full source code and allows royalty-free distribution of binaries compiled from the sources. Distribution of source code is not permitted. For complete license conditions and prices please contact .

Keep up to Date

If you would like to be kept informed of product updates, please subscribe to the Thesycon newsletter.

 

 

© 2011 THESYCON

Gerätetreiber - Systemsoftware - Consulting home to the english version
 



Suchen Sie nicht uns, sondern
TESYCON GMBH,
die Experten für
IT-Controlling?