OSDN Git Service

V309
[fast-forth/master.git] / config / prog
index b717595..edfb4b6 100644 (file)
@@ -3,7 +3,8 @@
 device=$1
 if   [ ${device:0:16}  == "MSP_EXP430FR5739" ]; then
     device=MSP430FR5739
-elif [ ${device:0:16}  == "MSP_EXP430FR5969" ]; then
+#elif [ ${device:0:16}  == "MSP_EXP430FR5969" ]; then
+elif [ $device  == "MSP_EXP430FR5969" ]; then
     device=MSP430FR5969
 elif [ ${device:0:16}  == "MSP_EXP430FR5994" ]; then
     device=MSP430FR5994
@@ -18,7 +19,8 @@ elif [ ${device:0:16}  == "MSP_EXP430FR2433" ]; then
 elif [ ${device:0:16}  == "MSP_EXP430FR2355" ]; then
     device=MSP430FR2355
 fi
-echo $device
-echo $1
-/usr/local/MSPFlasher/MSP430Flasher -s  -n $device -v -w "$FF/binaries/$1.hex"  -z [RESET,VCC]
+echo
+echo target: $1, device: $device
+echo
+$HOME/ti/MSPFlasher_1.3.20/MSP430Flasher -s  -n $device -v -w "./binaries/$1.txt"  -z [RESET,VCC]