STM32_Prog_DB_0x415.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SCHVerif.xsd">
  3. <Device>
  4. <DeviceID>0x415</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M4</CPU>
  8. <Name>STM32L4x1/STM32L475xx/STM32L476xx/STM32L486xx</Name>
  9. <Series>STM32L4</Series>
  10. <Description>ARM 32-bit Cortex-M4 based device</Description>
  11. <Configurations>
  12. <!-- JTAG_SWD Interface -->
  13. <Interface name="JTAG_SWD"/>
  14. <!-- Bootloader Interface -->
  15. <Interface name="Bootloader"/>
  16. </Configurations>
  17. <!-- Peripherals -->
  18. <Peripherals>
  19. <!-- Embedded SRAM -->
  20. <Peripheral>
  21. <Name>Embedded SRAM</Name>
  22. <Type>Storage</Type>
  23. <Description/>
  24. <ErasedValue>0x00</ErasedValue>
  25. <Access>RWE</Access>
  26. <!-- 96 KB -->
  27. <Configuration>
  28. <Parameters address="0x20000000" name="SRAM" size="0x18000"/>
  29. <Description/>
  30. <Organization>Single</Organization>
  31. <Bank name="Bank 1">
  32. <Field>
  33. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x18000"/>
  34. </Field>
  35. </Bank>
  36. </Configuration>
  37. </Peripheral>
  38. <!-- Embedded Flash -->
  39. <Peripheral>
  40. <Name>Embedded Flash</Name>
  41. <Type>Storage</Type>
  42. <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>
  43. <ErasedValue>0xFF</ErasedValue>
  44. <Access>RWE</Access>
  45. <FlashSize address="0x1FFF75E0" default="0x100000"/>
  46. <!-- 1MB dual Bank -->
  47. <Configuration>
  48. <Parameters address="0x08000000" name=" 1 Mbyte Embedded Flash" size="0x100000"/>
  49. <Description/>
  50. <Organization>Dual</Organization>
  51. <Allignement>0x8</Allignement>
  52. <Bank name="Bank 1">
  53. <Field>
  54. <Parameters address="0x08000000" name="sector0" occurence="0x100" size="0x800"/>
  55. </Field>
  56. </Bank>
  57. <Bank name="Bank 2">
  58. <Field>
  59. <Parameters address="0x08080000" name="sector256" occurence="0x100" size="0x800"/>
  60. </Field>
  61. </Bank>
  62. </Configuration>
  63. </Peripheral>
  64. <!-- OTP -->
  65. <Peripheral>
  66. <Name>OTP</Name>
  67. <Type>Storage</Type>
  68. <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
  69. <ErasedValue>0xFF</ErasedValue>
  70. <Access>RW</Access>
  71. <!-- 1 KBytes single bank -->
  72. <Configuration>
  73. <Parameters address="0x1FFF7000" name=" 1 KBytes Data OTP" size="0x400"/>
  74. <Description/>
  75. <Organization>Single</Organization>
  76. <Allignement>0x4</Allignement>
  77. <Bank name="OTP">
  78. <Field>
  79. <Parameters address="0x1FFF7000" name="OTP" occurence="0x1" size="0x400"/>
  80. </Field>
  81. </Bank>
  82. </Configuration>
  83. </Peripheral>
  84. <!-- Mirror Option Bytes -->
  85. <Peripheral>
  86. <Name>MirrorOptionBytes</Name>
  87. <Type>Storage</Type>
  88. <Description>Mirror Option Bytes contains the extra area.</Description>
  89. <ErasedValue>0xFF</ErasedValue>
  90. <Access>RW</Access>
  91. <!-- 64 Bytes Dual bank -->
  92. <Configuration>
  93. <Parameters address="0x1FFF7800" name=" 64 Bytes Data MirrorOptionBytes" size="0x40"/>
  94. <Description/>
  95. <Organization>Dual</Organization>
  96. <Allignement>0x4</Allignement>
  97. <Bank name="Bank 1">
  98. <Field>
  99. <Parameters address="0x1FFF7800" name="Bank1" occurence="0x1" size="0x24"/>
  100. </Field>
  101. </Bank>
  102. <Bank name="Bank 2">
  103. <Field>
  104. <Parameters address="0x1FFFF808" name="Bank2" occurence="0x1" size="0x1C"/>
  105. </Field>
  106. </Bank>
  107. </Configuration>
  108. </Peripheral>
  109. <!-- Option Bytes -->
  110. <Peripheral>
  111. <Name>Option Bytes</Name>
  112. <Type>Configuration</Type>
  113. <Description/>
  114. <Access>RW</Access>
  115. <Bank interface="JTAG_SWD">
  116. <Parameters address="0x40022020" name="Bank 1" size="0x14"/>
  117. <Category>
  118. <Name>Read Out Protection</Name>
  119. <Field>
  120. <Parameters address="0x40022020" name="FLASH_OPTR" size="0x4"/>
  121. <AssignedBits>
  122. <Bit>
  123. <Name>RDP</Name>
  124. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  125. <BitOffset>0x0</BitOffset>
  126. <BitWidth>0x8</BitWidth>
  127. <Access>RW</Access>
  128. <Values>
  129. <Val value="0xAA">Level 0, no protection</Val>
  130. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  131. <Val value="0xCC">Level 2, chip protection</Val>
  132. </Values>
  133. </Bit>
  134. </AssignedBits>
  135. </Field>
  136. </Category>
  137. <Category>
  138. <Name>BOR Level</Name>
  139. <Field>
  140. <Parameters address="0x40022020" name="FLASH_OPTR" size="0x4"/>
  141. <AssignedBits>
  142. <Bit>
  143. <Name>BOR_LEV</Name>
  144. <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>
  145. <BitOffset>0x8</BitOffset>
  146. <BitWidth>0x3</BitWidth>
  147. <Access>RW</Access>
  148. <Values>
  149. <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
  150. <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
  151. <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
  152. <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
  153. <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
  154. </Values>
  155. </Bit>
  156. </AssignedBits>
  157. </Field>
  158. </Category>
  159. <Category>
  160. <Name>User Configuration</Name>
  161. <Field>
  162. <Parameters address="0x40022020" name="FLASH_OPTR" size="0x4"/>
  163. <AssignedBits>
  164. <Bit>
  165. <Name>nRST_STOP</Name>
  166. <Description/>
  167. <BitOffset>0xC</BitOffset>
  168. <BitWidth>0x1</BitWidth>
  169. <Access>RW</Access>
  170. <Values>
  171. <Val value="0x0">Reset generated when entering Stop mode</Val>
  172. <Val value="0x1">No reset generated when entering Stop mode</Val>
  173. </Values>
  174. </Bit>
  175. <Bit>
  176. <Name>nRST_STDBY</Name>
  177. <Description/>
  178. <BitOffset>0xD</BitOffset>
  179. <BitWidth>0x1</BitWidth>
  180. <Access>RW</Access>
  181. <Values>
  182. <Val value="0x0">Reset generated when entering Standby mode</Val>
  183. <Val value="0x1">No reset generated when entering Standby mode</Val>
  184. </Values>
  185. </Bit>
  186. <Bit>
  187. <Name>nRST_SHDW</Name>
  188. <Description/>
  189. <BitOffset>0xE</BitOffset>
  190. <BitWidth>0x1</BitWidth>
  191. <Access>RW</Access>
  192. <Values>
  193. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  194. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  195. </Values>
  196. </Bit>
  197. <Bit>
  198. <Name>IWDG_SW</Name>
  199. <Description/>
  200. <BitOffset>0x10</BitOffset>
  201. <BitWidth>0x1</BitWidth>
  202. <Access>RW</Access>
  203. <Values>
  204. <Val value="0x0">Hardware independant watchdog</Val>
  205. <Val value="0x1">Software independant watchdog</Val>
  206. </Values>
  207. </Bit>
  208. <Bit>
  209. <Name>IWDG_STOP</Name>
  210. <Description/>
  211. <BitOffset>0x11</BitOffset>
  212. <BitWidth>0x1</BitWidth>
  213. <Access>RW</Access>
  214. <Values>
  215. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  216. <Val value="0x1">IWDG counter active in stop mode</Val>
  217. </Values>
  218. </Bit>
  219. <Bit>
  220. <Name>IWDG_STDBY</Name>
  221. <Description/>
  222. <BitOffset>0x12</BitOffset>
  223. <BitWidth>0x1</BitWidth>
  224. <Access>RW</Access>
  225. <Values>
  226. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  227. <Val value="0x1">IWDG counter active in standby mode</Val>
  228. </Values>
  229. </Bit>
  230. <Bit>
  231. <Name>WWDG_SW</Name>
  232. <Description/>
  233. <BitOffset>0x13</BitOffset>
  234. <BitWidth>0x1</BitWidth>
  235. <Access>RW</Access>
  236. <Values>
  237. <Val value="0x0">Hardware window watchdog</Val>
  238. <Val value="0x1">Software window watchdog</Val>
  239. </Values>
  240. </Bit>
  241. <Bit>
  242. <Name>BFB2</Name>
  243. <Description/>
  244. <BitOffset>0x14</BitOffset>
  245. <BitWidth>0x1</BitWidth>
  246. <Access>RW</Access>
  247. <Values>
  248. <Val value="0x0">Dual-bank boot disable</Val>
  249. <Val value="0x1">Dual-bank boot enable</Val>
  250. </Values>
  251. </Bit>
  252. <Bit>
  253. <Name>nBOOT1</Name>
  254. <Description/>
  255. <BitOffset>0x17</BitOffset>
  256. <BitWidth>0x1</BitWidth>
  257. <Access>RW</Access>
  258. <Values>
  259. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  260. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  261. </Values>
  262. </Bit>
  263. <Bit>
  264. <Name>SRAM2_PE</Name>
  265. <Description/>
  266. <BitOffset>0x18</BitOffset>
  267. <BitWidth>0x1</BitWidth>
  268. <Access>RW</Access>
  269. <Values>
  270. <Val value="0x0">SRAM2 parity check enable</Val>
  271. <Val value="0x1">SRAM2 parity check disable</Val>
  272. </Values>
  273. </Bit>
  274. <Bit>
  275. <Name>SRAM2_RST</Name>
  276. <Description/>
  277. <BitOffset>0x19</BitOffset>
  278. <BitWidth>0x1</BitWidth>
  279. <Access>RW</Access>
  280. <Values>
  281. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  282. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  283. </Values>
  284. </Bit>
  285. </AssignedBits>
  286. </Field>
  287. </Category>
  288. <Category>
  289. <Name>PCROP Protection (Bank 1)</Name>
  290. <Field>
  291. <Parameters address="0x40022024" name="FLASH_PCROP1SR" size="0x4"/>
  292. <AssignedBits>
  293. <Bit>
  294. <Name>PCROP1_STRT</Name>
  295. <Description>Flash Bank 1 PCROP start address</Description>
  296. <BitOffset>0x0</BitOffset>
  297. <BitWidth>0x10</BitWidth>
  298. <Access>RW</Access>
  299. <Equation multiplier="0x8" offset="0x08000000"/>
  300. </Bit>
  301. </AssignedBits>
  302. </Field>
  303. <Field>
  304. <Parameters address="0x40022028" name="FLASH_PCROP1ER" size="0x4"/>
  305. <AssignedBits>
  306. <Bit>
  307. <Name>PCROP1_END</Name>
  308. <Description>Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  309. <BitOffset>0x0</BitOffset>
  310. <BitWidth>0x10</BitWidth>
  311. <Access>RW</Access>
  312. <Equation multiplier="0x8" offset="0x08000000"/>
  313. </Bit>
  314. <Bit>
  315. <Name>PCROP_RDP</Name>
  316. <Description/>
  317. <BitOffset>0x1F</BitOffset>
  318. <BitWidth>0x1</BitWidth>
  319. <Access>RW</Access>
  320. <Values>
  321. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  322. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  323. </Values>
  324. </Bit>
  325. </AssignedBits>
  326. </Field>
  327. </Category>
  328. <Category>
  329. <Name>Write Protection (Bank 1)</Name>
  330. <Field>
  331. <Parameters address="0x4002202C" name="FLASH_WRP1AR" size="0x4"/>
  332. <AssignedBits>
  333. <Bit>
  334. <Name>WRP1A_STRT</Name>
  335. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  336. <BitOffset>0x0</BitOffset>
  337. <BitWidth>0x8</BitWidth>
  338. <Access>RW</Access>
  339. <Equation multiplier="0x800" offset="0x08000000"/>
  340. </Bit>
  341. <Bit>
  342. <Name>WRP1A_END</Name>
  343. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  344. <BitOffset>0x10</BitOffset>
  345. <BitWidth>0x8</BitWidth>
  346. <Access>RW</Access>
  347. <Equation multiplier="0x800" offset="0x08000000"/>
  348. </Bit>
  349. </AssignedBits>
  350. </Field>
  351. <Field>
  352. <Parameters address="0x40022030" name="FLASH_WRP1BR" size="0x4"/>
  353. <AssignedBits>
  354. <Bit>
  355. <Name>WRP1B_STRT</Name>
  356. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  357. <BitOffset>0x0</BitOffset>
  358. <BitWidth>0x8</BitWidth>
  359. <Access>RW</Access>
  360. <Equation multiplier="0x800" offset="0x08000000"/>
  361. </Bit>
  362. <Bit>
  363. <Name>WRP1B_END</Name>
  364. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  365. <BitOffset>0x10</BitOffset>
  366. <BitWidth>0x8</BitWidth>
  367. <Access>RW</Access>
  368. <Equation multiplier="0x800" offset="0x08000000"/>
  369. </Bit>
  370. </AssignedBits>
  371. </Field>
  372. </Category>
  373. </Bank>
  374. <Bank interface="JTAG_SWD">
  375. <Parameters address="0x40022044" name="Bank 2" size="0x10"/>
  376. <Category>
  377. <Name>PCROP Protection (Bank 2)</Name>
  378. <Field>
  379. <Parameters address="0x40022044" name="FLASH_PCROP2SR" size="0x4"/>
  380. <AssignedBits>
  381. <Bit>
  382. <Name>PCROP2_STRT</Name>
  383. <Description>Flash Bank 2 PCROP start address</Description>
  384. <BitOffset>0x0</BitOffset>
  385. <BitWidth>0x10</BitWidth>
  386. <Access>RW</Access>
  387. <Equation multiplier="0x8" offset="0x08080000"/>
  388. </Bit>
  389. </AssignedBits>
  390. </Field>
  391. <Field>
  392. <Parameters address="0x40022048" name="FLASH_PCROP2ER" size="0x4"/>
  393. <AssignedBits>
  394. <Bit>
  395. <Name>PCROP2_END</Name>
  396. <Description>Flash Bank 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  397. <BitOffset>0x0</BitOffset>
  398. <BitWidth>0x10</BitWidth>
  399. <Access>RW</Access>
  400. <Equation multiplier="0x8" offset="0x08080000"/>
  401. </Bit>
  402. </AssignedBits>
  403. </Field>
  404. </Category>
  405. <Category>
  406. <Name>Write Protection (Bank 2)</Name>
  407. <Field>
  408. <Parameters address="0x4002204C" name="FLASH_WRP2AR" size="0x4"/>
  409. <AssignedBits>
  410. <Bit>
  411. <Name>WRP2A_STRT</Name>
  412. <Description>The address of first page of the Bank 2 WRP first area</Description>
  413. <BitOffset>0x0</BitOffset>
  414. <BitWidth>0x8</BitWidth>
  415. <Access>RW</Access>
  416. <Equation multiplier="0x800" offset="0x08080000"/>
  417. </Bit>
  418. <Bit>
  419. <Name>WRP2A_END</Name>
  420. <Description>The address of last page of the Bank 2 WRP first area</Description>
  421. <BitOffset>0x10</BitOffset>
  422. <BitWidth>0x8</BitWidth>
  423. <Access>RW</Access>
  424. <Equation multiplier="0x800" offset="0x08080000"/>
  425. </Bit>
  426. </AssignedBits>
  427. </Field>
  428. <Field>
  429. <Parameters address="0x40022050" name="FLASH_WRP2BR" size="0x4"/>
  430. <AssignedBits>
  431. <Bit>
  432. <Name>WRP2B_STRT</Name>
  433. <Description>The address of first page of the Bank 2 WRP second area</Description>
  434. <BitOffset>0x0</BitOffset>
  435. <BitWidth>0x8</BitWidth>
  436. <Access>RW</Access>
  437. <Equation multiplier="0x800" offset="0x08080000"/>
  438. </Bit>
  439. <Bit>
  440. <Name>WRP2B_END</Name>
  441. <Description>The address of last page of the Bank 2 WRP second area</Description>
  442. <BitOffset>0x10</BitOffset>
  443. <BitWidth>0x8</BitWidth>
  444. <Access>RW</Access>
  445. <Equation multiplier="0x800" offset="0x08080000"/>
  446. </Bit>
  447. </AssignedBits>
  448. </Field>
  449. </Category>
  450. </Bank>
  451. <Bank interface="Bootloader">
  452. <Parameters address="0x1FFF7800" name="Bank 1" size="0x24"/>
  453. <Category>
  454. <Name>Read Out Protection</Name>
  455. <Field>
  456. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  457. <AssignedBits>
  458. <Bit>
  459. <Name>RDP</Name>
  460. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  461. <BitOffset>0x0</BitOffset>
  462. <BitWidth>0x8</BitWidth>
  463. <Access>RW</Access>
  464. <Values>
  465. <Val value="0xAA">Level 0, no protection</Val>
  466. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  467. <Val value="0xCC">Level 2, chip protection</Val>
  468. </Values>
  469. </Bit>
  470. </AssignedBits>
  471. </Field>
  472. </Category>
  473. <Category>
  474. <Name>BOR Level</Name>
  475. <Field>
  476. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  477. <AssignedBits>
  478. <Bit>
  479. <Name>BOR_LEV</Name>
  480. <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>
  481. <BitOffset>0x8</BitOffset>
  482. <BitWidth>0x3</BitWidth>
  483. <Access>RW</Access>
  484. <Values>
  485. <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
  486. <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
  487. <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
  488. <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
  489. <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
  490. </Values>
  491. </Bit>
  492. </AssignedBits>
  493. </Field>
  494. </Category>
  495. <Category>
  496. <Name>User Configuration</Name>
  497. <Field>
  498. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  499. <AssignedBits>
  500. <Bit>
  501. <Name>IWDG_STOP</Name>
  502. <Description/>
  503. <BitOffset>0x11</BitOffset>
  504. <BitWidth>0x1</BitWidth>
  505. <Access>RW</Access>
  506. <Values>
  507. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  508. <Val value="0x1">IWDG counter active in stop mode</Val>
  509. </Values>
  510. </Bit>
  511. <Bit>
  512. <Name>IWDG_STDBY</Name>
  513. <Description/>
  514. <BitOffset>0x12</BitOffset>
  515. <BitWidth>0x1</BitWidth>
  516. <Access>RW</Access>
  517. <Values>
  518. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  519. <Val value="0x1">IWDG counter active in standby mode</Val>
  520. </Values>
  521. </Bit>
  522. </AssignedBits>
  523. </Field>
  524. <Field>
  525. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  526. <AssignedBits>
  527. <Bit>
  528. <Name>WWDG_SW</Name>
  529. <Description/>
  530. <BitOffset>0x13</BitOffset>
  531. <BitWidth>0x1</BitWidth>
  532. <Access>RW</Access>
  533. <Values>
  534. <Val value="0x0">Hardware window watchdog</Val>
  535. <Val value="0x1">Software window watchdog</Val>
  536. </Values>
  537. </Bit>
  538. <Bit>
  539. <Name>IWDG_SW</Name>
  540. <Description/>
  541. <BitOffset>0x10</BitOffset>
  542. <BitWidth>0x1</BitWidth>
  543. <Access>RW</Access>
  544. <Values>
  545. <Val value="0x0">Hardware independant watchdog</Val>
  546. <Val value="0x1">Software independant watchdog</Val>
  547. </Values>
  548. </Bit>
  549. <Bit>
  550. <Name>nRST_STOP</Name>
  551. <Description/>
  552. <BitOffset>0xC</BitOffset>
  553. <BitWidth>0x1</BitWidth>
  554. <Access>RW</Access>
  555. <Values>
  556. <Val value="0x0">Reset generated when entering Stop mode</Val>
  557. <Val value="0x1">No reset generated</Val>
  558. </Values>
  559. </Bit>
  560. <Bit>
  561. <Name>nRST_STDBY</Name>
  562. <Description/>
  563. <BitOffset>0xD</BitOffset>
  564. <BitWidth>0x1</BitWidth>
  565. <Access>RW</Access>
  566. <Values>
  567. <Val value="0x0">Reset generated when entering Standby mode</Val>
  568. <Val value="0x1">No reset generated</Val>
  569. </Values>
  570. </Bit>
  571. <Bit>
  572. <Name>nRST_SHDW</Name>
  573. <Description/>
  574. <BitOffset>0xE</BitOffset>
  575. <BitWidth>0x1</BitWidth>
  576. <Access>RW</Access>
  577. <Values>
  578. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  579. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  580. </Values>
  581. </Bit>
  582. <Bit>
  583. <Name>BFB2</Name>
  584. <Description/>
  585. <BitOffset>0x14</BitOffset>
  586. <BitWidth>0x1</BitWidth>
  587. <Access>RW</Access>
  588. <Values>
  589. <Val value="0x0">Dual-bank boot disable</Val>
  590. <Val value="0x1">Dual-bank boot enable</Val>
  591. </Values>
  592. </Bit>
  593. <Bit>
  594. <Name>nBOOT1</Name>
  595. <Description/>
  596. <BitOffset>0x17</BitOffset>
  597. <BitWidth>0x1</BitWidth>
  598. <Access>RW</Access>
  599. <Values>
  600. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  601. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  602. </Values>
  603. </Bit>
  604. <Bit>
  605. <Name>SRAM2_PE</Name>
  606. <Description/>
  607. <BitOffset>0x18</BitOffset>
  608. <BitWidth>0x1</BitWidth>
  609. <Access>RW</Access>
  610. <Values>
  611. <Val value="0x0">SRAM2 parity check enable</Val>
  612. <Val value="0x1">SRAM2 parity check disable</Val>
  613. </Values>
  614. </Bit>
  615. <Bit>
  616. <Name>SRAM2_RST</Name>
  617. <Description/>
  618. <BitOffset>0x19</BitOffset>
  619. <BitWidth>0x1</BitWidth>
  620. <Access>RW</Access>
  621. <Values>
  622. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  623. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  624. </Values>
  625. </Bit>
  626. </AssignedBits>
  627. </Field>
  628. </Category>
  629. <Category>
  630. <Name>PCROP Protection (Bank 1)</Name>
  631. <Field>
  632. <Parameters address="0x1FFF7808" name="FLASH_PCROP1SR" size="0x4"/>
  633. <AssignedBits>
  634. <Bit>
  635. <Name>PCROP1_STRT</Name>
  636. <Description>Flash Bank 1 PCROP start address</Description>
  637. <BitOffset>0x0</BitOffset>
  638. <BitWidth>0x10</BitWidth>
  639. <Access>RW</Access>
  640. <Equation multiplier="0x8" offset="0x08000000"/>
  641. </Bit>
  642. </AssignedBits>
  643. </Field>
  644. <Field>
  645. <Parameters address="0x1FFF7810" name="FLASH_PCROP1ER" size="0x4"/>
  646. <AssignedBits>
  647. <Bit>
  648. <Name>PCROP1_END</Name>
  649. <Description>Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  650. <BitOffset>0x0</BitOffset>
  651. <BitWidth>0x10</BitWidth>
  652. <Access>RW</Access>
  653. <Equation multiplier="0x8" offset="0x08000000"/>
  654. </Bit>
  655. <Bit>
  656. <Name>PCROP_RDP</Name>
  657. <Description/>
  658. <BitOffset>0x1F</BitOffset>
  659. <BitWidth>0x1</BitWidth>
  660. <Access>RW</Access>
  661. <Values>
  662. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  663. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  664. </Values>
  665. </Bit>
  666. </AssignedBits>
  667. </Field>
  668. </Category>
  669. <Category>
  670. <Name>Write Protection (Bank 1)</Name>
  671. <Field>
  672. <Parameters address="0x1FFF7818" name="FLASH_WRP1AR" size="0x4"/>
  673. <AssignedBits>
  674. <Bit>
  675. <Name>WRP1A_STRT</Name>
  676. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  677. <BitOffset>0x0</BitOffset>
  678. <BitWidth>0x8</BitWidth>
  679. <Access>RW</Access>
  680. <Equation multiplier="0x800" offset="0x08000000"/>
  681. </Bit>
  682. <Bit>
  683. <Name>WRP1A_END</Name>
  684. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  685. <BitOffset>0x10</BitOffset>
  686. <BitWidth>0x8</BitWidth>
  687. <Access>RW</Access>
  688. <Equation multiplier="0x800" offset="0x08000000"/>
  689. </Bit>
  690. </AssignedBits>
  691. </Field>
  692. <Field>
  693. <Parameters address="0x1FFF7820" name="FLASH_WRP1BR" size="0x4"/>
  694. <AssignedBits>
  695. <Bit>
  696. <Name>WRP1B_STRT</Name>
  697. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  698. <BitOffset>0x0</BitOffset>
  699. <BitWidth>0x8</BitWidth>
  700. <Access>RW</Access>
  701. <Equation multiplier="0x800" offset="0x08000000"/>
  702. </Bit>
  703. <Bit>
  704. <Name>WRP1B_END</Name>
  705. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  706. <BitOffset>0x10</BitOffset>
  707. <BitWidth>0x8</BitWidth>
  708. <Access>RW</Access>
  709. <Equation multiplier="0x800" offset="0x08000000"/>
  710. </Bit>
  711. </AssignedBits>
  712. </Field>
  713. </Category>
  714. </Bank>
  715. <Bank interface="Bootloader">
  716. <Parameters address="0x1FFFF808" name="Bank 2" size="0x1C"/>
  717. <Category>
  718. <Name>PCROP Protection (Bank 2)</Name>
  719. <Field>
  720. <Parameters address="0x1FFFF808" name="FLASH_PCROP2SR" size="0x4"/>
  721. <AssignedBits>
  722. <Bit>
  723. <Name>PCROP2_STRT</Name>
  724. <Description>Flash Bank 2 PCROP start address</Description>
  725. <BitOffset>0x0</BitOffset>
  726. <BitWidth>0x10</BitWidth>
  727. <Access>RW</Access>
  728. <Equation multiplier="0x8" offset="0x08080000"/>
  729. </Bit>
  730. </AssignedBits>
  731. </Field>
  732. <Field>
  733. <Parameters address="0x1FFFF810" name="FLASH_PCROP2ER" size="0x4"/>
  734. <AssignedBits>
  735. <Bit>
  736. <Name>PCROP2_END</Name>
  737. <Description>Flash Bank 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  738. <BitOffset>0x0</BitOffset>
  739. <BitWidth>0x10</BitWidth>
  740. <Access>RW</Access>
  741. <Equation multiplier="0x8" offset="0x08080000"/>
  742. </Bit>
  743. </AssignedBits>
  744. </Field>
  745. </Category>
  746. <Category>
  747. <Name>Write Protection (Bank 2)</Name>
  748. <Field>
  749. <Parameters address="0x1FFFF818" name="FLASH_WRP2AR" size="0x4"/>
  750. <AssignedBits>
  751. <Bit>
  752. <Name>WRP2A_STRT</Name>
  753. <Description>The address of first page of the Bank 2 WRP first area</Description>
  754. <BitOffset>0x0</BitOffset>
  755. <BitWidth>0x8</BitWidth>
  756. <Access>RW</Access>
  757. <Equation multiplier="0x800" offset="0x08080000"/>
  758. </Bit>
  759. <Bit>
  760. <Name>WRP2A_END</Name>
  761. <Description>The address of last page of the Bank 2 WRP first area</Description>
  762. <BitOffset>0x10</BitOffset>
  763. <BitWidth>0x8</BitWidth>
  764. <Access>RW</Access>
  765. <Equation multiplier="0x800" offset="0x08080000"/>
  766. </Bit>
  767. </AssignedBits>
  768. </Field>
  769. <Field>
  770. <Parameters address="0x1FFFF820" name="FLASH_WRP2BR" size="0x4"/>
  771. <AssignedBits>
  772. <Bit>
  773. <Name>WRP2B_STRT</Name>
  774. <Description>The address of first page of the Bank 2 WRP second area</Description>
  775. <BitOffset>0x0</BitOffset>
  776. <BitWidth>0x8</BitWidth>
  777. <Access>RW</Access>
  778. <Equation multiplier="0x20" offset="0x08080000"/>
  779. </Bit>
  780. <Bit>
  781. <Name>WRP2B_END</Name>
  782. <Description>The address of last page of the Bank 2 WRP second area</Description>
  783. <BitOffset>0x10</BitOffset>
  784. <BitWidth>0x8</BitWidth>
  785. <Access>RW</Access>
  786. <Equation multiplier="0x800" offset="0x08080000"/>
  787. </Bit>
  788. </AssignedBits>
  789. </Field>
  790. </Category>
  791. </Bank>
  792. </Peripheral>
  793. </Peripherals>
  794. </Device>
  795. </Root>