Unlock instant, AI-driven research and patent intelligence for your innovation.

Slave USB HID device and firmware implementation method based on embedded Linux

A firmware implementation and embedded technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of unrecognizable plug events, USB bus reset process, hot plug function, USB bus reinitialization, etc., to improve Ease of use, improved stability effects

Inactive Publication Date: 2012-05-09
NO 709 RES INST OF CHINA SHIPBUILDING IND CORP
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, using the above two design methods, under different host operating systems, the user needs to develop a driver to realize the communication between the USB peripheral device and the upstream host, and at the same time, the compatibility issue under different operating systems needs to be considered
In addition, these two methods do not support the hot-swapping function. When the device is plugged and unplugged, the firmware program on the slave device cannot recognize the plug-in event and the USB bus reset process, resulting in the firmware on the slave device being unable to re-initialize the USB bus. Cause host and slave USB device to be unable to communicate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Slave USB HID device and firmware implementation method based on embedded Linux
  • Slave USB HID device and firmware implementation method based on embedded Linux
  • Slave USB HID device and firmware implementation method based on embedded Linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0051] To illustrate with the accompanying drawings, the whole system is described in terms of hardware and firmware to achieve two major parts.

[0052] The hardware part adopts a computing device based on SoC technology, and the processor adopts an XSCALE processor based on ARM core. This chip has a slave USB control chip inside, supports 16 ports, and is configured and operated by software.

[0053] The firmware implementation mainly refers to the firmware system of the device, that is, the software system running in the CPU and the storage unit. The software system mainly includes: an embedded Linux operating system, a slave USB HID firmware driver, and a USB communication control program; among them, the slave USB HID firmware driver runs in the kernel space, and the USB communication control program runs in the user space.

[0054] The embedded Linux operating system has been transplanted for the specific hardware architecture. Linux provides a system call interface, a v...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a slave USB HID firmware implementation method based on embedded Linux, which comprises (1) an embedded Linux operating system, (2) a slave USB HID firmware drive program, and (3) a USB communication control program. By using the method, the development of a slave USB HID firmware system based on the embedded Linux can be finished quickly to achieve direct use by a user without developing and installing a drive program and without considering the problem of compatibility of different operating systems. The invention also aims to achieve data communication between a device and a host computer system in a USB HID protocol mode.

Description

technical field [0001] The invention relates to the fields of USB man-machine interface equipment and embedded Linux, in particular to a slave USB HID device and a firmware implementation method based on embedded Linux. Background technique [0002] USB (Universal Serial Bus) is an external bus connection between a host computer and peripheral devices. USB connects various types of devices with a single type of bus, mainly for medium-speed and high-speed peripherals, and connects with the internal system data line of the PC through the PCI bus to realize data transmission. USB is also a communication protocol specification, which defines a set of standards that any specific type of device can follow to support data transmission between the host (Host) and the device (slave device). The USB bus specification defines the specification of a Human Interface Device (HID, Human Interface Device) type device, and the HID specification specifically defines a protocol for communicat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/10G06F13/38
Inventor 黄涌周俊谌菲
Owner NO 709 RES INST OF CHINA SHIPBUILDING IND CORP