STM32_Prog_DB_0x468.xml 27 KB

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