The present application relates to the technical field of vehicle-mounted
electronic control unit software development and testing, and discloses a kind of quick offline calibration method and
system of vehicle-mounted s19 file, the method is first obtained and related file information is supplemented variable complete information and forms variable set;Variable set is sorted and preprocessed using the monotone increasing characteristics of S19 file address;First variable is located in the
Record rewrite position of S19 file using dichotomy, and Merge table is established;Subsequent variables are positioned and updated Merge table according to the corresponding dichotomy boundary mode selected according to the Block index;For CURVE, AXIS, VAL_BLK and MAP type calibration quantity respectively, complete
information domain rewriting according to address continuous rule or matrix to one-dimensional
sequence rule;Loop
processing all variables to obtain the Merge table of
Record position monotone increasing, and then merge the
rewriting information to the original S19 file by dichotomy, and output the calibration file after updating
checksum.The present application reduces address matching error, significantly improves the efficiency and stability of vehicle-mounted S19 file offline calibration.