--- a/HostFirmwareUpdater.py Thu Apr 15 14:59:47 2021 +0200
+++ b/HostFirmwareUpdater.py Mon Apr 19 15:16:43 2021 +0200
@@ -66,12 +66,14 @@
self._CreateFirmwareImageFileSizeFile()
self._CreateFirmwareImageFileSizeMD5File()
self._CreateFirmwareImageFileMD5File()
# start the update script
- product_name = GetLPCArch()
- if product_name == "MC10":
- status, textError = self.controller._connector.RunUpdateScriptMMC(self.updateType)
+ if GetLPCArch() == "MC9": + status, textError = self.controller._connector.RunUpdateScript(self.updateType) - status, textError = self.controller._connector.RunUpdateScript(self.updateType)
+ # since MC10 (som6) RunUpdateScript takes an additional parameter + status, textError = self.controller._connector.RunUpdateScript(self.updateType, "mmc") raise Exception(textError)
# The update script is now running: Feeding the update script with firmware image data