STM32_Prog_DB_0x460.xml 27 KB

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