LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MSP430flasher.exe batch file

The lines below are from a batch file that downloads code to a MSP430 microcontroller.  I am executing it with the System Exec.vi, and it works fine.  Once.  When I try to execute it a second time the DOS window opens and immediately closes without downloading the program to the micro.  The only way to get it to run properly again is to quit LabVIEW and re-open it.  I get the same results with the development environment and the runtime.

 

Jim

 

@echo off
C:\MSPFlasher\MSP430Flasher.exe -w "C:\Folder\hex\ep1b.txt" -e ERASE_ALL -v -g -s -z [RESET, VCC=3300]
exit

Jim

LV 2020
0 Kudos
Message 1 of 2
(2,265 Views)

What's the scope of the VI? Are you modifying the code that will be uploaded to the MSP430 in it and downloading it to the target next?

0 Kudos
Message 2 of 2
(2,228 Views)