Firmware
For the AUTD3 device to operate correctly, a version of the CPU / FPGA firmware compatible with the SDK must be flashed.
Firmware updates are performed using the Firmware tab of the GUI console autd3-console. See Console for how to obtain it.
OTA over an Ethernet cable
Section titled “OTA over an Ethernet cable”If both the CPU and the FPGA run firmware v0.10.0 or later, the device can be updated with nothing but an Ethernet cable. If either is v0.9.x or earlier (the EtherCAT firmware), the JTAG update described below is required.
Prerequisites
Section titled “Prerequisites”Complete the host network setup first.
Procedure
Section titled “Procedure”- Connect the AUTD3 and the PC with an Ethernet cable, then turn on the power
- Launch autd3-console and open the Firmware tab
- Select Version and Target (
Both/FPGA/CPU). Normally useBoth(note that updating only the CPU leaves the FPGA on a different version, and correct operation is then not guaranteed) - Make sure Method is OTA (the default)
- Enter the number of connected AUTD3 devices in Devices
- Set Interface if needed (the default is fine)
- Press Flash. Progress is shown in the log at the bottom of the panel. The CPU takes tens of seconds, the FPGA about 90 seconds per device
- The update is complete when
Ok!appears in the log. No power cycle is needed (after a CPU update the devices reboot and are enumerated again)
Do not power off the devices during the update. If the update fails, power-cycle the devices and try again.
If an error about a different protocol version appears
Section titled “If an error about a different protocol version appears”If the firmware on the device and autd3-console speak different versions of the communication protocol, OTA fails with an error such as the following.
the device speaks UDP protocol version 4, but this host speaks version 5In this case, flash it with the following steps.
- With the autd3-console of the same version as the firmware currently on the device, try flashing the firmware of the version you want to flash
- Keeping the power on, flash the same firmware once more with the autd3-console of the same version as the firmware you want to flash
Updating via JTAG
Section titled “Updating via JTAG”Prerequisites
Section titled “Prerequisites”Flashing the firmware requires the following external tools.
In each case, the executable must be on the PATH (on Windows, the installation location is detected automatically).
- FPGA flashing: Vivado (
vivado/vivado_lab) and a XILINX Platform Cable for the connection.
- CPU flashing: J-Link Software (
JLink/JLinkExe) and a J-Link Plus probe via a J-Link 9-Pin Cortex-M Adapter.
Flashing Procedure
Section titled “Flashing Procedure”
- Turn off the AUTD3 power
- Connect the cables described above. The connection points are as shown in the figure above.
- Turn on the AUTD3 power
- Launch autd3-console and open the Firmware tab.
- Select the version to flash from Version
- Choose the target to flash under Target (
Both/FPGA/CPU). - Choose
JTAGunder Method - Press Flash. Progress is shown in the log at the bottom of the panel. Flashing takes several minutes.
- After flashing completes, power-cycle the AUTD3 to apply the new firmware.