US 11,868,627 B2
Method for operating a processing unit
Jens Breitbart, Wildeck (DE); and Sebastian Hoffmann, Bietigheim-Bissingen (DE)
Assigned to ROBERT BOSCH GMBH, Stuttgart (DE)
Filed by Robert Bosch GmbH, Stuttgart (DE)
Filed on Mar. 30, 2021, as Appl. No. 17/217,590.
Claims priority of application No. 102020207616.2 (DE), filed on Jun. 19, 2020.
Prior Publication US 2021/0397353 A1, Dec. 23, 2021
Int. Cl. G06F 3/06 (2006.01); G06F 9/455 (2018.01); G06F 11/16 (2006.01)
CPC G06F 3/0631 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01); G06F 9/45558 (2013.01); G06F 11/1666 (2013.01); G06F 2009/45583 (2013.01)] 9 Claims
OG exemplary drawing
 
1. A method for operating a processing unit, the method comprising the following steps:
addressing, by the processing unit, virtual memory areas to access a RAM memory unit, each individual virtual memory area of the virtual memory areas being respectively mapped onto a respective physical memory area of the RAM memory unit;
performing a check of the RAM memory unit for errors;
designating, when, during the check of the RAM memory unit for errors, a physical memory area of the RAM memory unit is determined to have a hardware defect, the physical memory area having the hardware defect as faulty;
performing a check to determine whether a free physical memory area exists in the RAM memory unit onto which no virtual memory area is mapped and which is not designated as faulty;
mapping, when the free physical memory area exists, a virtual memory area, currently mapped onto the physical memory area determined to have the hardware defect and designated as faulty, to the free physical memory area; and
when the free physical memory area does not exist:
determining, depending on which concrete processes executing in the processing unit access the individual virtual memory areas, whether the virtual memory area currently mapped onto the physical memory determined to have the hardware defect and designated as faulty should be mapped onto another one of the respective physical memory areas, and
based on the determination, selecting a process of the concrete processes to deactivate, deactivating the selected concrete process, and mapping the virtual memory area currently mapped onto the physical memory area determined to have the hardware defect and designated as faulty, to the respective physical memory area onto which a virtual memory area of the individual virtual memory areas accessed by the selected concrete process is mapped.