summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-11 14:54:37 -0800
committerNick Foster <nick@nerdnetworks.org>2010-11-11 14:54:37 -0800
commit628ec66a7ce6ee92e923818b0cff920458c7102a (patch)
tree235f0cce58d16f5b94a3752bc1534cefd0e97c7c
parent5a3b5a06082e90a68b993a765b91a7c288ab19c0 (diff)
downloaduhd-628ec66a7ce6ee92e923818b0cff920458c7102a.tar.gz
uhd-628ec66a7ce6ee92e923818b0cff920458c7102a.tar.bz2
uhd-628ec66a7ce6ee92e923818b0cff920458c7102a.zip
U2P: saner image burner output messages
-rwxr-xr-xhost/utils/usrp2p_fw_update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/usrp2p_fw_update.py b/host/utils/usrp2p_fw_update.py
index 0c07c398d..456f273df 100755
--- a/host/utils/usrp2p_fw_update.py
+++ b/host/utils/usrp2p_fw_update.py
@@ -180,6 +180,7 @@ def burn_fw(ip, fw, fpga, reset, safe):
reset_usrp(ip)
def write_image(ip, image, addr):
+ print "Writing image"
#we split the image into smaller (256B) bits and send them down the wire
while image:
out_pkt = pack_flash_args_fmt(USRP2_FW_PROTO_VERSION, update_id_t.USRP2_FW_UPDATE_ID_WRITE_TEH_FLASHES_LOL, seq(), addr, FLASH_DATA_PACKET_SIZE, image[:FLASH_DATA_PACKET_SIZE])
@@ -194,6 +195,7 @@ def write_image(ip, image, addr):
addr += FLASH_DATA_PACKET_SIZE
def verify_image(ip, image, addr):
+ print "Verifying data"
readsize = len(image)
readdata = str()
while readsize > 0:
@@ -253,8 +255,6 @@ def erase_image(ip, addr, length):
elif pktid != update_id_t.USRP2_FW_UPDATE_ID_NOPE_NOT_DONE_ERASING_OMG:
raise Exception, "Invalid reply %c from device." % (chr(pktid))
- print "\tFinished."
-
########################################################################
# command line options