From: travisutk Date: Sat, 15 May 2010 00:59:50 +0000 (+0000) Subject: Corrections to MSP430 client. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=fb68ba63f3c3a28a60ecde196a094edfc917bf91;hp=5cbc5625c78ae7333ffcdfeac0fe3bfbfdc95311 Corrections to MSP430 client. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@501 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFETMSP430.py b/client/GoodFETMSP430.py index bb20bfe..671bccd 100644 --- a/client/GoodFETMSP430.py +++ b/client/GoodFETMSP430.py @@ -30,7 +30,7 @@ class GoodFETMSP430(GoodFET): CoreID=ord(self.data[0])+(ord(self.data[1])<<8); return CoreID; def MSP430deviceid(self): - """Get the Core ID.""" + """Get the Device ID.""" self.writecmd(self.MSP430APP,0xF1); DeviceID=( ord(self.data[0])+(ord(self.data[1])<<8)+ @@ -86,7 +86,7 @@ class GoodFETMSP430(GoodFET): self.JTAGID=ord(self.data[0]); #print "Identified as %02x." % self.JTAGID; if(not (self.JTAGID==0x89 or self.JTAGID==0x91)): - print "Error, misidentified as %02x." % self.JTAGID; + print "Error, misidentified as %02x.\nCheck wiring, as this should be 0x89 or 0x91." % self.JTAGID; self.MSP430haltcpu(); def MSP430haltcpu(self): """Halt the CPU."""