AppVersion = 69402 FileVersion = 2 [GENERAL] aATEModuleSel[10] = 0,0,0,0,0,0,0,0,0,0 ConnectMode = 0 CurrentFile = "" DataFileSAddr = 0x00000000 GUIMode = 0 HostName = "" TargetIF = 1 USBPort = 0 USBSerialNo = 0x00000000 UseATEModuleSelection = 0 [JTAG] IRLen = 0 MultipleTargets = 0 NumDevices = 0 Speed0 = 4000 Speed1 = 4000 TAP_Number = 0 UseAdaptive0 = 0 UseAdaptive1 = 0 UseMaxSpeed0 = 0 UseMaxSpeed1 = 0 [CPU] NumInitSteps = 25 InitStep0_Action = "Reset" InitStep0_Value0 = 0x00000000 InitStep0_Value1 = 0x00000000 InitStep0_Comment = "Reset and halt target" InitStep1_Action = "Comment" InitStep1_Value0 = 0xFFFFFFFF InitStep1_Value1 = 0xFFFFFFFF InitStep1_Comment = "Unlock FLASH_CR" InitStep2_Action = "Write 32bit" InitStep2_Value0 = 0x40022008 InitStep2_Value1 = 0x45670123 InitStep2_Comment = "Write KEY1 to FLASH_KEYR" InitStep3_Action = "Write 32bit" InitStep3_Value0 = 0x40022008 InitStep3_Value1 = 0xCDEF89AB InitStep3_Comment = "Write KEY2 to FLASH_KEYR" InitStep4_Action = "Comment" InitStep4_Value0 = 0xFFFFFFFF InitStep4_Value1 = 0xFFFFFFFF InitStep4_Comment = "Unlock Flash option register" InitStep5_Action = "Write 32bit" InitStep5_Value0 = 0x4002200C InitStep5_Value1 = 0x08192A3B InitStep5_Comment = "Write OPTKEY1 to FLASH_OPTKEYR" InitStep6_Action = "Write 32bit" InitStep6_Value0 = 0x4002200C InitStep6_Value1 = 0x4C5D6E7F InitStep6_Comment = "Write OPTKEY2 to FLASH_OPTKEYR" InitStep7_Action = "Read 32bit" InitStep7_Value0 = 0x40022020 InitStep7_Value1 = 0xFFFFFFFF InitStep7_Comment = "Read FLASH_OPTR" InitStep8_Action = "Var AND" InitStep8_Value0 = 0xFFFFFFFF InitStep8_Value1 = 0xFFFFFF00 InitStep8_Comment = "Clear RDP bits" InitStep9_Action = "Var XOR" InitStep9_Value0 = 0xFFFFFFFF InitStep9_Value1 = 0x000000AA InitStep9_Comment = "RDP = 0xAA == read protection level 0" InitStep10_Action = "Var Write 32bit" InitStep10_Value0 = 0x40022020 InitStep10_Value1 = 0xFFFFFFFF InitStep10_Comment = "Write FLASH_OPTR -> set read protection level to 0" InitStep11_Action = "Read 32bit" InitStep11_Value0 = 0x40022010 InitStep11_Value1 = 0xFFFFFFFF InitStep11_Comment = "Read FLASH_SR" InitStep12_Action = "Var AND" InitStep12_Value0 = 0xFFFFFFFF InitStep12_Value1 = 0x00010000 InitStep12_Comment = "Isolate BSY1 bit" InitStep13_Action = "Var BNE" InitStep13_Value0 = 0x0000000B InitStep13_Value1 = 0xFFFFFFFF InitStep13_Comment = "Loop until flash is ready" InitStep14_Action = "Read 32bit" InitStep14_Value0 = 0x40022014 InitStep14_Value1 = 0xFFFFFFFF InitStep14_Comment = "Read FLASH_CR" InitStep15_Action = "Var OR" InitStep15_Value0 = 0xFFFFFFFF InitStep15_Value1 = 0x00020000 InitStep15_Comment = "Set OPTSTRT bit" InitStep16_Action = "Var Write 32bit" InitStep16_Value0 = 0x40022014 InitStep16_Value1 = 0xFFFFFFFF InitStep16_Comment = "Write OPTSTRT to FLASH_CR" InitStep17_Action = "Read 32bit" InitStep17_Value0 = 0x40022010 InitStep17_Value1 = 0xFFFFFFFF InitStep17_Comment = "Read FLASH_SR" InitStep18_Action = "Var AND" InitStep18_Value0 = 0xFFFFFFFF InitStep18_Value1 = 0x00010000 InitStep18_Comment = "Isolate BSY1 bit" InitStep19_Action = "Var BNE" InitStep19_Value0 = 0x00000011 InitStep19_Value1 = 0xFFFFFFFF InitStep19_Comment = "Wait until flash is ready" InitStep20_Action = "Read 32bit" InitStep20_Value0 = 0x40022014 InitStep20_Value1 = 0xFFFFFFFF InitStep20_Comment = "Read FLASH_CR" InitStep21_Action = "Var OR" InitStep21_Value0 = 0xFFFFFFFF InitStep21_Value1 = 0x08000000 InitStep21_Comment = "Set OBL_LAUNCH bit" InitStep22_Action = "Var Write 32bit" InitStep22_Value0 = 0x40022014 InitStep22_Value1 = 0xFFFFFFFF InitStep22_Comment = "Write OBL_LAUNCH to FLASH_CR" InitStep23_Action = "Delay" InitStep23_Value0 = 0xFFFFFFFF InitStep23_Value1 = 0x00000032 InitStep23_Comment = "" InitStep24_Action = "Reset" InitStep24_Value0 = 0x00000000 InitStep24_Value1 = 0x00000000 InitStep24_Comment = "" NumExitSteps = 0 UseScriptFile = 0 ScriptFile = "" UseRAM = 1 RAMAddr = 0x20000000 RAMSize = 0x00008000 CheckCoreID = 1 CoreID = 0x0BC11477 CoreIDMask = 0x0F000FFF UseAutoSpeed = 0x00000000 ClockSpeed = 0x00F42400 EndianMode = 0 ChipName = "ST STM32G071RB" [FLASH] NumBanks = 2 [FLASH0] aRangeSel[1] = 0-63 BankName = "Internal program flash" BankSelMode = 1 BaseAddr = 0x08000000 [FLASH1] aRangeSel[1] = 0-1 BankName = "Option bytes" BankSelMode = 1 BaseAddr = 0x1FFF7800 [PRODUCTION] AutoPerformsDisconnect = 0 AutoPerformsErase = 1 AutoPerformsProgram = 1 AutoPerformsSecure = 0 AutoPerformsStartApp = 0 AutoPerformsUnsecure = 0 AutoPerformsVerify = 1 EnableFixedVTref = 0 EnableTargetPower = 3 EraseType = 1 FixedVTref = 0x00000CE4 MonitorVTref = 0 MonitorVTrefMax = 0x0000157C MonitorVTrefMin = 0x000003E8 OverrideTimeouts = 0 ProgramSN = 0 SerialFile = "" SNAddr = 0x00000000 SNInc = 0x00000001 SNLen = 0x00000004 SNListFile = "" SNValue = 0x00000001 StartAppType = 0 TargetPowerDelay = 0x00000014 TimeoutErase = 0x00003A98 TimeoutProgram = 0x00002710 TimeoutVerify = 0x00002710 VerifyType = 1 [PERFORMANCE] DisableSkipBlankDataOnProgram = 0x00000000 PerfromBlankCheckPriorEraseChip = 0x00000001 PerfromBlankCheckPriorEraseSelectedSectors = 0x00000001