def callbackOk(self, event): self._getDeviceType() self._getQueryPads() self._getCmdPads() self._getQuadModeSetting() self._getMiscMode() self._getMaxFrequency() self._getHasOpt1() hasOption1 = (self.flexspiNorOpt0 & 0x0F000000) >> 24 if hasOption1: self._getFlashConnection() self._getDriveStrength() self._getDqsPinmuxGroup() self._getEnableSecondPinmux() self._getStatusOverride() self._getDummyCycles() uivar.setBootDeviceConfiguration(uidef.kBootDevice_FlexspiNor, self.flexspiNorOpt0, self.flexspiNorOpt1, self.flexspiDeviceModel) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk(self, event): self._getBusWidth() self._getTimingInterface() self._getPartitionAccess() self._getEnableBootConfig() # enableBootConfig = self.usdhcMmcOpt0 & 0x00000001 # if enableBootConfig: self._getBootBusWidth() self._getBootMode() self._getEnableBootPartition() self._getEnableBootAck() self._getResetBootBusConditions() if self.hasMultiUsdhcBootInstance: self._getInstance() self._getEnable1V8() self._getEnablePowerCycle() self._getPowerPolarity() self._getPowerUpTime() self._getPowerDownTime() self._getRsvFields() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_UsdhcMmc, self.usdhcMmcOpt0, self.usdhcMmcOpt1) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk( self, event ): self._getKeepFdcb() if self.flexspiDeviceModel == 'Complete_FDCB': if not (os.path.isfile(self.cfgFdcbBinFilename) and os.path.getsize(self.cfgFdcbBinFilename) == memdef.kMemBlockSize_FDCB): self.popupMsgBox('FDCB has not been specified!') return else: self._getDeviceType() self._getQueryPads() self._getCmdPads() self._getQuadModeSetting() self._getMiscMode() self._getMaxFrequency() self._getHasOpt1() hasOption1 = (self.flexspiNorOpt0 & 0x0F000000) >> 24 if hasOption1: self._getFlashConnection() self._getDriveStrength() self._getDqsPinmuxGroup() self._getEnableSecondPinmux() self._getStatusOverride() self._getDummyCycles() uivar.setBootDeviceConfiguration(uidef.kBootDevice_XspiNor, self.flexspiNorOpt0, self.flexspiNorOpt1, self.flexspiDeviceModel, self.isFdcbKept) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def apply_of_SEMC_NOR(self, event): self._getPCSPort() self._getADVPolarity() self._getDataPortSize() self._getTimingMode() self._getCommandSet() uivar.setBootDeviceConfiguration(uidef.kBootDevice_SemcNor, self.semcNorOpt, self.semcNorSetting) self.Show(False)
def callbackOk( self, event ): self._getDeviceType() self._getQueryPads() self._getCmdPads() self._getQuadModeSetting() self._getMiscMode() self._getMaxFrequency() self._getHasOpt1() uivar.setBootDeviceConfiguration(uidef.kBootDevice_FlexspiNor, self.flexspiNorOpt0, self.flexspiNorOpt1) self.Show(False)
def apply_of_SD(self, event): self._getBusWidth() self._getTimingMode() self._getPwrUpTime() self._getPwrCycle() self._getPwrDownTime() self._getPwrPolarity() uivar.setBootDeviceConfiguration(uidef.kBootDevice_UsdhcSd, self.usdhcSDOpt) self.Show(False)
def callbackOk(self, event): self._getDeviceType() self._getPageSize() self._getSectorSize() self._getTotalSize() self._getSpiIndex() self._getSpiPcs() self._getSpiSpeed() uivar.setBootDeviceConfiguration(uidef.kBootDevice_LpspiNor, self.lpspiNorOpt0, self.lpspiNorOpt1) self.Show(False)
def callbackOk(self, event): self._getTimingMode() self._getADVPolarity() self._getDataPortSize() self._getPCSPort() self._getCommandSet() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_SemcNor, self.semcNorOpt, self.semcNorSetting, self.semcNorDeviceModel) uivar.setRuntimeSettings(False) self.Show(False)
def apply_of_LPSPI_NOR(self, event): self._getPageSize() self._getSectorSize() self._getMemorySize() self._getMemoryType() self._getPCSIndex() self._getSPIIndex() self._getOption1Size() self._getSPISpeed() uivar.setBootDeviceConfiguration(uidef.kBootDevice_LpspiNor, self.lpspiNorOpt0, self.lpspiNorOpt1) self.Show(False)
def callbackOk(self, event): self._getDeviceType() self._getPageSize() self._getSectorSize() self._getTotalSize() self._getSpiIndex() self._getSpiPcs() self._getSpiSpeed() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_LpspiNor, self.lpspiNorOpt0, self.lpspiNorOpt1) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk( self, event ): self._getOnfiVersion() self._getEdoMode() self._getOnfiTimingMode() self._getIoPortSize() self._getPcsPort() self._getEccType() self._getEccStatus() self._getSearchCount() self._getSearchStride() self._getImageCopies() self._getImageInfo() uivar.setBootDeviceConfiguration(uidef.kBootDevice_SemcNand, self.semcNandOpt, self.semcNandFcbOpt, self.semcNandImageInfo) self.Show(False)
def callbackOk(self, event): self._getDcdSource() if not self._getDcdBinFile(): return if not self._getDcdCfgFile(): return if not self._getSdramBase(): return if not self._getDcdDesc(): return uivar.setBootDeviceConfiguration(uidef.kBootDevice_Dcd, self.dcdCtrlDict, self.dcdSettingsDict) self.Show(False)
def callbackOk( self, event ): if self.hasMultiUsdhcBootInstance: self._getInstance() self._getBusWidth() self._getTimingInterface() self._getEnablePowerCycle() self._getPowerPolarity() self._getPowerUpTime() self._getPowerDownTime() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_UsdhcSd, self.usdhcSdOpt) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def apply_of_EMMC(self, event): self._getBootConfig() self._getBootAck() self._getBootBus() self._getBootMode() self._getPartitionAccess() self._getBusWidth() self._getBootPartition() self._getPwrUpTime() self._getBootBusWidth() self._getPwrDownTime() self._get1V8() self._getTiming() self._getPwrCycle() self._getPwrPolarity() uivar.setBootDeviceConfiguration(uidef.kBootDevice_UsdhcMmc, self.usdhcMmcOpt1, self.usdhcMmcOpt2) self.Show(False)
def callbackOk(self, event): self._getDeviceType() self._getQueryPads() self._getCmdPads() self._getQuadModeSetting() self._getMiscMode() self._getMaxFrequency() self._getHasOpt1() uivar.setBootDeviceConfiguration(uidef.kBootDevice_FlexspiNor, self.flexspiNorOpt0, self.flexspiNorOpt1, self.flexspiDeviceModel) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk(self, event): self._getDeviceType() self._getPageSize() self._getSectorSize() self._getTotalSize() self._getSpiIndex() self._getSpiPcs() self._getSpiSpeed() if self.mcuSeries in uidef.kMcuSeries_iMXRTyyyy: uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_LpspiNor, self.recoverySpiNorOpt0, self.recoverySpiNorOpt0) elif self.mcuSeries == uidef.kMcuSeries_iMXRTxxx: uivar.setBootDeviceConfiguration(RTxxx_uidef.kBootDevice_FlexcommSpiNor, self.recoverySpiNorOpt0, self.recoverySpiNorOpt0) else: pass uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk(self, event): self._getDcdSource() if not self._getDcdBinFile(): return if not self._getDcdCfgFile(): return if not self._getSdramBase(): return if not self._getDcdDesc(): return uivar.setBootDeviceConfiguration(uidef.kBootDevice_Dcd, self.dcdCtrlDict, self.dcdSettingsDict) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk(self, event): self._getOnfiVersion() self._getEdoMode() self._getOnfiTimingMode() self._getIoPortSize() self._getPcsPort() self._getEccType() self._getEccStatus() self._getSearchCount() self._getSearchStride() self._getImageCopies() self._getImageInfo() uivar.setBootDeviceConfiguration(uidef.kBootDevice_SemcNand, self.semcNandOpt, self.semcNandFcbOpt, self.semcNandImageInfoList) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def callbackOk(self, event): self._getFlashSize() self._getHasMultiplanes() self._getPagesPerBlock() self._getPageSize() self._getMaxFreq() if not self._getManufacturerId(): return self._getSearchCount() self._getSearchStride() self._getAddressType() self._getImageInfo() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_FlexspiNand, self.flexspiNandOpt0, self.flexspiNandOpt1, self.flexspiNandFcbOpt, self.flexspiNandImageInfoList) uivar.setRuntimeSettings(False) self.Show(False) runtimeSettings = uivar.getRuntimeSettings() sound.playSoundEffect(runtimeSettings[1], runtimeSettings[2], uidef.kSoundEffectFilename_Progress)
def apply_of_FLEXSPI_NAND(self, event): self._getFrequence() self._getPageSize() self._getPageSize() self._getPagePerBlock() self._getFlashSize() self._getMultiplane() self._getOptionSize() self._getFCBSize() self._getAddressType() self._getSearchStride() self._getSearchCount() self._getBlockCountandID() self._getType() self._getImageIndex() self._getDekSize() self._getKeyBlobInfoSize() uivar.setBootDeviceConfiguration(RTyyyy_uidef.kBootDevice_FlexspiNand, self.flexspiNandOpt, self.flexspiNandFcbOpt, self.flexspiNandImageInfo, self.flexspiNandKeyBlob) self.Show(False)