ޱĵ
 
sales@ecucoder.com
400-685-6859

 

       Along with the development of the automobile electronic rapid, different ECU equipment as the network nodes involved in vehicle network, in order to guarantee the smooth of the vehicle network and communication protocol is correct, should be carried out for vehicle communication network based on the communication protocol of the diagnostic tests. Look from the level of the diagnostic test mechanism, ECU internal mechanism of diagnostic tests is determined by the upper application, and the diagnosis of ECU external communication by diagnostic tools and target ECU based on diagnostic protocol interactions. In order to implement the communication mechanism and function between the diagnostic equipment and the ECU, a set of protocols from the physical layer to the upper layer is called the communication diagnostic protocol stack.
       The diagnostic protocol stack mainly includes hardware driver, transport layer and diagnostic service layer.

This project provides a diagnostic system to meet the functional requirements of the ECU fault diagnosis protocol and program download (reprogramming). The development of the upper and lower computer software is required:
       Software of the lower computer: the protocol stack software running in ECU, including the communication protocol stack and FlashBootloader software, belongs to embedded software development;
       Upper computer software: diagnostic software.


The international standard diagnostic protocols for this project include:
       ISO 14229 Road vehicles — Unified diagnostic services (UDS) — Specification and requirements
       ISO 15765-1 Road vehicles — Diagnostics on Controller Area Networks (CAN) — Part 1: General information
       ISO 15765-2 Road vehicles — Diagnostics on Controller Area Networks (CAN) — Part 2: Network layer services
       ISO 15765-3 Road vehicles — Diagnostics on Controller Area Networks (CAN) — Part 3: Implementation of unified diagnostic services (UDS on CAN)
This agreement is widely adopted in the global automobile industry, and the content is perfect, reliable and universal.


 

       According to the user based on UDS on CAN controller to diagnose functional development needs, adopt huahai technology solution, including three parts: ECU terminal protocol stack implementation code, diagnostic software and test cases. The protocol stack is tailored and configured according to specific requirements such as main chip, communication bus type and communication protocol adopted by ECU.

 
(һ) ECU protocol stack implementation code: communication protocol stack software implementation ECU fault diagnosis, program download (programming) function, seamless integration with existing ECU application, does not affect the application of existing ECU algorithm, provide the source code and interface configuration software - ECUCoder Simulink model, compatible with UDS based on CAN common third-party general diagnostic equipment. 
(һ) ECU protocol stack implementation code: communication protocol stack software implementation ECU fault diagnosis, program download (programming) function, seamless integration with existing ECU application, does not affect the application of existing ECU algorithm, provide the source code and interface configuration software - ECUCoder Simulink model, compatible with UDS based on CAN common third-party general diagnostic equipment. 
() Related services, including test cases, integration development, training, and technical support.

 


The ECU end stack implementation code, as shown in the software architecture, includes the following four parts:
1)   CAN Driver - CAN drive: used for initialization and transceiver operation of CAN controller and transceiver;
According to the communication requirements of this project, the CAN drive module shall have the following functions:
       •  Initialize CAN controller
       •  Send CAN message
       •  Set CAN controller mode
       •  Provide interrupts and polling in two ways
       •  Provide enable/disable CAN controller hardware interrupt
       •  Receiving the instruction of CAN message
       •  Send a confirmation notice of CAN message
       •  Bus Off processing
       •  Wake up the processing
       •  CAN controller mode jump processing
Responsible for configuring the CAN drive module and providing integrated services for the target electronic control unit.


2)   Transport Layer, Transport Layer: is responsible for the diagnostic Layer data unpacking (the length more than 8 bytes of data, is broken up into packets, and then made by CAN bus) and packaging (inverse process of unpacking).
The main functions are as follows:
       •  Transmission of single packets and multi-packet messages;
       •  Provide receiving instructions and send confirmation notification mechanism;
       •  Provide error and timeout monitoring mechanisms and corresponding notification mechanisms.

3)   Diagnostics and Layer - diagnosis Layer: used to calibrate the data and fault information processing, namely receives the tool calibration after the command, diagnosis Layer will be made to application data read/modify request, completed by the application data operation;

The main functions are as follows:
       •  Manage diagnostic data flow (i.e., diagnostic request/response);
       •  Manage diagnostic status, such as diagnostic session and security status;
       •  Implementation of diagnostic application layer correlation timing parameters P2/P2ext/S3;
       •  Support ISO 15765-3/ iso14229-1 diagnostic services;
       •  Provides diagnostic services associated with the application.
 
4)   FlashBootloader - completely meet ISO 15765 standard FlashBootloader program online flash program, Bootloader module based on ISO 15765-2, ISO 15765-3 standard development, each functional module software architecture shown in the diagram below, for application to download.

5)   Simulink\ECUCoder model interface configuration software.
Application software interface configuration and standardized diagnostic data format engineering file (ODX) generated based on Simulink model.

Diagnostic software (optional) :
Diagnostic software and ECU protocol stack software unify parameter display, program download (reprogramming) process, fault processing, etc., realize the following functions of ECU:
       •  Parameter display
       •  Fault diagnosis communication
       •  Program download (reprogramming)
User interface through parameter configuration:
       •  Configure the upper and lower computer communication;
       •  Real-time monitoring of ECU internal variable value and its variation curve;
User through fault diagnosis interface, implementation:
       •  Read the ECU storage fault code;
       •  Clear the ECU to store the fault code.
Users download (reprogramming) interface through the program, and realize:
       •  Download the Flash drive, application through CAN communication to the ECU's RAM, Flash or EEPROM;
       •  On a CAN network composed of multiple ECU, current ECU application download updates.
Supported CAN communication adapter:
       •  USBCANII
       •  Kvaser (optional)
       •  Value (optional)

Related services
1)   Test cases
Provide test cases for various user requirements, including bus tool handball, DTS, Vehicle SPY, etc.

2)   Code integration and delivery.
According to the customer's demand, we will help the customer to do the following work:
       •  According to the customer's demand, we will help the customer to do the following work:
       •  Integration of diagnostic software and user applications (optional)
       •  Integration of driver and user applications (optional)
       •  Delivery of source code
       •  Submit process documentation and instructions.
3)   Training (Customization)
In the process of integration services, in order to enable users to better master the use of the code and tools, we will provide related knowledge training, including the principle of integration method, the tool usage, etc.

4)   Technical support
Provide technical support for software source code, including email, telephone communication and field service.

 
 
 
 
  Consulting service
  Development consultation
  Test service
  Functional safety
 
  Training support
  Data download
  Video Center
  training center
  Case sharing
 
  News
  news
  Product dynamics
  Market activity
 
  About us
  Company profile
  Contact us
  Join us
  honor
 


WeChat public number
Copyright 2011-2018 Huahai Technologies Co., Ltd. All Rights Reserved. ICP12005423 TEL400-685-6859 վ֧֣3A