Skip to main content

Configuring the Runtime

In version V3.5 SP14 and higher, CODESYS Control for Raspberry Pi also supports multicore-capable hardware (Raspberry Pi 2 and Raspberry Pi 3). The runtime system can be operated in three different modes for this:

  • Multicore 64-Bit (Aarch64): This mode uses a multicore-capable runtime in 64-bit mode and has to be run with a device description which is optimized for it.

  • Multicore 32-Bit (ARMv7): This mode uses a multicore-capable runtime in 32-bit mode and has to be run with a device description which is optimized for it.

  • Default: This mode can be used for all Raspberry Pi variants and is compatible with earlier versions of CODESYS Control for Raspberry Pi (including the device description). It does not support CODESYS multicore functionality.

A mode is automatically preselected when the Raspberry Pi runtime system is installed. You can see which mode has been selected in the log window. To change the mode, first select the Raspberry Pi runtime system in the list of services. After a short loading time, the current runtime architecture is displayed on the right-side.

You can select the desired architecture via the Runtime system architecture list box. Click Save to transfer the change to the device.

Important

The mode which can be used also depends on the operating system image being used. If you use a purely 64-bit image, then only the 64-bit mode can be used. If you use a purely 32-bit image, then only the 32-bit modes can be selected. Depending on the hardware used (Raspberry PI 2B, PI 3, PI 4, etc.), only selected modes are supported. (see tooltip).

Important

If you want to switch modes, you need to make sure that the matching device description is configured in the project. Otherwise communication with the controller is no longer possible. Existing boot applications on the controller can no longer be loaded after switching. They have to be downloaded again to the controller with the matching device description.