From fb68ba63f3c3a28a60ecde196a094edfc917bf91 Mon Sep 17 00:00:00 2001 From: travisutk Date: Sat, 15 May 2010 00:59:50 +0000 Subject: [PATCH 1/1] Corrections to MSP430 client. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@501 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETMSP430.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.""" -- 2.20.1