FPGA Xilinx ISE 10.1 Compile Worker Failing During Local Compilation

Updated Feb 28, 2019

Reported In

Software

  • LabVIEW
  • FPGA Xilinx Compilation Tools
  • LabVIEW FPGA Module

Issue Details

I have the LabVIEW FPGA Module with Xilinx Compilation Tools ISE 10.1 local compile worker installed. When I try to compile locally, the compile worker starts the job, runs for some amount of time, then terminates with this error: 
 

The compile worker terminated this compilation unexpectedly, and there were no other compile workers available to restart this compilation.
 

When accessing the Worker Log via:
 

<C:\Program Files\National Instruments\FPGA\CompileWorker\workerLog.txt>
 

I see an error similar to the following:
 

CompileWorker.exe Error: 0 : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at NationalInstruments.NIFarm.NIFarmClient.NativeMethods.NIFarm_DownloadFile(String sessionId, String jobId, String fileName) at NationalInstruments.NIFarm.NIFarmClient.DownloadFile(String jobId, String fileName) at NI.LV.FPGA.CompileWorkerUI.CompileWorkerThread.ThreadMain()
 

How do I fix this error?

Solution

This issue can occur for a variety of reasons. To solve it, some of the initial troubleshooting steps to try include:
 

1. Try to run the FPGA Compile Worker as well as LabVIEW as administrator. You can do this by right clicking on both applications before opening them and selecting Run as Administrator
 

2. Verify all anti-virus and firewall programs on your PC are disabled and try to compile again.
 

3. You can try repairing the LabVIEW FPGA Module. This can be done by navigating to Control Panel » Programs and Features » National Instruments Software, and selecting Uninstall/Change and from there selecting Repair
 

4. Similarly, you may also try running a repair on Xilinx Compilation Tools ISE 10.1 as well.
 

If steps 1-4 are unsuccessful, there are two alternative steps that can be advisably taken, which may prevent the error appearing. These include:
 

  • Uninstall and reinstall the LabVIEW FPGA Module as well as the Xilinx Compilation Tools. Alternatively, you could force reinstall them.
  • Ensure there are no pending Windows updates on your PC and that there are no pending NI software updates. If there are any pending updates, it is recommended to install them to see if they may have been causing the issue.

Additional Information

The 2010 FPGA Module Xilinx Compilation Tools For ISE 10.1, designed for LabVIEW 2010, is the oldest compilation tools supported by NI hardware and software. Many bugs and issues were resolved in future releases of the tools.
 

Therefore, if none of the steps outlined in the Solution section alleviate the compilation issues, if possible, upgrade only the Xilinx Compilation Tools for ISE 10.1 to a newer year version, or preferably a full upgrade for all NI software components (LabVIEW, FPGA Module, Xilinx Compilation Tools).

WAS THIS ARTICLE HELPFUL?

Not Helpful