An object-oriented single-chip microcomputer usb software development system and method

An object-oriented, software development technology, applied in the direction of software simulation/interpretation/simulation, multi-programming device, inter-program communication, etc. Stability, adverse system stability and portability issues

Active Publication Date: 2021-02-02
JIANGSU HOPERUN SOFTWARE CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the actual USB development of single-chip microcomputers, the usual chip SDK does not support multi-function configuration and function switching of USB devices, and the enumeration process is relatively complicated, and different MCUs have different USB drivers, and the USB interface is also divided into high-speed , full-speed and low-speed interfaces, both greatly increase the difficulty and workload of development, and are not conducive to system stability and portability requirements, and may eventually affect the real-time and stability requirements of internal communication within the device

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
  • An object-oriented single-chip microcomputer usb software development system and method
  • An object-oriented single-chip microcomputer usb software development system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0014] The present invention is based on the object-oriented single-chip microcomputer USB software development system and its method, and further develops on the basis of the STM32-based HAL library, so that the USB software development is modularized, abstracted, and more scalable, allowing intelligent integration The internal communication of the terminal equipment is more stable and high-speed.

[0015] Such as figure 1 As shown, an object-oriented microcontroller USB software development system, including STM32 interrupt service, USB HAL library, virtual USB device o...

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 provides an objectification-oriented single-chip microcomputer USB software development system and method, and the system comprises an STM32 interrupt service, a USB HAL library, a virtual USB equipment object, and a USB equipment registration module, and the STM32 interrupt service provides an entrance for responding to USB interrupt; the USB HAL library provides standard function interfaces for realizing USB data interrupt callback, interrupt callback control and API calling; wherein the virtual USB equipment object is associated with a standard function interface of the USB HAL library and is used for realizing USB data transmission, event response, function operation and basic configuration of the virtual USB equipment object; and the USB equipment registration module isused for setting respective operation methods of USB equipment and associating the respective operation methods with function operations in the virtual USB equipment. According to the invention, the equipment object function operation module is associated with the USB equipment, so that different USB pieces of equipment can be switched conveniently.

Description

technical field [0001] The invention relates to an object-oriented program processing method and a single-chip microcomputer USB software development method, in particular to an object-oriented single-chip microcomputer USB software development method. Background technique [0002] In the State Grid, the intelligent fusion terminal currently adopts the design of CPU+MCU combination, and the communication between CPU and MCU adopts USB bus communication, so the USB bus communication is particularly important in the intelligent fusion terminal. As a high-speed serial bus, the USB bus can meet the application environment requirements of high-speed data transmission with its extremely high transmission speed. It can mount multiple peripherals, support four transmission modes, and has good compatibility. It meets the needs of intelligent fusion terminals. Equipment needs for real-time performance. [0003] However, in the actual USB development of single-chip microcomputers, the...

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 & AuthorityPatents(China)
IPC IPC(8): G06F9/455G06F9/54G06F13/38
CPCG06F9/45558G06F9/541G06F13/382G06F2009/45579
Inventor樊驰舟周红卫
OwnerJIANGSU HOPERUN SOFTWARE CO LTD