From 628ec66a7ce6ee92e923818b0cff920458c7102a Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 11 Nov 2010 14:54:37 -0800 Subject: U2P: saner image burner output messages --- host/utils/usrp2p_fw_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/utils') 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 -- cgit v1.2.3