From 2d4fe6ee83444a71d01956a1bf43a0eedcd2284b Mon Sep 17 00:00:00 2001 From: travisutk Date: Mon, 2 Apr 2012 02:00:59 +0000 Subject: [PATCH] Commented some outdated debugging strings in the maxusb firmware, added some counter displays to the Host scripts. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1130 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETMAXUSB.py | 4 +++- firmware/apps/usb/maxusb.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/GoodFETMAXUSB.py b/client/GoodFETMAXUSB.py index 8f05d43..a6bc6fa 100644 --- a/client/GoodFETMAXUSB.py +++ b/client/GoodFETMAXUSB.py @@ -318,9 +318,11 @@ class GoodFETMAXUSB(GoodFET): #Very innefficient, move this to C if performance is needed. for j in range(0,pktsize): self.xfrdata=self.xfrdata+[self.rreg(rRCVFIFO)]; + xfrsize=self.xfrdata[0]; self.wreg(rHIRQ,bmRCVDAVIRQ); #Clear IRQ xfrlen=xfrlen+pktsize; #Add byte count to total transfer length. + print "%i / %i" % (xfrlen,xfrsize) #Packet is complete if: # 1. The device sent a short packet,