Technical FAQs

Ask a Question

Can I reflash a SoMachine PLC firmware without erasing the program inside?

Issue:
Can I reflash a SoMachine PLC firmware without erasing the program inside?

Product Line:
All SoMachine controllers

Resolution:
It's possible to prepare a USB stick with firmware update files on it (same firmware as the one currently running in the PLC).
In order to keep the program inside the PLC intact, you have to remove the lines in the script that erases user data.

This script is in \sys\Cmd\Script.cmd

For example :
UpdateXloader "/bd0/xloaderV9_CRC_RevBA_333.uimg"
UpdateVxboot "/bd0/vxboot.bin"
Delete "/sys/*"
Delete "/usr/*"
Download "/sys/OS/*"
Download "/sys/Web/html/*"
Download "/sys/Web/site/*"
Download "/sys/Web/index.htm"
Download "/sys/Web/favicon.ico"
Download "/sys/Web/config.js"
Reboot

Remove "Delete "/usr/*" in this case.
In some cases the command "Format" is used instead of "Delete "/usr/*". Remove "Format" then.

Once re-flashed with the modified USB stick, the controller should be able to boot properly.
Was this helpful?
What can we do to improve the information ?