Two more peekword() instances.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 21 Feb 2011 22:34:58 +0000 (22:34 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Mon, 21 Feb 2011 22:34:58 +0000 (22:34 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@934 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/GoodFETConsole.py
client/goodfet.monitor

index 3612007..8f6eba8 100644 (file)
@@ -99,7 +99,7 @@ class GoodFETConsole():
         adr= self.client.name2adr(adr);
         #print "%i" % adr;
         print "0x%08x:= 0x%04x" % (
         adr= self.client.name2adr(adr);
         #print "%i" % adr;
         print "0x%08x:= 0x%04x" % (
-            adr, self.client.peekword(adr,
+            adr, self.client.peek16(adr,
                                   memory));
     def CMDflash(self,args):
         file=args[1];
                                   memory));
     def CMDflash(self,args):
         file=args[1];
index bf45eaa..8e90c59 100755 (executable)
@@ -121,7 +121,4 @@ if(sys.argv[1]=="verify"):
             if(i%0x100==0):
                 print "%04x" % i;
 
             if(i%0x100==0):
                 print "%04x" % i;
 
-if(sys.argv[1]=="whatever"):
-    for i in [0x24FF, 0x2500, 0x2502, 0x2504]:
-        print "%04x" % client.peekword(i);