Patent attributes
A method for generating a reprogramming file for reprogramming a target electronic control unit (ECU) in a target vehicle converts high-to-low level command conversions specific for the target ECU to generate Unified Diagnostic Services (UDS) operation transactions. The method converts high-level language diagnostic sequence commands into imperative language instructions that are compiled into binary code corresponding to handling routines. A binary image of the target ECU is segmented into a plurality of data blocks that are compiled along with respective the UDS operation transactions to provide a plurality of UDS stages. The plurality of UDS stages and the handling routines are assembled into the reprogramming file.