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

Conversion method and system for USB or UART data and Ethernet data

A conversion method, Ethernet technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems of no packet, unable to support retransmission, etc., and achieve the effect of high real-time, strong stability and strong expansibility

Inactive Publication Date: 2020-07-31
ASR MICROELECTRONICS CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with the USB (universal serial bus, universal serial bus) standard, the disadvantage of the UART standard is that it has no packet format and cannot support retransmission

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
  • Conversion method and system for USB or UART data and Ethernet data
  • Conversion method and system for USB or UART data and Ethernet data
  • Conversion method and system for USB or UART data and Ethernet data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] See figure 1 The conversion method between the USB or UART data format and the Ethernet data format proposed in this application includes the following steps.

[0033] Step S10: The sending end packs the data format of the Ethernet into the data format of USB or UART, and sets the frame delimiter in the frame structure of the packed USB or UART to mark the beginning and end of a USB or UART frame. End. When the sender is packing, if it finds the same original bit combination as the frame delimiter or escape character in the USB or UART frame, it will take the escape character and the deformed bit combination to replace the original bit combination.

[0034] Step S20: The transmitting end sends the packaged USB or UART frame to the receiving end.

[0035] Step S30: The receiving end accurately finds the start and end positions of the USB or UART frame according to the frame delimiter from the received bit stream. If a preset escape character is found in the USB or UART frame,...

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 conversion method of USB (Universal Serial Bus) or UART (Universal Asynchronous Receiver / Transmitter) data and Ethernet data. A sending end packs the data format of the Ethernet into a data format of a USB or a UART, and sets a frame delimiter; if the sending end finds that an original bit combination which is the same as the frame delimiter or an escape character appearsin an information field of a USB or UART frame during packing, the escape character and a deformed bit combination are adopted to replace the original bit combination; the sending end sends the packed USB or UART frame to a receiving end; the receiving end finds out the starting and ending positions of the USB or UART frame from the received bit stream according to the frame delimiter; and if theescape character is found in the information field of the USB or UART frame, the escape character is restored into the original bit combination, thereby unpacking the data format of the USB or UART into the data format of the Ethernet. According to the method and the system, rapid and reliable conversion between data formats is realized.

Description

Technical field [0001] This application relates to a method for data transmission between a computer and an embedded system. The transmitted data is, for example, a firmware file of the embedded system. Background technique [0002] An embedded system is a computer system that contains a processor, memory, input and / or output peripherals, and is used to perform specialized functions in a larger mechanical and / or electrical system. The control program is stored in the memory of the embedded system. [0003] When the embedded system is mass-produced, it is necessary to program the firmware as the target code of the operating system to NAND Flash (NAND Flash), NOR Flash (NOR Flash), eMMC (embedded MultiMediaCard) Wait in the memory. The firmware is a program solidified in the storage medium, which determines the function and performance of the embedded system. Usually the firmware cannot be directly read or modified by the user after it is written into the embedded system. If there...

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 Applications(China)
IPC IPC(8): G06F13/38G06F13/42
CPCG06F13/385G06F13/4282G06F2213/0002G06F2213/0042G06F2213/3852
Inventor 胡文黄金华于嘉
Owner ASR MICROELECTRONICS CO LTD