Automatic generation method and device for A2L file

A technology of automatic generation and documentation, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of investing a lot of manpower and material resources, affecting product quality, and numerous parameters, so as to ensure quality and save manpower and material resources. Effects in simple steps

Active Publication Date: 2013-06-05
BEIQI FOTON MOTOR CO LTD
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the content (virtual address) that needs to be replaced has a single form, there are many parameters. If you modify it manually, you need to invest a lot of manpower and material resources
In addition, manual modification by manpower is not only time-consuming, but also the replacement process is prone to errors, which affects the quality of the product

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
  • Automatic generation method and device for A2L file
  • Automatic generation method and device for A2L file
  • Automatic generation method and device for A2L file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0031] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or element refe...

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 an automatic generation method and a device for an A2L file. The method comprises the steps of obtaining a source A2L file and a mapping file, wherein the source A2L file is provided with a virtual address, analyzing the mapping file so as to obtain section information and variable information in the mapping file, generating a first hash table according to the section information, generating a second hash table according to the variable information and the first hash table, identifying a type of a piece in the source A2L file according to a piece identifier in the source A2L file, if the piece is a first-type piece, enabling the virtual address in the first-type piece to be replaced by a physical address according to the second hash table, enabling the first-type piece with the address replaced to be written into a new A2L file, and if the piece is a second-type piece, enabling the second-type piece to be directly written into the new A2L file. According to the automatic generation method and the device for the A2L file, the A2L file can be rapidly and automatically generated, man power is saved, accuracy is high, and the quality of a product is improved.

Description

technical field [0001] The invention relates to the technical field of automobile manufacturing, in particular to an automatic generation method and device of an A2L file. Background technique [0002] At present, in the field of automotive electronic controller development, the international V-word development mode is applied. First, the MATLAB control model is designed according to the control requirements, and the C code and the source A2L are generated by using the MATLAB automatic code generation function. The C code and the underlying driver function are compiled and integrated to generate the target. Run the code, and the source A2L file parameter address is a virtual address, you need to find its real address from the compiled map file (mapping file) and replace it before it can be used for calibration. Although the content to be replaced (virtual address) has a single form, there are many parameters, and a large amount of manpower and material resources are required...

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): G06F17/30
CPCY02D10/00
Inventor 左从兵张春淮周平杜晓佳李然
Owner BEIQI FOTON MOTOR CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products