Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Erasing FPGA Flash Memory

Primary Software: LabVIEW Modules>>FPGA Module
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Reconfigurable I/O (RIO)>>R Series, CompactRIO>>Chassis (Backplanes)

Problem:
How can I erase the contents of the flash memory on my FPGA board?

Solution:
If you have the NI-RIO Driver 2.1 (or later) installed on your computer, then this can be done by using the RIO Device Setup Utility. This utility can be invoked through an open LabVIEW project (8.2 or later) containing your FPGA target. Right-click on your FPGA target in the Project Explorer and select RIO Device Setup to launch this utility, as illustrated below:

Once the utility is started, click on the Erase Bitfile on Flash button to erase the contents on the flash memory on the RIO device.

If you don't have LabVIEW 8.2 (or later) but do have NI-RIO 2.1 (or later) installed, then the RIO Device Setup Utility can also be invoked through your Windows Startup Menu, by clicking on Start » Programs » National Instruments » NI RIO » RIO Device Setup Utility.

To erase the contents of the flash memory if you have an older version of the NI-RIO driver, compile an empty FPGA VI and then download its bitfile to the flash memory. Whenever a new bitfile is downloaded to the flash memory, it will first erase the previous bitfiles and then download the new one.



Related Links:
Drivers and Updates: NI-RIO

Attachments:


Project_RIO_Device_Setup.JPG - Project_RIO_Device_Setup.JPG
Erase_FLASH_FPGA.JPG - Erase_FLASH_FPGA.JPG



Report Date: 03/29/2006
Last Updated: 11/26/2008
Document ID: 3VSE6QL7

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit