There is one prerequisite to upgrading XNET module firmware when using a cRIO chassis. FPGA code which is capable of communicating with the XNET module must first be compiled and deployed to the cRIO. This can be accomplished with the following a simplified version of the directions found in the Getting Started with CompactRIO section of the XNET manual
- Ensure all of the proper software is installed.
- On the host computer: LabVIEW, LabVIEW Real-Time, LabVIEW FPGA, NI-RIO, NI-XNET
- On the cRIO : NI-XNET
- Add modules to the project.
- Add the controller to the project and select LabVIEW FPGA Interface as the chassis mode when prompted.
- Add NI-XNET modules by right-clicking the chassis item (not the FPGA) and selecting New»C Series Modules»Existing target or device; then select your XNET device(s).
- If you cannot see your XNET device in this window, add it using the New target or device » C-Series Module, and then select your XNET modules.
- Compile and run an FPGA VI. An empty FPGA VI may be used; an existing VI will need to be recompiled to incorporate NI-XNET support for the configured slots.
With the XNET enabled FPGA Code deployed, the XNET module will appear in MAX under the cRIO and the firmware update process can start:
- Click the module and select Update Firmware. This will open an Update Firmware window.
- Select Begin Update.
- Wait for MAX to indicate a successful update.
Repeat these last three steps for all XNET modules as firmware versions must be consistent for all modules.