I need to update the flash on a ARM Cortex M3 using the compiled hex file thru a JTAG port. I make circuit board test fixtures and will need to update the firmware if it is not the latest. I use TestStand and Labview on a Windows XP PXI system. I have a DAQ 6289 but can add on more modules if I need to. What would be the best way to do this?
Solved! Go to Solution.
Are you working with the LabVIEW Embedded for ARM Module and trying to deploy a hex file created there? Or is this a seperate hex file you'd like to deploy to your board while testing with LabVIEW and TestStand? If you just need to deploy a hex file, you would use a program like FlashMagic to push the code to the board. This thread talks about methods of programming PICs with external programs called from LabVIEW:
It's different hardware but likely the same idea you can use: calling an executable that loads the hex file onto the board. Do you have the program you used to push the current software to the board?
I have the hex file from our design group only. I am not using the LabView ARM module. I believe I have found a solution using a ST-Link in-circuit programmer that will connect to the JTAG port on the board and it accepts command line controls that I can send using LabView. I have not tested this yet but I am confident it will work.
That's what we normally suggest, glad you found a command line accessible programmer to do it. Good luck!
Were you able to program the ARM Cortex using labview?
if so, could you share your VIs?
thanks a lot