Modify the Firmware on My NI 9881 CANopen C Series Module

Updated Feb 13, 2019

Reported In

Hardware

  • NI-9881

Software

  • LabVIEW

Driver

  • NI-Industrial Communications for CANopen

Issue Details

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?

Solution

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. 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.
    2. 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.
    3. Deploy the setting of the Chassis.
    4. 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

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. 

WAS THIS ARTICLE HELPFUL?

Not Helpful