Modify the Firmware on My NI 9881 CANopen C Series Module

Updated Dec 21, 2022

Environment

Hardware

  • NI-9881

Software

  • LabVIEW

Driver

  • NI-Industrial Communications for CANopen

I have a C Series CANopen module in my CompactRIO chassis which is reporting that it needs a firmware update.
  • However, the device does not show up properly in NI MAX and therefore I can't access the option to perform an upgrade.
  • It also might not show up at all in a LabVIEW project, when another C Series CANopen module does.
  • An error message pops up, telling me that I don't have installed the right firmware on the module.
How can I upgrade the firmware for the module?

The C Series CANopen modules require a specific configuration to be deployed to the FPGA in order for the cRIO and MAX to access it.
  1. Ensure all of the proper software is installed:
    1. On the host computer:  LabVIEW, LabVIEW Real-Time, LabVIEW FPGA, NI CompactRIO Device Drivers, NI-Industrial Communications for CANopen in following order.
    2. On the cRIO: NI-CANopen; A detailed instruction can be found in: Install NI Software on Your CompactRIO Controller.
  2. Specifying the Controller and FPGA Settings to Locate the NI 9881 Module:
    1. If you are using cRIO-903x/904x/905x/906x, go to step 3. Otherwise, navigate to the labview\examples\NI-Industrial Communications for CANopen\Utility\Module Firmware Tool\subVIs directory and launch the CANopen cRIO FPGA Compile Instructions VI file. Follow the instructions on the front panel.
  3. Running a VI to Update the Firmware:
    1. If using a cRIO 904X/905X, please follow this link to know how to update the firmware. If not, continue with the following steps.
    2. Launch CANopen Module Firmware Update.lvproj from the labview\examples\NI-Industrial Communications for CANopen\Utility\Module Firmware Tool directory and add the controller, which has NI 9881 installed on Slot 2, to the LabVIEW project.
    3. Add the NI 9881 module to the Real-Time resources of the Chassis. Select an option to add New target or device and choose C Series Module. Choose NI 9881 and Location Slot 2.
    4. Deploy the setting of the Chassis.
    5. Add the Module Firmware Update VI in the labview\examples\NI-Industrial Communications for CANopen\Utility\Module Firmware Tool directory to the controller. Don't add this VI on the level of Host, neither FPGA. Follow the instructions on the front panel of the Module Firmware Update VI to update the firmware.
 

Additional Information

Please ensure you are have downloaded the correct corresponding version of the NI-Industrial Communications for CANopen for the Firmware version you wish to install. For example if you wish to install the 2016 version of the Firmware you must ensure that you have the 2016 version of the NI-Industrial Communications for CANopen driver.

Make sure to use the right Controller when updating the firmware. Some controllers have to be set to Scan Engine, while others need to be set to FPGA Target.

The module cannot be installed with the MAX, as the MAX doesn't have a connection to the module.