摘要:
A method and a device for modifying data and programs and for writing the data and programs into at least one first non-volatile memory of a computer system, in particular a memory of a control unit of a vehicle. In this context, the data and programs are divided into at least first and second data and programs, at least the second data and programs being worthy of backup, or containing backup-worthy data and programs. However, the old second data and programs in the assigned original sector are not erased until new second data and programs are written into a second memory sector not corresponding to the original sector, and a copying program is written into a second volatile memory. The copying program writes the new second data and programs from the second memory sector into the original sector. As a result, there is no need to create a backup copy of the backup-worthy data and programs. Thus, the old second data and programs are not erased by an erase command sent by a programming unit, and they then assume execution of the sequencing control.
摘要:
The present invention relates to a method for operating a control unit for controlling or regulating a function of a motor vehicle. The control unit includes a programmable memory device. The control or regulation is realized by executing a computer program (P0) at least partially stored in the memory device and by using data (D0) stored at least partially in the memory device. In order to offer the most efficient protection against manipulation of the contents of the memory device by an unauthorized person, it is provided that, at least following a modification of the computer program (P0) stored in the memory device or of the data (D0) stored in the memory device, the modified computer program (P1) is executed only and/or the modified data (D1) are used only if the modified computer program (P1) and/or the modified data (D1) has/have been successfully verified.