--- a/HostFirmwareUpdater.py Wed Apr 14 15:15:51 2021 +0200
+++ b/HostFirmwareUpdater.py Wed Apr 14 15:18:29 2021 +0200
@@ -68,8 +68,10 @@
self._CreateFirmwareImageFileMD5File()
# start the update script
product_name = GetLPCArch()
- updateFlashTypeArg = "mmc" if product_name == "MC10" else "ubi"
- status, textError = self.controller._connector.RunUpdateScript(self.updateType, updateFlashTypeArg)
+ if product_name == "MC10": + status, textError = self.controller._connector.RunUpdateScriptMMC(self.updateType) + status, textError = self.controller._connector.RunUpdateScript(self.updateType) raise Exception(textError)
# The update script is now running: Feeding the update script with firmware image data