02-12-2016 03:12 PM
I have a cRIO-9066 which I am actively developing on. I am having a lot of difficulting reliably replacing the FPGA bitmap on it. My current method is to run a VI doing the following:
This works sometimes. Other times, I need to do a soft reboot of the 9066 to get it to work. Other times, I need to do a power cycle reboot to get it to work. Even that does not work at other times, then it will mysteriously update after I play around with it awhile. I am sure I am missing something. Any ideas?
Case statement should be where the broken wires are.
02-15-2016 03:51 AM
Are you just trying to run the bitfile when your application runs, or are you trying to have it run headlessly (i.e. run at startup)?
If it's the former, just have your application run/download the bitfile when it starts up:
The open reference will automatically download the bitfile to the target (if it's not the same) and if the box is ticked, run it. No need to reset / download / abort first.
If it's the latter, did you know you can update the bitfile from NI MAX? Select the FPGA target and you have the following options:
Finally, in your FPGA build specification, there's an option here:
02-15-2016 07:03 AM
Thanks for info, but what you suggested does not work. That is what I started with. I believe the core of my problem is that if the FPGA is running, it will not update. Thus, I try to make sure it is NOT running when I start, since I am in an R&D enviroment and things change and get aborted in unclean ways a lot. At the moment, I try to remember to hard reboot (power off) the controller before tryinng to run an update. However, when I am working remotely, that is not possible. Thus, the question...