An electronic unit for fill level measurement, pressure measurement or density measurement of a medium in a vessel, in particular for a measuring device or an evaluation device, the electronic unit comprising: a first processor comprising a first memory area; and a second processor configured to receive measurement signals of a fill level sensor, pressure gauge or density meter, the second processor having a second memory area, and wherein the second memory area is divided into at least a third memory area and a fourth memory area which are separate from each other, wherein the third memory area stores those program modules which are required for the safe operation of the fill level sensor, pressure gauge or density meter and are thus classified as safety-critical, and wherein the fourth memory area stores the data intended for transmission to the first processor; wherein the first processor and the second processor are configured to execute program modules; wherein the electronic unit is configured to execute safety-critical and non-safety-critical program modules; wherein the first processor is configured to perform only the non-safety-critical program modules and the second processor is configured to perform the safety-critical program modules; wherein the second processor satisfies higher security requirements than the first processor; wherein the first processor and the second processor are configured to exchange data with each other; wherein the electronic unit is configured that data exchange from the second processor to the first processor takes place only between the second memory area of the second processor and the first memory area of the first processor, and wherein the electronic unit is configured that a data transfer from the third memory area to the fourth memory area is only unidirectional. a first processor comprising a first memory area; and a second processor configured to receive measurement signals of a fill level sensor, pressure gauge or density meter, the second processor having a second memory area, and wherein the second memory area is divided into at least a third memory area and a fourth memory area which are separate from each other, wherein the third memory area stores those program modules which are required for the safe operation of the fill level sensor, pressure gauge or density meter and are thus classified as safety-critical, and wherein the fourth memory area stores the data intended for transmission to the first processor; wherein the first processor and the second processor are configured to execute program modules; wherein the electronic unit is configured to execute safety-critical and non-safety-critical program modules; wherein the first processor is configured to perform only the non-safety-critical program modules and the second processor is configured to perform the safety-critical program modules; wherein the second processor satisfies higher security requirements than the first processor; wherein the first processor and the second processor are configured to exchange data with each other; wherein the electronic unit is configured that data exchange from the second processor to the first processor takes place only between the second memory area of the second processor and the first memory area of the first processor, and wherein the electronic unit is configured that a data transfer from the third memory area to the fourth memory area is only unidirectional.