I'm new to CODESYS on the pi and I'm struggling to get it working.
My issue is that the runtime keeps stopping after approximately 15 seconds.
I have installed the runtime package 4.11.0.0 on the pi, trying on both a 64 bit and 32 bit OS. Looking at old forums it all references the 4B and the fact they used 32 bit Debian bullseye (the last version of raspberry pi os) however the pi 5 doesn't offer this version when I try select it in the imager.
Has anyone managed to get running using the pi 5?
Any help would be greatly appreciated.
Thanks,
Adam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys,
I'm new to CODESYS on the pi and I'm struggling to get it working.
My issue is that the runtime keeps stopping after approximately 15 seconds.
I have installed the runtime package 4.11.0.0 on the pi, trying on both a 64 bit and 32 bit OS. Looking at old forums it all references the 4B and the fact they used 32 bit Debian bullseye (the last version of raspberry pi os) however the pi 5 doesn't offer this version when I try select it in the imager.
Has anyone managed to get running using the pi 5?
Any help would be greatly appreciated.
Thanks,
Adam
Think this is bootloader related:
Workaround:
Use previous bootloader version
cp /lib/firmware/raspberrypi/bootloader-2712/stable/pieeprom-2024-01-15.bin ./pieeprom.bin
rpi-eeprom-config pieeprom.bin > bootconf.txt
rpi-eeprom-config --out pieeprom-new.bin --config bootconf.txt pieeprom.bin
sudo rpi-eeprom-update -d -f ./pieeprom-new.bin
sudo reboot
Can confirm this fixed my rpi5 problem!
After a second restart the old Bootloader will be activated.
To avoid use: sudo systemctl mask rpi-eeprom-update