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 = 1 InitStep0_Action = "Reset" InitStep0_Value0 = 0x00000000 InitStep0_Value1 = 0x00000000 InitStep0_Comment = "" NumExitSteps = 24 ExitStep0_Action = "Reset" ExitStep0_Value0 = 0x00000000 ExitStep0_Value1 = 0x00000000 ExitStep0_Comment = "" ExitStep1_Action = "Comment" ExitStep1_Value0 = 0xFFFFFFFF ExitStep1_Value1 = 0xFFFFFFFF ExitStep1_Comment = "Unlock FLASH_CR" ExitStep2_Action = "Write 32bit" ExitStep2_Value0 = 0x40022008 ExitStep2_Value1 = 0x45670123 ExitStep2_Comment = "Write KEY1 to FLASH_KEYR" ExitStep3_Action = "Write 32bit" ExitStep3_Value0 = 0x40022008 ExitStep3_Value1 = 0xCDEF89AB ExitStep3_Comment = "Write KEY2 to FLASH_KEYR" ExitStep4_Action = "Comment" ExitStep4_Value0 = 0xFFFFFFFF ExitStep4_Value1 = 0xFFFFFFFF ExitStep4_Comment = "Unlock Flash option register" ExitStep5_Action = "Write 32bit" ExitStep5_Value0 = 0x4002200C ExitStep5_Value1 = 0x08192A3B ExitStep5_Comment = "Write OPTKEY1 to FLASH_OPTKEYR" ExitStep6_Action = "Write 32bit" ExitStep6_Value0 = 0x4002200C ExitStep6_Value1 = 0x4C5D6E7F ExitStep6_Comment = "Write OPTKEY2 to FLASH_OPTKEYR" ExitStep7_Action = "Read 32bit" ExitStep7_Value0 = 0x40022020 ExitStep7_Value1 = 0xFFFFFFFF ExitStep7_Comment = "Read FLASH_OPTR" ExitStep8_Action = "Var AND" ExitStep8_Value0 = 0xFFFFFFFF ExitStep8_Value1 = 0xFFFFFF00 ExitStep8_Comment = "RDP = 0x00 == read protection level 1" ExitStep9_Action = "Var Write 32bit" ExitStep9_Value0 = 0x40022020 ExitStep9_Value1 = 0xFFFFFFFF ExitStep9_Comment = "Write FLASH_OPTR -> set read protection level to 1" ExitStep10_Action = "Read 32bit" ExitStep10_Value0 = 0x40022010 ExitStep10_Value1 = 0xFFFFFFFF ExitStep10_Comment = "Read FLASH_SR" ExitStep11_Action = "Var AND" ExitStep11_Value0 = 0xFFFFFFFF ExitStep11_Value1 = 0x00010000 ExitStep11_Comment = "Isolate BSY1 bit" ExitStep12_Action = "Var BNE" ExitStep12_Value0 = 0x0000000A ExitStep12_Value1 = 0xFFFFFFFF ExitStep12_Comment = "Loop until flash is ready" ExitStep13_Action = "Read 32bit" ExitStep13_Value0 = 0x40022014 ExitStep13_Value1 = 0xFFFFFFFF ExitStep13_Comment = "Read FLASH_CR" ExitStep14_Action = "Var OR" ExitStep14_Value0 = 0xFFFFFFFF ExitStep14_Value1 = 0x00020000 ExitStep14_Comment = "Set OPTSTRT bit" ExitStep15_Action = "Var Write 32bit" ExitStep15_Value0 = 0x40022014 ExitStep15_Value1 = 0xFFFFFFFF ExitStep15_Comment = "Write OPTSTRT to FLASH_CR" ExitStep16_Action = "Read 32bit" ExitStep16_Value0 = 0x40022010 ExitStep16_Value1 = 0xFFFFFFFF ExitStep16_Comment = "Read FLASH_SR" ExitStep17_Action = "Var AND" ExitStep17_Value0 = 0xFFFFFFFF ExitStep17_Value1 = 0x00010000 ExitStep17_Comment = "Isolate BSY1 bit" ExitStep18_Action = "Var BNE" ExitStep18_Value0 = 0x00000010 ExitStep18_Value1 = 0xFFFFFFFF ExitStep18_Comment = "Wait until flash is ready" ExitStep19_Action = "Read 32bit" ExitStep19_Value0 = 0x40022014 ExitStep19_Value1 = 0xFFFFFFFF ExitStep19_Comment = "Read FLASH_CR" ExitStep20_Action = "Var OR" ExitStep20_Value0 = 0xFFFFFFFF ExitStep20_Value1 = 0x08000000 ExitStep20_Comment = "Set OBL_LAUNCH bit" ExitStep21_Action = "Var Write 32bit" ExitStep21_Value0 = 0x40022014 ExitStep21_Value1 = 0xFFFFFFFF ExitStep21_Comment = "Write OBL_LAUNCH to FLASH_CR" ExitStep22_Action = "Delay" ExitStep22_Value0 = 0xFFFFFFFF ExitStep22_Value1 = 0x00000032 ExitStep22_Comment = "" ExitStep23_Action = "Reset" ExitStep23_Value0 = 0x00000000 ExitStep23_Value1 = 0x00000000 ExitStep23_Comment = "" 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