X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETMAXUSB.py;h=a9145fdba9cd8f5b70fc8d60c59452de5b6958b5;hp=3e5bdf431d61430b39ed3901a60cc5d6e3b70ad7;hb=a8b686459e73c8a37df4537083a675fc21de4699;hpb=62532b1f49bbe404bc911824a2a02139dab22b1f diff --git a/client/GoodFETMAXUSB.py b/client/GoodFETMAXUSB.py index 3e5bdf4..a9145fd 100644 --- a/client/GoodFETMAXUSB.py +++ b/client/GoodFETMAXUSB.py @@ -245,6 +245,8 @@ class GoodFETMAXUSB(GoodFET): def MAXUSBsetup(self): """Move the FET into the MAXUSB application.""" self.writecmd(self.MAXUSBAPP,0x10,0,self.data); #MAXUSB/SETUP + self.writecmd(self.MAXUSBAPP,0x10,0,self.data); #MAXUSB/SETUP + self.writecmd(self.MAXUSBAPP,0x10,0,self.data); #MAXUSB/SETUP print "Connected to MAX342x Rev. %x" % (self.rreg(rREVISION)); self.wreg(rPINCTL,0x18); #Set duplex and negative INT level.