fix endianness in device descriptor
[goodfet] / client / GoodFETMSP430.py
index fc8e99b..4d84a44 100644 (file)
@@ -5,7 +5,7 @@
 #
 # Presently being rewritten.
 
-import sys, time, string, cStringIO, struct, glob, serial, os;
+import sys, time, string, cStringIO, struct, glob, os;
 
 from GoodFET import GoodFET;
 
@@ -153,6 +153,8 @@ class GoodFETMSP430(GoodFET):
         0xf26f: "MSP430F261x",
         0xf237: "MSP430F23x0",
         0xf201: "MSP430F201x",
+        #Are G's and F's distinct?
+        0x2553: "MSP430G2553",
         
         #MSP430F1xx
         0xf16c: "MSP430F161x",
@@ -170,7 +172,7 @@ class GoodFETMSP430(GoodFET):
         0xF427: "MSP430FE42x", #or FW42x, F415, F417
         0xF439: "MSP430FG43x",
         0xf46f: "MSP430FG46xx", #or F471xx
-        
+        0xF413: "MSP430F413", #or maybe others.
         }
     def MSP430test(self):
         """Test MSP430 JTAG.  Requires that a chip be attached."""