BadFET20 web errata.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Wed, 28 Oct 2009 16:17:17 +0000 (16:17 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Wed, 28 Oct 2009 16:17:17 +0000 (16:17 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@216 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

client/goodfet.cc

index e233d65..6d8eed1 100755 (executable)
@@ -115,6 +115,7 @@ if(sys.argv[1]=="flash"):
      pagelen = 2048; #2kB pages in 32-bit words
      bcount = 0;
      
      pagelen = 2048; #2kB pages in 32-bit words
      bcount = 0;
      
+     print "Wiping Flash."
      #Wipe all of flash.
      client.CCchiperase();
      #Wipe the RAM buffer for the next flash page.
      #Wipe all of flash.
      client.CCchiperase();
      #Wipe the RAM buffer for the next flash page.
@@ -133,7 +134,7 @@ if(sys.argv[1]=="flash"):
                                h[i]);
          bcount+=1;
          if(i%0x100==0):
                                h[i]);
          bcount+=1;
          if(i%0x100==0):
-                print "%04x at %06x" % (i,page);
+                print "Buffering %04x to %06x" % (i,page);
      #last page
      client.CCflashpage(page);
      print "Flashed final page at %06x" % page;
      #last page
      client.CCflashpage(page);
      print "Flashed final page at %06x" % page;