connectors/LPC/LPCBootObject.py
changeset 577 04baf6607a44
parent 571 427bf9130d12
child 717 1c23952dbde1
equal deleted inserted replaced
576:7fcdc0d3d8d9 577:04baf6607a44
    44         self.successfully_transfered = self.HandleSerialTransaction(LOADTransaction(data, self.PLCprint))
    44         self.successfully_transfered = self.HandleSerialTransaction(LOADTransaction(data, self.PLCprint))
    45         return self.successfully_transfered
    45         return self.successfully_transfered
    46 
    46 
    47     def MatchMD5(self, MD5):
    47     def MatchMD5(self, MD5):
    48         res = self.HandleSerialTransaction(CHECKMD5Transaction(MD5))
    48         res = self.HandleSerialTransaction(CHECKMD5Transaction(MD5))
    49         return "".join(res).find('FAILED') == -1
    49         if res :
       
    50             return "".join(res).find('FAILED') == -1
       
    51         return False
    50 
    52 
    51 
    53 
    52     def SetTraceVariablesList(self, idxs):
    54     def SetTraceVariablesList(self, idxs):
    53         pass
    55         pass
    54     
    56