11-14-2013 03:23 PM
I dont know if it is possible but i have a couple of test that need to be done where multiple firmware is requiered to be downloaded to the pcb. So everytime i need to go and open Flash Pro(microsemi) and download firmware to the Actel FPGA and then go back to labview. I wonder if there is a way to do that from my labview Vi so that firmware will download automatically?
thanks
Solved! Go to Solution.
11-15-2013 07:52 AM
Hello,
Here is a toolkit that you might want to look in to for your application. It looks like you can download an evaluation version:
http://sine.ni.com/nips/cds/view/p/lang/en/nid/209852
Also, this forum post seems to discuss a similar topic that might have some useful information:
Thanks!
11-15-2013 07:56 AM - edited 11-15-2013 07:57 AM
Is there a command line tool for programming the device? I have worked with Microchip PICs before and there is a command line tool which allows you to specify the device type and the path to the binary program file and it will flash the device.
If there is a similar command line tool for your devices - you can use a System Exec.vi call to program the device from within LabVIEW.
11-15-2013 09:57 AM - edited 11-15-2013 09:58 AM
You should be able to make TCL scripts inside of your Flash Pro software. They have a macro generator that will just mimic what you do. Save off that TCL file. You can then load Flash Pro using the System Exec with a parameter pointing to that script file. Flash Pro will then run that script and close when done.
11-15-2013 10:09 AM
Thank you that seems a good idea... i will look in to that 🙂
12-13-2013 08:29 AM
It worked great so far in flash pro and keil...
thanks !!!
04-06-2020 05:04 PM
Thank you, everyone, for your input and I am glad I found this blog.
I wanted to ask if there's a way to retrieve the text output data that flashpro.exe outputs into LabView? Placing an indicator onto standard output and standard error terminals of Sys.exe vi doesn't help.
Thanks,
Rav.
04-07-2020 04:12 AM
standard error and standard output will only show what would be printed on the command line when you start your program in the Command Line Windows (cmd.exe). And this only works if you specifically set the boolean to wait for the program to finish to true.
If your program displays a GUI during run there is no easy way to retrieve the information from that GUI into LabVIEW.