diff --git a/python/axi_soc_ultra_plus_core/hardware/XilinxZcu111/_Hardware.py b/python/axi_soc_ultra_plus_core/hardware/XilinxZcu111/_Hardware.py index 4cbbb37..7557b58 100644 --- a/python/axi_soc_ultra_plus_core/hardware/XilinxZcu111/_Hardware.py +++ b/python/axi_soc_ultra_plus_core/hardware/XilinxZcu111/_Hardware.py @@ -100,7 +100,8 @@ def InitClock(self, lmkConfig=None, lmxConfig=[None]): # Configure the LMK for 4-wire SPI self.Lmk.enable.set(True) - self.Lmk.LoadCodeLoaderHexFile(lmkConfig) + for x in range(2): + self.Lmk.LoadCodeLoaderHexFile(lmkConfig) self.Lmk.enable.set(False) # Load the LMX configuration from the TICS Pro software HEX export @@ -109,7 +110,8 @@ def InitClock(self, lmkConfig=None, lmxConfig=[None]): self.Tca6416a.OP[1].set(spiMuxSel[i]) # Set the CLK_SPI_MUX_SEL self.Lmx[i].enable.set(True) - self.Lmx[i].LoadCodeLoaderHexFile(lmxCfg[i]) + for x in range(2): + self.Lmx[i].LoadCodeLoaderHexFile(lmxCfg[i]) self.Lmx[i].enable.set(False) self.Tca6416a.enable.set(False)