Erase User-Defined Flash Memory on R Series Hardware

Updated Jan 17, 2023

Reported In


  • PCI-7811
  • PXI-7811
  • PCI-7813
  • PXI-7813
  • PCIe-7820
  • PXIe-7820
  • PCIe-7821
  • PXIe-7821
  • PCIe-7822
  • PXIe-7822
  • PCI-7830
  • PXI-7830
  • PCI-7831
  • PXI-7831
  • PCI-7833
  • PXI-7833
  • PCIe-7841
  • PXI-7841
  • PCIe-7842
  • PXI-7842
  • USB-7845
  • PCIe-7846
  • USB-7846
  • PXIe-7846
  • PXIe-7847
  • PCIe-7851
  • PXI-7851
  • PCIe-7852
  • PXI-7852
  • PXI-7853
  • PXI-7854
  • USB-7855
  • PCIe-7856
  • PXIe-7856
  • USB-7856
  • PCIe-7858
  • PXIe-7858

Issue Details

How Do I Erase user-Defined Flash Memory on My R Series Hardware?


The 78XXR's user-defined flash memory consists of calibration metadata which includes a calibration password and calibration comments. Below are the steps to erase each one of those.

Calibration Password

The default factory password for 78XXR devices is NI.  To reset the password a default or known value, follow the steps below:
  1. Navigate to <labview>\vi.lib\LabVIEW Targets\FPGA\RIO\R Series\78XXR\783XR\Calibration\Public\.
  2. Open and input the current password in password.
  3. Set the newPassword to a known value and run the VI tool. The maximum length of the password is 4 characters.
Figure 1: Adjusting the external calibration password.

Calibration Comments

The default factory comment for 78XXR devices is an empty string.  To reset the calibration comments to known or default values, follow the steps below:
  1. Navigate to <labview>\vi.lib\LabVIEW Targets\FPGA\RIO\R Series\78XXR\783XR\Calibration\Public 
  2. Open
  3. Input the known password in Password.
  4. Change Comments to a known value. The maximum length for the comments is 4094 characters.
Complete the R Series Calibration Procedure steps for adjustment to initialize, adjust, and commit the new comments to memory.
Figure 2: Committing the user-defined data for external calibration.

For a complete list of onboard memory for your device and how to clear and sanitize user-defined data, refer to the Letter of Volatility for your device.

Additional Information

Password Validation

If you wish to validate that the password has been updated for additional confirmation, any calibration VI within <labview>\vi.lib\LabVIEW Targets\FPGA\RIO\R Series\78XXR\783XR\Calibration\Public\, which uses the password can be used to confirm that the updated password now works, including the VI used in the steps above. 

You will receive Error 65992: Incorrect calibration password specified if the password input you provide does not match what is stored in memory.

Comments Validation

If you wish to validate that User Comments have been updated for additional confirmation, use one of the following methods:

Method 1:
Use the within the <labview>\vi.lib\LabVIEW Targets\FPGA\RIO\R Series\78XXR\783XR\Calibration\Public\ directory to confirm that the comments have been updated to the expected value.

Method 2:
Use the NI 78XXR Calibration Utility to read back the User comments section, as shown in Figure 3 below:
Figure 3: NI 78xxR Calibration Utility User Interface.