Method for designing general-type SAE J1939 protocol stack
A SAEJ1939, design method technology, applied in the direction of data exchange through path configuration, electrical components, transmission systems, etc., can solve the problems of large amount of code, poor application scalability, and difficult transplantation, and achieve high reliability and good error detection effect of ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] In order to make it easier for those skilled in the art to understand and implement the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0036] 1) Define software layering
[0037] Such as figure 1 As shown, the software is divided into hardware abstraction layer, middle layer and application layer, and a layered structure is also adopted on the application layer. According to SAEJ1939, it is divided into transport layer, diagnosis layer, network management layer, and online configuration layer.
[0038] The hardware abstraction layer realizes the standardization of the CAN bus controller driver. For the CAN bus controller with its own hardware buffer, it directly reads the hardware buffer data for processing by polling. For the CAN bus controller without hardware buffer If the controller is used, the CAN data is copied to the software buffer through the interrup...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 