using cleint.peek for verify
authordodge-this <dodge-this@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 15 Nov 2012 05:13:00 +0000 (05:13 +0000)
committerdodge-this <dodge-this@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 15 Nov 2012 05:13:00 +0000 (05:13 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1335 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/goodfet.arm7

index 755df5c..97d2ea3 100755 (executable)
@@ -134,7 +134,7 @@ if(sys.argv[1]=="verify"):
     h = IntelHex16bit(f)
     for i in h._buf.keys():
         if(i>=start and i<stop and i&1==0):
-            peek=client.ARMreadMem(i)
+            peek=client.peek(i)
             if(h[i>>1]!=peek):
                 print "ERROR at %04x, found %04x not %04x"%(i,peek,h[i>>1])
             if(i%0x100==0):