--- a/connectors/LPC/LPCBootObject.py Wed Nov 17 08:30:35 2010 +0100
+++ b/connectors/LPC/LPCBootObject.py Tue Feb 01 11:05:07 2011 +0100
@@ -34,6 +34,7 @@
self.SerialConnection = LPCBootProto(comport,#number
+ self.HandleSerialTransaction(KEEPBOOTINGTransaction()) self.PLCStatus = "Stopped"
def NewPLC(self, md5sum, data, extrafiles):
--- a/connectors/LPC/LPCBootProto.py Wed Nov 17 08:30:35 2010 +0100
+++ b/connectors/LPC/LPCBootProto.py Tue Feb 01 11:05:07 2011 +0100
@@ -28,6 +28,11 @@
+class KEEPBOOTINGTransaction(LPCBootTransaction): + LPCBootTransaction.__init__(self, "md5\n") + ExchangeData = LPCBootTransaction.SendData class LOADTransaction(LPCBootTransaction):
def __init__(self, data):
LPCBootTransaction.__init__(self, data)