Firmware Update

The CU2508 has 2 different firmware versions, one for the FPGA and one for the controller.

The CU2508 must be operated in a special configuration for the determination of the current firmware version and for updating. It must therefore be removed from the application and is to be operated as an individual EtherCAT device on a TwinCAT system.

The following steps must be carried out in order to update:

1. TwinCAT

On the PC system used for programming, TwinCAT must have at least version 2.11R2 build 2021 or TwinCAT 3.1.

Firmware Update 1:
TwinCAT Version

2. ESI/XML description

The current CU2508 ESI/XML data must be present on the system; they can be downloaded from the download area on the Beckhoff web page and are to be saved under …"\ TwinCAT\Io\EtherCAT\".

3. Installation of the CU2508

Connect the CU2508 with its uplink to an Ethernet port on the master PC and connect the power supply. The port must be set up as a real-time port with the Beckhoff TwinCAT driver. The downports X1..8 must not be connected.

Firmware Update 2:
CU2508 structure

4. Creating the TwinCAT configuration

The CU2508 must now be added manually as an EtherCAT device. To do this, set up an EtherCAT device and specify the adapter to be used.

Instruction TwinCAT 2:

Open a new System Manager window. This causes the ESI data updated above to be read in again.

Firmware Update 3:
Right mouse click, Append device
Firmware Update 4:
Selection of the device "EtherCAT"
Firmware Update 5:
Selection of the Ethernet adapter

If the adapter you want is not visible, then the Beckhoff real-time driver is not yet installed on this adapter.

Now append the CU2508.

Firmware Update 6:
Right mouse click, Append device

If the device name is entered in the search mask (A) the overview is reduced in size. Activate the check boxes "ExtendedInformation" and "ShowHiddenDevices". As a result of this, a previously hidden element, the CU2508 configuration port, becomes visible (in this case: CU2508-0000-0016).

Firmware Update 7:
Selection of the CU2508-0000 configuration port

Select this device. The configuration now consists of the “EtherCAT Device” and the single slave CU2508.

Now ensure that the function is correct by restarting TwinCAT (B) in ConfigMode and carrying out ReloadIoDevices (press key F4). If the EtherCAT device is selected (A), the current State OP (D) and Traffic utilization (E) are displayed in the Online tab (C). Approx. 250 CyclicFrames per second are usual in the ConfigMode with a 4 ms cycle time; no lost frames or TXRXErrors may occur.

Firmware Update 8:
Online configuration

Instruction TwinCAT 3:

The procedure is the same as for TwinCAT 2: add the "CU2508 Configuration Port" to the selected EtherCAT adapter.

Firmware Update 9:
Append Configuration Port

Then check that it is operating correctly:

Firmware Update 10:
Check for lost frames and State: OP

5. Reading out the current ESI/FW version

On the basis of fig. Online configuration, EtherCAT ESI revision, controller and FPGA-FW can now be checked.

ESI Revision

When the system is running in ConfigMode, the revision found can be displayed by scan:

Firmware Update 11:
Display revision after scan

If the connected CU2508 carries a different revision, the following is displayed:

Firmware Update 12:
Display different revision

Controller firmware (*.efw)

Select device CU2508 (A); the online CoE directory of the device is displayed in the CoE-Online tab (B); the firmware version (in this case 01) is displayed in the index 0x100A (D). Note that in (C) “OnlineData” (green) is displayed.

Firmware Update 13:
Reading out the controller firmware version

FPGA firmware (*.rbf)

Select device CU2508 (A); press Advanced Settings ... (C) in the EtherCAT tab (B). There, select Memory (D) and read out the data starting from StartOffset 0E00 (E).
If the function is correct, the firmware version (here: 12) can be read at position x0E00 (F) and 2508dec at position x0E06.

Firmware Update 14:
Reading FPGA firmware

6. Firmware and ESI Update

On the basis of fig. Online configuration, if communication is working perfectly, an update of ESI, controller and FPGA firmware can be performed by right-clicking on the CU2508 device.

Firmware Update 15:
Update by right-clicking

ESI/XML- update

The ESI *.xml can also be overwritten by "EEPROM Update". Then select and program the corresponding XML revision of the "CU2508 Configuration Port".

Firmware Update 16:
Select XML revision
Firmware Update 17:

Display of the revision CU2508 slaves

Only the ConfigurationPort of the CU2508 is described with an updated ESI, if necessary. This is used to set some of the CU2508's properties. The CU2508 slaves running in regular EtherCAT operation always report with revision 0000 and cannot be programmed separately.

Firmware Update 18:
Display of the revision -0000

FW Update

The firmware is ideally downloaded to the CU2508 in bootstrap mode.

Firmware Update 19:
Update in Bootstrap Mode

FPGA update

The FPGA firmware is loaded by right clicking, this can take a few seconds.

Firmware Update 20:
Update FPGA firmware

A TwinCAT3 message window then appears:

Firmware Update 21:
Message window FPGA Update

The CU2508 must then be briefly switched to the de-energized state.