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

A method for communicating with a can and/or lin bus device through a usb host computer

A technology of CAN bus and bit computer, which is applied in the field of communication between a USB host computer and a device with CAN and/or LIN bus, and can solve problems such as protocol inconsistency, inconvenient use, and crash

Active Publication Date: 2019-07-05
GUANG DONG GREENWAY TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The communication transmission between the USB port and the CAN bus port or the LIN bus port must depend on the conversion of the data signal. The data format sent by the two is inconsistent, and the protocol of the transmission control is also inconsistent. In the prior art, the USB port turns to the CAN bus and / or LIN bus, the general structure is relatively complicated, there are loopholes in the conversion process, frequent crashes, exit programs or program termination phenomena, and the program cannot be upgraded, which brings inconvenience to subsequent use. Therefore, the existing technology needs to be improved

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
  • A method for communicating with a can and/or lin bus device through a usb host computer
  • A method for communicating with a can and/or lin bus device through a usb host computer
  • A method for communicating with a can and/or lin bus device through a usb host computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] A method for communicating with a device with a CAN and / or LIN bus through a USB host computer provided by the present invention will be described in more detail below in conjunction with the drawings and embodiments.

[0056] figure 1 It is a flow chart of an embodiment of the method for communicating with a CAN and / or LIN bus device...

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 method for communicating with bus equipment with CAN and / or LIN through a USB upper computer. The method comprises the steps of powering on the system and conducting initialization on a BOOTLOADER area; in a first time threshold value, detecting whether there is an APP in a FLASH storage area or not; if not, running an APP download protocol analysis processing program in a second time threshold value through a USB upper computer instruction; if yes, conducting initialization on the APP, waiting for USB port data and triggering a data processing program; judging ingoing working states in sequence and entering the subprogram of the current work pattern. According to the method, the upper computer is connected through the USB port; based on preset protocol parameters, parameter configuration of a CAN bus module and / or an LIN bus module is modified; by means of CAN and / or LIN bus communication test and verification, data pass-through is achieved; when errors occur in data sending or receiving of the CAN and / or LIN bus, the upper computer can read the errors and assist a user in analyzing the error reasons of the bus; the method for communicating with bus equipment with CAN and / or LIN through the USB upper computer has the function of remote upgrade.

Description

technical field [0001] The invention relates to the technical field of communication control, in particular to a method for communicating with a device with a CAN and / or LIN bus through a USB host computer. Background technique [0002] The communication transmission between the USB port and the CAN bus port or the LIN bus port must depend on the conversion of the data signal. The data format sent by the two is inconsistent, and the protocol of the transmission control is also inconsistent. In the prior art, the USB port turns to the CAN bus and / or LIN bus, the general structure is relatively complex, there are loopholes in the conversion process, frequent crashes, program exit or program termination, and the program cannot be upgraded, which brings inconvenience to subsequent use. Therefore, the prior art needs to be improved. Contents of the invention [0003] A technical problem to be solved by the embodiments of the present invention is to provide a method for communi...

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/40G06F11/22
CPCG06F11/221G06F13/4004
Inventor 吴齐林永铖郑君彬陈志军吴翔龙吴伟
Owner GUANG DONG GREENWAY TECH CO LTD