Abstract:
A method for changing a software in the memory of an electronic control unit. A bypass routine is stored in the working memory of the electronic control unit, and the address of the bypass function is stored in a table. A service function reads the address from the table and calls the bypass routine. The bypass routine is replaceable at the run time of the electronic control unit by erasing the table entry. The call of the service function is integrated into the program code of the electronic control unit by an overlay memory, a memory management unit, or with the aid of watch points.
Abstract:
A method for manipulating a first function of a control program of an electronic control device, using a second function. The control program is processed using a first calculation kernel of a processor, and the second function is processed by a second calculation kernel during the processing of the control program. The first function assigns a first value to a variable and writes the first value to the storage address of the variable at a first time. The second function assigns a second value to the variable, which value is written to the storage address of the variable at a second time, wherein the second value written by the first function is overwritten. At a third time, the control program reads the second value from the storage address of the variable. A control entity coordinates the times at which the storage address of the variable is accessed.
Abstract:
A method for influencing a control program of a control unit, the control program having a plurality of first functions configured for controlling an actuator. The program code of the control program is examined for the occurrence of function calls, and the branch addresses and return addresses connected with the function calls, and the variables connected with the applicable first functions, are ascertained with the names of the variables and with the applicable memory addresses. The ascertained first functions and variables assigned to the applicable first functions are stored with the connected memory addresses in a first mapping table, and from a comparison of the first mapping table with a second predefined mapping table, function names are assigned to at least a portion of the first functions, and at least one first value of one of the variables is replaced by a second value.
Abstract:
A method for changing software in a memory of an electronic control unit, wherein each memory address from the overlay memory can be assigned to a memory address in the read-only memory by an assignment information item. During a run time of the control unit, at least a functional part of a bypass routine that is to at least partially replace an original program routine is stored in an address range in the overlay memory, or a jump instruction is stored in the overlay memory as the first part of a bypass routine that refers to a second part of the bypass routine that is stored in an address range accessible to the processor. To activate an overlay functionality the address and/or the address range of the overlay memory are assigned to an address or address range of the program routine to be replaced.
Abstract:
A method for influencing a control program having a plurality of first functions and at least one of the first functions is configured to control an actuator, and a memory is provided and the memory has memory regions occupied by subprograms assigned to the first functions, whereby there is a branch address in the program code of the control program when one of the first functions is called up that points to a memory address of the subprogram associated with the function call. The control program is analyzed for the occurrence of function calls, and the branch addresses, associated with the function calls, and addresses of the return commands are ascertained. One of the first functions is selected to be deleted. The first function is replaced by a second function, in which the program code of the selected first function is overwritten by the program code of the second function.