AppVersion = 61203 FileVersion = 2 [GENERAL] ConnectMode = 0 CurrentFile = "" DataFileSAddr = 0x00000000 GUIMode = 0 HostName = "" TargetIF = 1 USBPort = 0 USBSerialNo = 0x00000000 [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 = "Reset and halt target" NumExitSteps = 21 ExitStep0_Action = "Read 32bit" ExitStep0_Value0 = 0x4002201C ExitStep0_Value1 = 0x00000000 ExitStep0_Comment = "" ExitStep1_Action = "Var AND" ExitStep1_Value0 = 0x00000000 ExitStep1_Value1 = 0x00000002 ExitStep1_Comment = "" ExitStep2_Action = "Var BNE" ExitStep2_Value0 = 0x00000014 ExitStep2_Value1 = 0x00000000 ExitStep2_Comment = "Flash already secured, lock not necessary" ExitStep3_Action = "Write 32bit" ExitStep3_Value0 = 0x40022004 ExitStep3_Value1 = 0x45670123 ExitStep3_Comment = "Unlock Flash registers" ExitStep4_Action = "Write 32bit" ExitStep4_Value0 = 0x40022004 ExitStep4_Value1 = 0xCDEF89AB ExitStep4_Comment = "" ExitStep5_Action = "Write 32bit" ExitStep5_Value0 = 0x40022008 ExitStep5_Value1 = 0x45670123 ExitStep5_Comment = "Unlock Option Bytes" ExitStep6_Action = "Write 32bit" ExitStep6_Value0 = 0x40022008 ExitStep6_Value1 = 0xCDEF89AB ExitStep6_Comment = "" ExitStep7_Action = "Write 32bit" ExitStep7_Value0 = 0x40022010 ExitStep7_Value1 = 0x00000220 ExitStep7_Comment = "Set Write and Erase bit to prepare Option Byte erase" ExitStep8_Action = "Write 32bit" ExitStep8_Value0 = 0x40022010 ExitStep8_Value1 = 0x00000260 ExitStep8_Comment = "Trigger operation (Option Byte erase)" ExitStep9_Action = "Delay" ExitStep9_Value0 = 0x00000000 ExitStep9_Value1 = 0x00000005 ExitStep9_Comment = "" ExitStep10_Action = "Read 32bit" ExitStep10_Value0 = 0x4002200C ExitStep10_Value1 = 0x00000000 ExitStep10_Comment = "" ExitStep11_Action = "Var AND" ExitStep11_Value0 = 0x00000000 ExitStep11_Value1 = 0x00000001 ExitStep11_Comment = "" ExitStep12_Action = "Var BNE" ExitStep12_Value0 = 0x00000009 ExitStep12_Value1 = 0x00000000 ExitStep12_Comment = "Wait for busy bit to clear" ExitStep13_Action = "Write 32bit" ExitStep13_Value0 = 0x40022010 ExitStep13_Value1 = 0x00000020 ExitStep13_Comment = "Reset Write bit" ExitStep14_Action = "Write 32bit" ExitStep14_Value0 = 0x40022010 ExitStep14_Value1 = 0x00000000 ExitStep14_Comment = "Reset Erase bit" ExitStep15_Action = "Write 32bit" ExitStep15_Value0 = 0x40022010 ExitStep15_Value1 = 0x00000080 ExitStep15_Comment = "Set Flash lock. This step and the two previous steps cannot be combined." ExitStep16_Action = "Delay" ExitStep16_Value0 = 0x00000000 ExitStep16_Value1 = 0x00000005 ExitStep16_Comment = "" ExitStep17_Action = "Read 32bit" ExitStep17_Value0 = 0x4002200C ExitStep17_Value1 = 0x00000000 ExitStep17_Comment = "" ExitStep18_Action = "Var AND" ExitStep18_Value0 = 0x00000000 ExitStep18_Value1 = 0x00000001 ExitStep18_Comment = "" ExitStep19_Action = "Var BNE" ExitStep19_Value0 = 0x00000010 ExitStep19_Value1 = 0x00000000 ExitStep19_Comment = "Wait for busy bit to clear" ExitStep20_Action = "Reset" ExitStep20_Value0 = 0x00000000 ExitStep20_Value1 = 0x00000064 ExitStep20_Comment = "" UseScriptFile = 0 ScriptFile = "" UseRAM = 1 RAMAddr = 0x20000000 RAMSize = 0x00018000 CheckCoreID = 1 CoreID = 0x3BA00477 CoreIDMask = 0x0F000FFF UseAutoSpeed = 0x00000001 ClockSpeed = 0x00000000 EndianMode = 0 ChipName = "ST STM32F103ZG" [FLASH] aRangeSel[1] = 0-511 BankName = "Internal flash" BankSelMode = 1 BaseAddr = 0x08000000 NumBanks = 1 [PRODUCTION] AutoPerformsErase = 1 AutoPerformsProgram = 1 AutoPerformsSecure = 0 AutoPerformsStartApp = 0 AutoPerformsUnsecure = 0 AutoPerformsVerify = 1 EnableTargetPower = 0 EraseType = 2 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