| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800 |
- <?xml version="1.0" encoding="UTF-8"?>
- <Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SCHVerif.xsd">
- <Device>
- <DeviceID>0x492</DeviceID>
- <Vendor>STMicroelectronics</Vendor>
- <Type>MCU</Type>
- <CPU>Cortex-M33</CPU>
- <Name>STM32WBA55/54</Name>
- <Series>STM32WBA</Series>
- <Description>ARM 32-bit Cortex-M33 based device</Description>
- <Configurations>
- <!-- JTAG_SWD Interface -->
- <Interface name="JTAG_SWD">
- <Configuration number="0x0"> <!-- 1M non secure TZEN=0x0 -->
- <TZEN reference="0x0"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x0"/> </TZEN>
- </Configuration>
- <Configuration number="0x1"> <!-- 1M secure + RDP=0xAA + TZEN=0x1 -->
- <TZEN reference="0x1"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x80000000"/> </TZEN>
- <RDP reference="0x1"> <ReadRegister address="0x40022040" mask="0x000000FF" value="0x000000AA"/> </RDP>
- </Configuration>
- <!-- <Configuration number="0x2"> -->
- <!-- <RDP reference="0x1"> <ReadRegister address="0x40022040" mask="0x000000FF" value="0x00000055"/> </RDP> -->
- <!-- <TZEN reference="0x1"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x80000000"/> </TZEN> -->
- <!-- </Configuration> -->
- <Configuration number="0x3"> <!-- 1M secure + TZEN=0x1 -->
- <TZEN reference="0x1"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x80000000"/> </TZEN>
- </Configuration>
- </Interface>
- <!-- Bootloader Interface -->
- <Interface name="Bootloader">
- <Configuration number="0x4"> <!-- 1M non Secure-->
- <DBANK reference="0x0"> <ReadRegister address="0x40022040" mask="0x400000" value="0x0"/> </DBANK>
- <TZEN reference="0x1"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x0"/> </TZEN>
- </Configuration>
- <Configuration number="0x5"> <!-- 1M Secure-->
- <DBANK reference="0x0"> <ReadRegister address="0x40022040" mask="0x400000" value="0x0"/> </DBANK>
- <TZEN reference="0x0"> <ReadRegister address="0x40022040" mask="0x80000000" value="0x80000000"/> </TZEN>
- </Configuration>
- </Interface>
- </Configurations>
- <!-- Peripherals -->
- <Peripherals>
- <!-- Embedded SRAM -->
- <Peripheral>
- <Name>Embedded SRAM</Name>
- <Type>Storage</Type>
- <Description/>
- <ErasedValue>0xFF</ErasedValue>
- <Access>RWE</Access>
- <!-- 128 KB FOR 1M of flash Size -->
- <Configuration config="0">
- <Parameters address="0x20000000" name="SRAM" size="0x20000"/>
- <Description/>
- <Organization>Single</Organization>
- <Bank name="Bank 1">
- <Field>
- <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x20000"/>
- </Field>
- </Bank>
- </Configuration>
- <Configuration config="1,3">
- <Parameters address="0x30000000" name="SRAM" size="0x20000"/>
- <Description/>
- <Organization>Single</Organization>
- <Bank name="Bank 1">
- <Field>
- <Parameters address="0x30000000" name="SRAM" occurence="0x1" size="0x20000"/>
- </Field>
- </Bank>
- </Configuration>
- </Peripheral>
- <!-- Embedded Flash -->
- <Peripheral>
- <Name>Embedded Flash</Name>
- <Type>Storage</Type>
- <Description>The Flash memory interface manages CPU AHB I-Code and D-Code accesses to the Flash memory. It implements the erase and program Flash memory operations and the read and write protection mechanisms</Description>
- <ErasedValue>0xFF</ErasedValue>
- <Access>RWE</Access>
- <FlashSize address="0xBF907A0" default="0x100000"/>
- <BootloaderVersion address="0x0BF8FEFA"/>
- <ReconnectAfterOB value="1"/>
- <Configuration config="0,1,3"> <!-- 1 Mbyte non secure -->
- <Parameters address="0x08000000" name=" 1 Mbyte Embedded Flash" size="0x100000"/>
- <Description/>
- <Organization>Single</Organization>
- <Allignement>0x10</Allignement>
- <Bank name="Bank 1">
- <Field>
- <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x2000"/>
- </Field>
- </Bank>
- </Configuration>
- <!--<Configuration config="1,3">
- <Parameters address="0x0c000000" name=" 1 Mbyte Embedded Flash" size="0x100000"/>
- <Description/>
- <Organization>Single</Organization>
- <Allignement>0x10</Allignement>
- <Bank name="Bank 1">
- <Field>
- <Parameters address="0x0c000000" name="sector0" occurence="0x80" size="0x2000"/>
- </Field>
- </Bank>
- </Configuration>-->
- </Peripheral>
- <!-- Data EEPROM -->
- <Peripheral>
- <Name>Data EEPROM</Name>
- <Type>Storage</Type>
- <Description>The Data EEPROM memory block. It contains user data.</Description>
- <ErasedValue>0xFF</ErasedValue>
- <Access>RWE</Access>
- <!-- Dummy Config Just to avoid crash when TZEN=0 -->
- <Configuration config="1,3,5">
- <Parameters address="0x0c000000" name=" 1 Mbyte Data EEPROM" size="0x100000"/>
- <Description/>
- <Organization>Single</Organization>
- <Allignement>0x4</Allignement>
- <Bank name="Bank 1">
- <Field>
- <Parameters address="0x0c000000" name="sector0" occurence="0x80" size="0x2000"/>
- </Field>
- </Bank>
- </Configuration>
- </Peripheral>
- <!-- OTP -->
- <Peripheral>
- <Name>OTP</Name>
- <Type>Storage</Type>
- <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
- <ErasedValue>0xFF</ErasedValue>
- <Access>RW</Access>
- <!-- 512 Bytes single bank -->
- <Configuration>
- <Parameters address="0x0BF90000" name=" 512 Bytes Data OTP" size="0x200"/>
- <Description/>
- <Organization>Single</Organization>
- <Allignement>0x4</Allignement>
- <Bank name="OTP">
- <Field>
- <Parameters address="0x0BF90000" name="OTP" occurence="0x1" size="0x200"/>
- </Field>
- </Bank>
- </Configuration>
- </Peripheral>
- <!-- Option Bytes -->
- <Peripheral>
- <Name>Option Bytes</Name>
- <Type>Configuration</Type>
- <Description/>
- <Access>RW</Access>
- <Configuration config="0">
- <Bank interface="JTAG_SWD">
- <Parameters address="0x40022040" name="Bank 1" size="0xA0"/>
- <Category>
- <Name>Read Out Protection</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>RDP</Name>
- <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x8</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0xAA">Level 0, no protection</Val>
- <Val value="0xDC">Level 1, read protection of memories</Val>
- <Val value="0xCC">Level 2, chip protection</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>BOR Level</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOR_LEV</Name>
- <Description>These bits contain the VDD supply level threshold that activates/releases the reset.</Description>
- <BitOffset>0x8</BitOffset>
- <BitWidth>0x3</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
- <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
- <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
- <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
- <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>User Configuration</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>nRST_STOP</Name>
- <Description/>
- <BitOffset>0xC</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Stop mode</Val>
- <Val value="0x1">No reset generated when entering Stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_STDBY</Name>
- <Description/>
- <BitOffset>0xD</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Standby mode</Val>
- <Val value="0x1">No reset generated when entering Standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM1_RST</Name>
- <Description>SRAM1 erase upon system reset</Description>
- <BitOffset>0xF</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM1, SRAM3 and SRAM4 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM1, SRAM3 and SRAM4 not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_SW</Name>
- <Description/>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware independant watchdog</Val>
- <Val value="0x1">Software independant watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STOP</Name>
- <Description/>
- <BitOffset>0x11</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in stop mode</Val>
- <Val value="0x1">IWDG counter active in stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STDBY</Name>
- <Description/>
- <BitOffset>0x12</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in standby mode</Val>
- <Val value="0x1">IWDG counter active in standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>WWDG_SW</Name>
- <Description/>
- <BitOffset>0x13</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware window watchdog</Val>
- <Val value="0x1">Software window watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_PE</Name>
- <Description>SRAM2 parity check enable </Description>
- <BitOffset>0x18</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 PE check enabled</Val>
- <Val value="0x1">SRAM2 PE check disabled</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_RST</Name>
- <Description>SRAM2 Erase when system reset</Description>
- <BitOffset>0x19</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nSWBOOT0</Name>
- <Description>Software BOOT0</Description>
- <BitOffset>0x1A</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
- <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nBOOT0</Name>
- <Description>nBOOT0 option bit</Description>
- <BitOffset>0x1B</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">nBOOT0 = 0</Val>
- <Val value="0x1">nBOOT0 = 1</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>TZEN</Name>
- <Description>Global TrustZone security enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Global TrustZone security disabled</Val>
- <Val value="0x1">Global TrustZone security enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Boot Configuration</Name>
- <Field>
- <Parameters address="0x40022044" name="FLASH_NSBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD0</Name>
- <Description>Non-secure Boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022048" name="FLASH_NSBOOTADD1" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD1</Name>
- <Description>Non-secure Boot base address 1</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Write Protection</Name>
- <Field>
- <Parameters address="0x40022058" name="FLASH_WRP1AR" size="0x4"/>
- <AssignedBits>
- <Bit config="0,2">
- <Name>WRPA_PSTRT</Name>
- <Description>WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="0,2">
- <Name>WRPA_PEND</Name>
- <Description>WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_A</Name>
- <Description>WPR first area A unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRPA start and end pages locked</Val>
- <Val value="0x1">WRPA start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002205C" name="FLASH_WRPBR" size="0x4"/>
- <AssignedBits>
- <Bit config="0,2">
- <Name>WRPB_PSTRT</Name>
- <Description>WPR second area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="0,2">
- <Name>WRPB_PEND</Name>
- <Description>WPR second area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_B</Name>
- <Description>WPR second area B unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRPB start and end pages locked</Val>
- <Val value="0x1">WRPB start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- </Bank>
- </Configuration>
- <Configuration config="1">
- <Bank interface="JTAG_SWD">
- <Parameters address="0x50022040" name="Bank 1" size="0x20"/>
- <Category>
- <Name>Read Out Protection</Name>
- <Field>
- <Parameters address="0x50022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>RDP</Name>
- <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x8</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0xAA">Level 0, no protection</Val>
- <Val value="0x55">Level 0.5, read protection not active, only non-secure debug access is possible. Only available when TrustZone is active (TZEN=1)</Val>
- <Val value="0xDC">Level 1, read protection of memories</Val>
- <Val value="0xCC">Level 2, chip protection</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>BOR Level</Name>
- <Field>
- <Parameters address="0x50022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOR_LEV</Name>
- <Description>These bits contain the VDD supply level threshold that activates/releases the reset.</Description>
- <BitOffset>0x8</BitOffset>
- <BitWidth>0x3</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
- <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
- <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
- <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
- <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>User Configuration</Name>
- <Field>
- <Parameters address="0x50022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>nRST_STOP</Name>
- <Description/>
- <BitOffset>0xC</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Stop mode</Val>
- <Val value="0x1">No reset generated when entering Stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_STDBY</Name>
- <Description/>
- <BitOffset>0xD</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Standby mode</Val>
- <Val value="0x1">No reset generated when entering Standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM1_RST</Name>
- <Description>SRAM1, SRAM3 and SRAM4 erase upon system reset</Description>
- <BitOffset>0xF</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM1 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM1 not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_SW</Name>
- <Description/>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware independant watchdog</Val>
- <Val value="0x1">Software independant watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STOP</Name>
- <Description/>
- <BitOffset>0x11</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in stop mode</Val>
- <Val value="0x1">IWDG counter active in stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STDBY</Name>
- <Description/>
- <BitOffset>0x12</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in standby mode</Val>
- <Val value="0x1">IWDG counter active in standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>WWDG_SW</Name>
- <Description/>
- <BitOffset>0x13</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware window watchdog</Val>
- <Val value="0x1">Software window watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_PE</Name>
- <Description>SRAM2 parity check enable</Description>
- <BitOffset>0x18</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 parity check enable</Val>
- <Val value="0x1">SRAM2 parity check disable</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_RST</Name>
- <Description>SRAM2 Erase when system reset</Description>
- <BitOffset>0x19</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nSWBOOT0</Name>
- <Description>Software BOOT0</Description>
- <BitOffset>0x1A</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
- <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nBOOT0</Name>
- <Description>nBOOT0 option bit</Description>
- <BitOffset>0x1B</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">nBOOT0 = 0</Val>
- <Val value="0x1">nBOOT0 = 1</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>TZEN</Name>
- <Description>Global TrustZone security enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Global TrustZone security disabled</Val>
- <Val value="0x1">Global TrustZone security enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Boot Configuration</Name>
- <Field>
- <Parameters address="0x50022044" name="FLASH_NSBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD0</Name>
- <Description>Non-secure Boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x50022048" name="FLASH_NSBOOTADD1" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD1</Name>
- <Description>Non-secure Boot base address 1</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x5002204C" name="FLASH_SECBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>SECBOOTADD0</Name>
- <Description>Secure boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x5002204C" name="BOOT_LOCK" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOOT_LOCK</Name>
- <Description> The boot is always forced to base address value programmed in SECBOOTADD0</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Boot based on the pad/option bit configuration</Val>
- <Val value="0x1">Boot forced from base address memory</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Secure Area</Name>
- <Field>
- <Parameters address="0x50022050" name="FLASH_SECWMR1" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>SECWM1_PSTRT</Name>
- <Description>Start page of secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit >
- <Name>SECWM1_PEND</Name>
- <Description>End page of first secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x50022054" name="FLASH_SECWMR2" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>HDP1_PEND</Name>
- <Description>End page of secure hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0xC003fff"/>
- </Bit>
- <Bit>
- <Name>HDP1EN</Name>
- <Description>Secure Hide protection first area enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">No secHDP area</Val>
- <Val value="0x1">HDP first area is enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Write Protection 1</Name>
- <Field>
- <Parameters address="0x50022058" name="FLASH_WRP1AR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>WRPA_PSTRT</Name>
- <Description>WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>WRPA_PEND</Name>
- <Description>WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_A</Name>
- <Description>WPR first area A unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRPA start and end pages locked</Val>
- <Val value="0x1">WRPA start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x5002205C" name="FLASH_WRPBR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>WRPB_PSTRT</Name>
- <Description>WPR second area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>WRPB_PEND</Name>
- <Description>WPR second area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_B</Name>
- <Description>WPR second area B unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRPB start and end pages locked</Val>
- <Val value="0x1">WRPB start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- </Bank>
- </Configuration>
- <Configuration config="3">
- <Bank interface="JTAG_SWD">
- <Parameters address="0x40022040" name="Bank 1" size="0x20"/>
- <Category>
- <Name>Read Out Protection</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>RDP</Name>
- <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x8</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0xAA">Level 0, no protection</Val>
- <Val value="0x55">Level 0.5, read protection not active, only non-secure debug access is possible. Only available when TrustZone is active (TZEN=1)</Val>
- <Val value="0xDC">Level 1, read protection of memories</Val>
- <Val value="0xCC">Level 2, chip protection</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>BOR Level</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOR_LEV</Name>
- <Description>These bits contain the VDD supply level threshold that activates/releases the reset.</Description>
- <BitOffset>0x8</BitOffset>
- <BitWidth>0x3</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
- <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
- <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
- <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
- <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>User Configuration</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>nRST_STOP</Name>
- <Description/>
- <BitOffset>0xC</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Stop mode</Val>
- <Val value="0x1">No reset generated when entering Stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_STDBY</Name>
- <Description/>
- <BitOffset>0xD</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Standby mode</Val>
- <Val value="0x1">No reset generated when entering Standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_SHDW</Name>
- <Description/>
- <BitOffset>0xE</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
- <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM1_RST</Name>
- <Description>SRAM1 erase upon system reset</Description>
- <BitOffset>0xF</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM1, SRAM3 and SRAM4 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM1, SRAM3 and SRAM4 not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_SW</Name>
- <Description/>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware independant watchdog</Val>
- <Val value="0x1">Software independant watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STOP</Name>
- <Description/>
- <BitOffset>0x11</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in stop mode</Val>
- <Val value="0x1">IWDG counter active in stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STDBY</Name>
- <Description/>
- <BitOffset>0x12</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in standby mode</Val>
- <Val value="0x1">IWDG counter active in standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>WWDG_SW</Name>
- <Description/>
- <BitOffset>0x13</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware window watchdog</Val>
- <Val value="0x1">Software window watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_PE</Name>
- <Description>SRAM2 parity check enable</Description>
- <BitOffset>0x18</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 parity check enable</Val>
- <Val value="0x1">SRAM2 parity check disable</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_RST</Name>
- <Description>SRAM2 Erase when system reset</Description>
- <BitOffset>0x19</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nSWBOOT0</Name>
- <Description>Software BOOT0</Description>
- <BitOffset>0x1A</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
- <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nBOOT0</Name>
- <Description>nBOOT0 option bit</Description>
- <BitOffset>0x1B</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">nBOOT0 = 0</Val>
- <Val value="0x1">nBOOT0 = 1</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>TZEN</Name>
- <Description>Global TrustZone security enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Global TrustZone security disabled</Val>
- <Val value="0x1">Global TrustZone security enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Boot Configuration</Name>
- <Field>
- <Parameters address="0x40022044" name="FLASH_NSBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD0</Name>
- <Description>Non-secure Boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022048" name="FLASH_NSBOOTADD1" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD1</Name>
- <Description>Non-secure Boot base address 1</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002204C" name="FLASH_SECBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>SECBOOTADD0</Name>
- <Description>Secure boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002204C" name="BOOT_LOCK" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOOT_LOCK</Name>
- <Description> The boot is always forced to base address value programmed in SECBOOTADD0</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Boot based on the pad/option bit configuration</Val>
- <Val value="0x1">Boot forced from base address memory</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Secure Area </Name>
- <Field>
- <Parameters address="0x40022050" name="FLASH_SECWMR1" size="0x4"/>
- <AssignedBits>
- <Bit config="3">
- <Name>SECWM1_PSTRT</Name>
- <Description>Start page of first secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="3">
- <Name>SECWM1_PEND</Name>
- <Description>End page of first secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022054" name="FLASH_SECWMR2" size="0x4"/>
- <AssignedBits>
- <Bit config="4">
- <Name>HDP1_PEND</Name>
- <Description>End page of secure hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0xC003fff"/>
- </Bit>
- <Bit>
- <Name>HDP1EN</Name>
- <Description>Secure Hide protection area enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">No HDP area 1</Val>
- <Val value="0x1">HDP first area is enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Write Protection 1</Name>
- <Field>
- <Parameters address="0x40022058" name="FLASH_WRPAR" size="0x4"/>
- <AssignedBits>
- <Bit config="3">
- <Name>WRPA_PSTRT</Name>
- <Description>WPR area A "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="3">
- <Name>WRPA_PEND</Name>
- <Description>WPR area A "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_A</Name>
- <Description>WPR area A unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRP1A start and end pages locked</Val>
- <Val value="0x1">WRP1A start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002205C" name="FLASH_WRPBR" size="0x4"/>
- <AssignedBits>
- <Bit config="3">
- <Name>WRPB_PSTRT</Name>
- <Description>WPR area B "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="3">
- <Name>WRPB_PEND</Name>
- <Description>WPR area B "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_B</Name>
- <Description>WPR area B unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRPB start and end pages locked</Val>
- <Val value="0x1">WRPB start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- </Bank>
- </Configuration>
- <Bank interface="Bootloader">
- <Parameters address="0x40022040" name="Bank 1" size="0x30"/>
- <Category>
- <Name>Read Out Protection</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>RDP</Name>
- <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x8</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0xAA">Level 0, no protection</Val>
- <Val value="0x55">Level 0.5, read protection not active, only non-secure debug access is possible. Only available when TrustZone is active (TZEN=1)</Val>
- <Val value="0xDC">Level 1, read protection of memories</Val>
- <Val value="0xCC">Level 2, chip protection</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>BOR Level</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>BOR_LEV</Name>
- <Description>These bits contain the supply level threshold that activates/releases the reset. They can be written to program a new BOR level value into Flash memory</Description>
- <BitOffset>0x8</BitOffset>
- <BitWidth>0x3</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
- <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
- <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
- <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
- <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>User Configuration</Name>
- <Field>
- <Parameters address="0x40022040" name="FLASH_OPTR" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>nRST_STOP</Name>
- <Description/>
- <BitOffset>0xC</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Stop mode</Val>
- <Val value="0x1">No reset generated when entering Stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_STDBY</Name>
- <Description/>
- <BitOffset>0xD</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering Standby mode</Val>
- <Val value="0x1">No reset generated when entering Standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nRST_SHDW</Name>
- <Description/>
- <BitOffset>0xE</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
- <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_SW</Name>
- <Description/>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware independant watchdog</Val>
- <Val value="0x1">Software independant watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STOP</Name>
- <Description/>
- <BitOffset>0x11</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in stop mode</Val>
- <Val value="0x1">IWDG counter active in stop mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>IWDG_STDBY</Name>
- <Description/>
- <BitOffset>0x12</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Freeze IWDG counter in standby mode</Val>
- <Val value="0x1">IWDG counter active in standby mode</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>WWDG_SW</Name>
- <Description/>
- <BitOffset>0x13</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Hardware window watchdog</Val>
- <Val value="0x1">Software window watchdog</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SWAP_BANK</Name>
- <Description/>
- <BitOffset>0x14</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Bank 1 and bank 2 address are not swapped</Val>
- <Val value="0x1">Bank 1 and bank 2 address are swapped</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>DB256</Name>
- <Description>Dual-Bank on 256 Kb Flash memory devices</Description>
- <BitOffset>0x15</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">256Kb single Flash: contiguous address in bank1</Val>
- <Val value="0x1">256Kb dual-bank Flash with contiguous addresses</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>DBANK</Name>
- <Description>Dual-bank on 1-Mbyte and 512-Kbyte Flash memory devices</Description>
- <BitOffset>0x16</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Single bank mode with 128 bits data read width</Val>
- <Val value="0x1">Dual bank mode with 64 bits data</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_PE</Name>
- <Description>SRAM2 parity check enable</Description>
- <BitOffset>0x18</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 parity check enable</Val>
- <Val value="0x1">SRAM2 parity check disable</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>SRAM2_RST</Name>
- <Description>SRAM2 Erase when system reset</Description>
- <BitOffset>0x19</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
- <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nSWBOOT0</Name>
- <Description>Software BOOT0</Description>
- <BitOffset>0x1A</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
- <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>nBOOT0</Name>
- <Description>nBOOT0 option bit</Description>
- <BitOffset>0x1B</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">nBOOT0 = 0</Val>
- <Val value="0x1">nBOOT0 = 1</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>PA15_PUPEN</Name>
- <Description>PA15 pull-up enable</Description>
- <BitOffset>0x1C</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">USB power delivery dead-battery enabled/ TDI pull-up deactivated</Val>
- <Val value="0x1">USB power delivery dead-battery disabled/ TDI pull-up activated</Val>
- </Values>
- </Bit>
- <Bit>
- <Name>TZEN</Name>
- <Description>Global TrustZone security enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Global TrustZone security disabled</Val>
- <Val value="0x1">Global TrustZone security enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Boot Configuration</Name>
- <Field>
- <Parameters address="0x40022044" name="FLASH_NSBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD0</Name>
- <Description>Non-secure Boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022048" name="FLASH_NSBOOTADD1" size="0x4"/>
- <AssignedBits>
- <Bit>
- <Name>NSBOOTADD1</Name>
- <Description>Non-secure Boot base address 1</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002204C" name="FLASH_SECBOOTADD0" size="0x4"/>
- <AssignedBits>
- <Bit config="6,7">
- <Name>SECBOOTADD0</Name>
- <Description>Secure boot base address 0</Description>
- <BitOffset>0x7</BitOffset>
- <BitWidth>0x19</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x80" offset="0x0000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002204C" name="BOOT_LOCK" size="0x4"/>
- <AssignedBits>
- <Bit config="6,7">
- <Name>BOOT_LOCK</Name>
- <Description> The boot is always forced to base address value programmed in SECBOOTADD0</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">Boot based on the pad/option bit configuration</Val>
- <Val value="0x1">Boot forced from base address memory</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Secure Area </Name>
- <Field>
- <Parameters address="0x40022050" name="FLASH_SECWM1R1" size="0x4"/>
- <AssignedBits>
- <Bit config="6">
- <Name>SECWM1_PSTRT</Name>
- <Description>Start page of first secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>SECWM1_PSTRT</Name>
- <Description>Start page of first secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="6">
- <Name>SECWM1_PEND</Name>
- <Description>End page of first secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>SECWM1_PEND</Name>
- <Description>End page of first secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022054" name="FLASH_SECWM2R1" size="0x4"/>
- <AssignedBits>
- <Bit config="6">
- <Name>HDP1_PEND</Name>
- <Description>End page of first hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x400" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>HDP1_PEND</Name>
- <Description>End page of first hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x200" offset="0x08000000"/>
- </Bit>
- <Bit config="6,7">
- <Name>HDP1EN</Name>
- <Description>Hide protection first area enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">No HDP area 1</Val>
- <Val value="0x1">HDP first area is enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Write Protection 1</Name>
- <Field>
- <Parameters address="0x40022058" name="FLASH_WRP1AR" size="0x4"/>
- <AssignedBits>
- <Bit config="6,8">
- <Name>WRP1A_PSTRT</Name>
- <Description>Bank 1 WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP1A_PSTRT</Name>
- <Description>Bank 1 WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="6,8">
- <Name>WRP1A_PEND</Name>
- <Description>Bank 1 WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP1A_PEND</Name>
- <Description>Bank 1 WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_1A</Name>
- <Description>Bank 1 WPR first area A unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRP1A start and end pages locked</Val>
- <Val value="0x1">WRP1A start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002205C" name="FLASH_WRP1BR" size="0x4"/>
- <AssignedBits>
- <Bit config="6,8">
- <Name>WRP1B_PSTRT</Name>
- <Description>Bank 1 WPR first area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP1B_PSTRT</Name>
- <Description>Bank 1 WPR first area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit config="6,8">
- <Name>WRP1B_PEND</Name>
- <Description>Bank 1 WPR first area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP1B_PEND</Name>
- <Description>Bank 1 WPR first area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08000000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_1B</Name>
- <Description>Bank 1 WPR second area B unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRP1B start and end pages locked</Val>
- <Val value="0x1">WRP1B start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Secure area 2</Name>
- <Field>
- <Parameters address="0x40022060" name="FLASH_SECWM2R1" size="0x4"/>
- <AssignedBits>
- <Bit config="6">
- <Name>SECWM2_PSTRT</Name>
- <Description>Start page of second secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>SECWM2_PSTRT</Name>
- <Description>Start page of second secure area</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- <Bit config="6">
- <Name>SECWM2_PEND</Name>
- <Description>End page of second secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>SECWM2_PEND</Name>
- <Description>End page of second secure area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x40022064" name="FLASH_SECWM2R2" size="0x4"/>
- <AssignedBits>
- <Bit config="6">
- <Name>HDP2_PEND</Name>
- <Description>End page of second hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x400" offset="0x08000000"/>
- </Bit>
- <Bit config="7">
- <Name>HDP2_PEND</Name>
- <Description>End page of second hide protection area</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x200" offset="0x08000000"/>
- </Bit>
- <Bit config="6,7">
- <Name>HDP2EN</Name>
- <Description>Hide protection second area enable</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">No HDP area 2</Val>
- <Val value="0x1">HDP second area is enabled</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- <Category>
- <Name>Write Protection 2</Name>
- <Field>
- <Parameters address="0x40022068" name="FLASH_WRP2AR" size="0x4"/>
- <AssignedBits>
- <Bit config="6,8">
- <Name>WRP2A_PSTRT</Name>
- <Description>Bank 2 WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP2A_PSTRT</Name>
- <Description>Bank 2 WPR first area "A" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- <Bit config="6,8">
- <Name>WRP2A_PEND</Name>
- <Description>Bank 2 WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP2A_PEND</Name>
- <Description>Bank 2 WPR first area "A" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_2A</Name>
- <Description>Bank 2 WPR first area A unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRP2A start and end pages locked</Val>
- <Val value="0x1">WRP2A start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- <Field>
- <Parameters address="0x4002206C" name="FLASH_WRP2BR" size="0x4"/>
- <AssignedBits>
- <Bit config="6,8">
- <Name>WRP2B_PSTRT</Name>
- <Description>Bank 2 WPR first area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP2B_PSTRT</Name>
- <Description>Bank 2 WPR first area "B" start page</Description>
- <BitOffset>0x0</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- <Bit config="6,8">
- <Name>WRP2B_PEND</Name>
- <Description>Bank 2 WPR first area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x4000" offset="0x08000000"/>
- </Bit>
- <Bit config="7,9">
- <Name>WRP2B_PEND</Name>
- <Description>Bank 2 WPR first area "B" end page</Description>
- <BitOffset>0x10</BitOffset>
- <BitWidth>0x7</BitWidth>
- <Access>RW</Access>
- <Equation multiplier="0x2000" offset="0x08100000"/>
- </Bit>
- <Bit>
- <Name>UNLOCK_2B</Name>
- <Description>Bank 2 WPR second area B unlock</Description>
- <BitOffset>0x1F</BitOffset>
- <BitWidth>0x1</BitWidth>
- <Access>RW</Access>
- <Values>
- <Val value="0x0">WRP2B start and end pages locked</Val>
- <Val value="0x1">WRP2B start and end pages unlocked</Val>
- </Values>
- </Bit>
- </AssignedBits>
- </Field>
- </Category>
- </Bank>
- </Peripheral>
- </Peripherals>
- </Device>
- </Root>
|