programmer: make xc3sprog verbose
authorRobert Jordens <jordens@gmail.com>
Fri, 23 May 2014 23:37:07 +0000 (17:37 -0600)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 24 May 2014 08:39:02 +0000 (10:39 +0200)
programmer.py

index 64f455a43067195571b5fbf9337f0e003b4f009d..831721485cbc67d26f2a784f36db782b8a568a8f 100644 (file)
@@ -51,11 +51,11 @@ class XC3SProg(Programmer):
        needs_bitreverse = False
 
        def load_bitstream(self, bitstream_file):
-               subprocess.call(["xc3sprog", "-c", "papilio", bitstream_file])
+               subprocess.call(["xc3sprog", "-v", "-c", "papilio", bitstream_file])
 
        def flash(self, address, data_file):
                flash_proxy = self.find_flash_proxy("bscan_spi_lx9_papilio.bit")
-               subprocess.call(["xc3sprog", "-c", "papilio", "-I"+flash_proxy, "{}:w:0x{:x}:BIN".format(data_file, address)])
+               subprocess.call(["xc3sprog", "-v", "-c", "papilio", "-I"+flash_proxy, "{}:w:0x{:x}:BIN".format(data_file, address)])
 
 class USBBlaster(Programmer):
        needs_bitreverse = False