Supported platforms: CODESYS 3.5 SAFETY, CODESYS 3.5
|
The easiest way to update firmware is to use Epec CANmoon software (available in Epec extranet).
|
Firmware can be updated through CAN by another CANopen device (SDO block transfer and normal (segmented) transfer supported).
For more information about SDO block transfer, refer to CiA DS301 (chapter 9.2.2 Service Data Object (SDO).
|
If downloaded binary file is rejected by control unit (e.g. corrupted file) during the firmware installation, then normal operation is resumed after reboot using the current valid firmware in the unit. |
Control unit updating is protected by password. Protection must be unlocked before firmware download is possible.
For more information and necessary steps, follow the Unlocking SW protection guide to enable updating through CAN before downloading firmware binaries.
Step |
CANopen data |
Description |
1 |
Download Firmware binary file (for example firmware.bin) to index 1F50h sub-index 2h |
Downloads the firmware binary to the control unit. |
2 |
Download eTPU binary file (for example eTPU.bin) to index 1F50h sub-index Dh |
Downloads the eTPU binary to the control unit.
|
3 |
- |
Reboot control unit after download is finished. New firmware is installed after bootup. |
4 |
- |
Reboot control unit after firmware install is finished. |
|
Optionally, it is possible to download user application after firmware binaries before rebooting the control unit. For more information, see Downloading PLCopen Application. |
|
After the firmware download is finished and the control unit is rebooted, the new firmware installation is indicated by alternating red / green blinking LED. Installation is finished successfully when the LED colors blue & green are set ON. Installing new firmware typically takes 15 seconds. Required time depends on amount of binaries updated and binary sizes. |
|
The control unit does not automatically start to run in normal operation after new firmware is installed. A second reboot is required after installation is finished to continue normal operation. |
Source file topic100361.htm
Last updated 21-Feb-2025