Nearing support for the MSP430F2618 in lieu of the 1612.
[goodfet] / firmware / Makefile
index 8b7eed7..75ada15 100644 (file)
@@ -1,6 +1,6 @@
 
 PORT=/dev/ttyUSB0
-BSL=msp430-bsl --invert-reset --invert-test -c $(PORT) --speed=38400
+BSL=../../contrib/tos-bsl --invert-reset --invert-test -c $(PORT) --speed=38400
 
 #mcu=msp430x2618
 mcu=msp430x1612
@@ -24,9 +24,13 @@ run:
        ../client/goodfet.msp430 test
 
 install: $(app).hex
-       $(BSL) -e -p $(app).hex 
+       $(BSL) -e
+       #$(BSL) -p info.txt || true  #MSP430F2xx targets only, inelegant.
+       $(BSL) -p $(app).hex 
 verify:
        $(BSL) -P $(app).hex -v $(app).hex
+dumpinfo:
+       $(BSL) --dumpinfo -c /dev/ttyUSB0
 $(app): $(app).c $(libs) $(apps)
 $(app).hex: $(app)
        msp430-objcopy goodfet -O ihex goodfet.hex