Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Bus error recovery processing method

A recovery processing, bus error technology, applied in the field of CAN bus, can solve problems such as abnormal work

Active Publication Date: 2010-07-21
HUAWEI TEHCHNOLOGIES CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that after the existing nodes enter the "bus off state", there is no corresponding effective operation for processing, causing the CAN controller to monitor the level on the bus all the time, and only 11 consecutive hidden It enters the normal state (active error state) after the character is set, causing the node in the bus-off state to wait for the satisfaction of the monitoring condition, and cannot work normally

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
  • Bus error recovery processing method
  • Bus error recovery processing method
  • Bus error recovery processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following are specific embodiments of the present invention and in conjunction with the accompanying drawings, the technical solutions of the present invention are further described, but the present invention is not limited to these embodiments.

[0019] The node in this bus error recovery processing method is connected on the CAN bus, comprises CAN controller and master controller (MCU), CAN controller and master controller (MCU) have error detection module and error handling mechanism module respectively, error The detection module can perform error detection on the CAN bus and the node itself. The CAN controller MCP2510 has two error counters: Receive Error Counter (REC) and Transmit Error Counter (TEC). And the main controller (MCU) can read the value of these two counters, these two counters carry on the counting up and down according to the CAN bus specification. In this bus error recovery processing method, each node can be in the three states of "active err...

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 a bus error recovery processing method, which belongs to the technical field of CAN buses. The invention solves the problem that when the existing bus node enters a bus-off state by error, the bus node is difficult to recover to a normal operation state. In the bus error recovery processing method, the node detects the error and enters the 'bus-off state' to carry out error recovery processing operation which comprises the following steps: a, an error detection module detects error from time to time, and meanwhile, an error handling module controls the node to be in a corresponding state according to the counted error detected by the error detection module; b, a main controller controls the node to be disconnected with the CAN bus; c, the disconnection time T0 is kept, and when the time T0 is up, the step d is carried out; d, the main controller controls a CAN controller to be restarted up; and e, the CAN controller monitors the level signal of the CAN bus. The bus error recovery processing method has the advantage of timely eliminating the error detected on the node.

Description

technical field [0001] The invention belongs to the technical field of CAN bus, and relates to a bus error recovery processing method. Background technique [0002] The CAN protocol provides a complete error detection and error status mechanism, which can detect CRC errors, confirmation errors, format errors, bit errors and bit stuffing errors, etc. When a node detects a bus error, it will send an error frame to the All other nodes report. The sending of error messages will be aborted and resent as soon as possible. And according to the count value (Tx, Rx) of the internal error counter, each CAN node can be set to three working modes: active error state, passive error state and bus off state. [0003] When the sending error or receiving error count is less than 128, the node is in the "active error state"; when an error occurs or the receiving error count is greater than 128, the node is in the "passive error state"; and when the error count is greater than 256, the node ...

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
IPC IPC(8): H04L12/40H04L12/26
Inventor 李书福杨健赵福全朱祝阳蔡伟杰李亚南熊想涛王建磊郑士岑丁武俊陈文强由毅
Owner HUAWEI TEHCHNOLOGIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products