STM32_Prog_DB_0x494.xml 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036
  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>0x494</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M0+/M4</CPU>
  8. <Name>STM32WB15xx</Name>
  9. <Series>STM32WB</Series>
  10. <Description>ARM 32-bit Cortex-M0+ and ARM 32-bit Cortex-M4 dual core 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. <!-- 12 KB SRAM1-->
  27. <Configuration>
  28. <Parameters address="0x20000000" name="SRAM" size="0x3000"/>
  29. <Description/>
  30. <Organization>Single</Organization>
  31. <Bank name="Bank 1">
  32. <Field>
  33. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x3000"/>
  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>0x00</ErasedValue>
  44. <Access>RWE</Access>
  45. <FlashSize address="0x1FFF75E0" default="0x50000"/>
  46. <!-- 320 KB Single Bank -->
  47. <Configuration>
  48. <Parameters address="0x08000000" name=" 320 Kbytes Embedded Flash" size="0x50000"/>
  49. <Description/>
  50. <Organization>Single</Organization>
  51. <Allignement>0x8</Allignement>
  52. <Bank name="Bank 1">
  53. <Field>
  54. <Parameters address="0x08000000" name="sector0" occurence="0xA0" 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 -->
  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. <!-- 128 Bytes single bank -->
  87. <Configuration>
  88. <Parameters address="0x1FFF7800" name=" 128 Bytes Data MirrorOptionBytes" size="0x80"/>
  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="0x80"/>
  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. <!-- Bank non secure -->
  107. <Parameters address="0x58004020" name="Bank 1" size="0x3C"/>
  108. <Category>
  109. <Name>Read Out Protection</Name>
  110. <Field>
  111. <Parameters address="0x58004020" name="RDP" size="0x4"/>
  112. <AssignedBits>
  113. <Bit>
  114. <Name>RDP</Name>
  115. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  116. <BitOffset>0x0</BitOffset>
  117. <BitWidth>0x8</BitWidth>
  118. <Access>RW</Access>
  119. <Values>
  120. <Val value="0xAA">Level 0, no protection</Val>
  121. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  122. <Val value="0xCC">Level 2, chip protection</Val>
  123. </Values>
  124. </Bit>
  125. </AssignedBits>
  126. </Field>
  127. </Category>
  128. <Category>
  129. <Name>BOR Level</Name>
  130. <Field>
  131. <Parameters address="0x58004020" name="USER" size="0x4"/>
  132. <AssignedBits>
  133. <Bit>
  134. <Name>BOR_LEV</Name>
  135. <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>
  136. <BitOffset>0x9</BitOffset>
  137. <BitWidth>0x3</BitWidth>
  138. <Access>RW</Access>
  139. <Values>
  140. <Val value="0x0">BOR Level 0 reset level threshold is around 1.7 V</Val>
  141. <Val value="0x1">BOR Level 1 reset level threshold is around 2.0 V</Val>
  142. <Val value="0x2">BOR Level 2 reset level threshold is around 2.2 V</Val>
  143. <Val value="0x3">BOR Level 3 reset level threshold is around 2.5 V</Val>
  144. <Val value="0x4">BOR Level 4 reset level threshold is around 2.8 V</Val>
  145. </Values>
  146. </Bit>
  147. </AssignedBits>
  148. </Field>
  149. </Category>
  150. <Category>
  151. <Name>User Configuration</Name>
  152. <Field>
  153. <Parameters address="0x58004020" name="USER" size="0x4"/>
  154. <AssignedBits>
  155. <Bit>
  156. <Name>nBOOT0</Name>
  157. <Description/>
  158. <BitOffset>0x1B</BitOffset>
  159. <BitWidth>0x1</BitWidth>
  160. <Access>RW</Access>
  161. <Values>
  162. <Val value="0x0">nBOOT0=0</Val>
  163. <Val value="0x1">nBOOT0=1</Val>
  164. </Values>
  165. </Bit>
  166. <Bit>
  167. <Name>nBOOT1</Name>
  168. <Description/>
  169. <BitOffset>0x17</BitOffset>
  170. <BitWidth>0x1</BitWidth>
  171. <Access>RW</Access>
  172. <Values>
  173. <Val value="0x0">Boot from code area if BOOT0=0 otherwise embedded SRAM1</Val>
  174. <Val value="0x1">Boot from code area if BOOT0=0 otherwise system Flash</Val>
  175. </Values>
  176. </Bit>
  177. <Bit>
  178. <Name>nSWBOOT0</Name>
  179. <Description/>
  180. <BitOffset>0x1A</BitOffset>
  181. <BitWidth>0x1</BitWidth>
  182. <Access>RW</Access>
  183. <Values>
  184. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  185. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  186. </Values>
  187. </Bit>
  188. <Bit>
  189. <Name>SRAM2RST</Name>
  190. <Description/>
  191. <BitOffset>0x19</BitOffset>
  192. <BitWidth>0x1</BitWidth>
  193. <Access>RW</Access>
  194. <Values>
  195. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  196. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  197. </Values>
  198. </Bit>
  199. <Bit>
  200. <Name>SRAM2PE</Name>
  201. <Description/>
  202. <BitOffset>0x18</BitOffset>
  203. <BitWidth>0x1</BitWidth>
  204. <Access>RW</Access>
  205. <Values>
  206. <Val value="0x0">SRAM2 parity check enable</Val>
  207. <Val value="0x1">SRAM2 parity check disable</Val>
  208. </Values>
  209. </Bit>
  210. <Bit>
  211. <Name>nRST_STOP</Name>
  212. <Description/>
  213. <BitOffset>0xC</BitOffset>
  214. <BitWidth>0x1</BitWidth>
  215. <Access>RW</Access>
  216. <Values>
  217. <Val value="0x0">Reset generated when entering the Stop mode</Val>
  218. <Val value="0x1">No reset generated when entering the Stop mode</Val>
  219. </Values>
  220. </Bit>
  221. <Bit>
  222. <Name>nRST_STDBY</Name>
  223. <Description/>
  224. <BitOffset>0xD</BitOffset>
  225. <BitWidth>0x1</BitWidth>
  226. <Access>RW</Access>
  227. <Values>
  228. <Val value="0x0">Reset generated when entering the Standby mode</Val>
  229. <Val value="0x1">No reset generated when entering the Standby mode</Val>
  230. </Values>
  231. </Bit>
  232. <Bit>
  233. <Name>nRSTSHDW</Name>
  234. <Description/>
  235. <BitOffset>0xE</BitOffset>
  236. <BitWidth>0x1</BitWidth>
  237. <Access>RW</Access>
  238. <Values>
  239. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  240. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  241. </Values>
  242. </Bit>
  243. <Bit>
  244. <Name>WWDGSW</Name>
  245. <Description/>
  246. <BitOffset>0x13</BitOffset>
  247. <BitWidth>0x1</BitWidth>
  248. <Access>RW</Access>
  249. <Values>
  250. <Val value="0x0">Hardware window watchdog</Val>
  251. <Val value="0x1">Software window watchdog</Val>
  252. </Values>
  253. </Bit>
  254. <Bit>
  255. <Name>IWGDSTDBY</Name>
  256. <Description/>
  257. <BitOffset>0x12</BitOffset>
  258. <BitWidth>0x1</BitWidth>
  259. <Access>RW</Access>
  260. <Values>
  261. <Val value="0x0">Independent watchdog counter frozen in Standby mode</Val>
  262. <Val value="0x1">Independent watchdog counter running in Standby mode</Val>
  263. </Values>
  264. </Bit>
  265. <Bit>
  266. <Name>IWDGSTOP</Name>
  267. <Description/>
  268. <BitOffset>0x11</BitOffset>
  269. <BitWidth>0x1</BitWidth>
  270. <Access>RW</Access>
  271. <Values>
  272. <Val value="0x0">Independent watchdog counter frozen in Stop mode</Val>
  273. <Val value="0x1">Independent watchdog counter running in Stop mode</Val>
  274. </Values>
  275. </Bit>
  276. <Bit>
  277. <Name>IWDGSW</Name>
  278. <Description/>
  279. <BitOffset>0x10</BitOffset>
  280. <BitWidth>0x1</BitWidth>
  281. <Access>RW</Access>
  282. <Values>
  283. <Val value="0x0">Hardware independent watchdog</Val>
  284. <Val value="0x1">Software independent watchdog</Val>
  285. </Values>
  286. </Bit>
  287. <Bit>
  288. <Name>GPIO_MODE_PB11</Name>
  289. <Description>PB11 GPIO mode</Description>
  290. <BitOffset>0x1C</BitOffset>
  291. <BitWidth>0x1</BitWidth>
  292. <Access>RW</Access>
  293. <Values>
  294. <Val value="0x0">If RESET_MODE_PB11 = 0: Bidirectional reset, NRST pin configured in reset input/output mode, GPIO functionality is not available on PB11. If RESET_MODE_PB11 = 1: Reset Input only, a low level on the NRST pin generates system reset, internal RESET.</Val>
  295. <Val value="0x1">If RESET_MODE_PB11 = 0: Standard GPIO pad functionality, Only internal RESET possible. If RESET_MODE_PB11 = 1: Bidirectional reset, NRST pin configured in reset input/output mode (default mode), GPIO functionality is not available on PB11.</Val>
  296. </Values>
  297. </Bit>
  298. <Bit>
  299. <Name>RESET_MODE_PB11</Name>
  300. <Description>PB11 reset mode</Description>
  301. <BitOffset>0x16</BitOffset>
  302. <BitWidth>0x1</BitWidth>
  303. <Access>RW</Access>
  304. <Values>
  305. <Val value="0x0">If GPIO_MODE_PB11 = 0: Bidirectional reset, NRST pin configured in reset input/output mode. If GPIO_MODE_PB11 = 1: Standard GPIO pad functionality, only internal RESET possible.</Val>
  306. <Val value="0x1">If GPIO_MODE_PB11 = 0: Reset input only, a low level on the NRST pin generates system reset, internal RESET not propagated to the NSRT pin. If GPIO_MODE_PB11 = 1: Bidirectional reset, NRST pin configured in reset input/output mode (default mode).</Val>
  307. </Values>
  308. </Bit>
  309. <Bit>
  310. <Name>IRH</Name>
  311. <Description>Internal reset holder enable bit</Description>
  312. <BitOffset>0xF</BitOffset>
  313. <BitWidth>0x1</BitWidth>
  314. <Access>RW</Access>
  315. <Values>
  316. <Val value="0x0">Internal resets are propagated as simple pulse on NRST pin.</Val>
  317. <Val value="0x1">Internal resets drives NRST pin low until it is seen as low level.</Val>
  318. </Values>
  319. </Bit>
  320. </AssignedBits>
  321. </Field>
  322. </Category>
  323. <Category>
  324. <Name>ESE</Name>
  325. <Field>
  326. <Parameters address="0x58004020" name="FLASH_OPTR" size="0x4"/>
  327. <AssignedBits>
  328. <Bit>
  329. <Name>ESE</Name>
  330. <Description>System Security Enabled flag</Description>
  331. <BitOffset>0x8</BitOffset>
  332. <BitWidth>0x1</BitWidth>
  333. <Access>R</Access>
  334. <Values>
  335. <Val value="0x0">Security disabled</Val>
  336. <Val value="0x1">Security enabled</Val>
  337. </Values>
  338. </Bit>
  339. </AssignedBits>
  340. </Field>
  341. </Category>
  342. <Category>
  343. <Name>PCROP Protection</Name>
  344. <Field>
  345. <Parameters address="0x58004024" name="PCROP1ASR" size="0x4"/>
  346. <AssignedBits>
  347. <Bit>
  348. <Name>PCROP1A_STRT</Name>
  349. <Description>Flash Area 1 PCROP start address</Description>
  350. <BitOffset>0x0</BitOffset>
  351. <BitWidth>0x9</BitWidth>
  352. <Access>RW</Access>
  353. <Equation multiplier="0x400" offset="0x08000000"/>
  354. </Bit>
  355. </AssignedBits>
  356. </Field>
  357. <Field>
  358. <Parameters address="0x58004028" name="PCROP1AER" size="0x4"/>
  359. <AssignedBits>
  360. <Bit>
  361. <Name>PCROP1A_END</Name>
  362. <Description>Flash Area 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP. from level 1 to level 0.</Description>
  363. <BitOffset>0x0</BitOffset>
  364. <BitWidth>0x9</BitWidth>
  365. <Access>RW</Access>
  366. <Equation multiplier="0x400" offset="0x08000000"/>
  367. </Bit>
  368. <Bit>
  369. <Name>PCROP_RDP</Name>
  370. <Description/>
  371. <BitOffset>0x1F</BitOffset>
  372. <BitWidth>0x1</BitWidth>
  373. <Access>RW</Access>
  374. <Values>
  375. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  376. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  377. </Values>
  378. </Bit>
  379. </AssignedBits>
  380. </Field>
  381. <Field>
  382. <Parameters address="0x58004034" name="PCROP1BSR" size="0x4"/>
  383. <AssignedBits>
  384. <Bit>
  385. <Name>PCROP1B_STRT</Name>
  386. <Description>Flash Area 2 PCROP start address</Description>
  387. <BitOffset>0x0</BitOffset>
  388. <BitWidth>0x9</BitWidth>
  389. <Access>RW</Access>
  390. <Equation multiplier="0x400" offset="0x08000000"/>
  391. </Bit>
  392. </AssignedBits>
  393. </Field>
  394. <Field>
  395. <Parameters address="0x58004038" name="PCROP1BER" size="0x4"/>
  396. <AssignedBits>
  397. <Bit>
  398. <Name>PCROP1B_END</Name>
  399. <Description>Flash Area 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP. from level 1 to level 0.</Description>
  400. <BitOffset>0x0</BitOffset>
  401. <BitWidth>0x9</BitWidth>
  402. <Access>RW</Access>
  403. <Equation multiplier="0x400" offset="0x08000000"/>
  404. </Bit>
  405. </AssignedBits>
  406. </Field>
  407. </Category>
  408. <Category>
  409. <Name>Write Protection</Name>
  410. <Field>
  411. <Parameters address="0x5800402C" name="FLASH_WRP1AR" size="0x4"/>
  412. <AssignedBits>
  413. <Bit>
  414. <Name>WRP1A_STRT</Name>
  415. <Description>The address of the first page of the WRP first area.</Description>
  416. <BitOffset>0x0</BitOffset>
  417. <BitWidth>0x8</BitWidth>
  418. <Access>RW</Access>
  419. <Equation multiplier="0x0800" offset="0x08000000"/>
  420. </Bit>
  421. <Bit>
  422. <Name>WRP1A_END</Name>
  423. <Description>The address of the last page of the WRP first area.</Description>
  424. <BitOffset>0x10</BitOffset>
  425. <BitWidth>0x8</BitWidth>
  426. <Access>RW</Access>
  427. <Equation multiplier="0x0800" offset="0x08000000"/>
  428. </Bit>
  429. </AssignedBits>
  430. </Field>
  431. <Field>
  432. <Parameters address="0x58004030" name="FLASH_WRP1BR" size="0x4"/>
  433. <AssignedBits>
  434. <Bit>
  435. <Name>WRP1B_STRT</Name>
  436. <Description>The address of the first page of WRP second area.</Description>
  437. <BitOffset>0x0</BitOffset>
  438. <BitWidth>0x8</BitWidth>
  439. <Access>RW</Access>
  440. <Equation multiplier="0x0800" offset="0x08000000"/>
  441. </Bit>
  442. <Bit>
  443. <Name>WRP1B_END</Name>
  444. <Description>The address of the last page of WRP second area.</Description>
  445. <BitOffset>0x10</BitOffset>
  446. <BitWidth>0x8</BitWidth>
  447. <Access>RW</Access>
  448. <Equation multiplier="0x0800" offset="0x08000000"/>
  449. </Bit>
  450. </AssignedBits>
  451. </Field>
  452. </Category>
  453. </Bank>
  454. <Bank interface="JTAG_SWD">
  455. <Parameters address="0x5800403C" name="Bank 2" size="0x4"/>
  456. <Category>
  457. <Name>IPCCDBA-AA</Name>
  458. <Field>
  459. <Parameters address="0x5800403C" name="FLASH_IPCCBR" size="0x4"/>
  460. <AssignedBits>
  461. <Bit>
  462. <Name>IPCCDBA</Name>
  463. <Description>IPCC mailbox data buffer base address</Description>
  464. <BitOffset>0x0</BitOffset>
  465. <BitWidth>0xE</BitWidth>
  466. <Access>RW</Access>
  467. <Equation multiplier="0x1" offset="0x20010000"/>
  468. </Bit>
  469. </AssignedBits>
  470. </Field>
  471. </Category>
  472. </Bank>
  473. <Bank interface="JTAG_SWD">
  474. <Parameters address="0x58004080" name="Bank 3" size="0x8"/>
  475. <Category>
  476. <Name>Security Configuration Option bytes</Name>
  477. <Field>
  478. <Parameters address="0x58004080" name="FLASH_SFR" size="0x4"/>
  479. <AssignedBits>
  480. <Bit>
  481. <Name>SFSA</Name>
  482. <Description>Secure Flash Start Address</Description>
  483. <BitOffset>0x0</BitOffset>
  484. <BitWidth>0x8</BitWidth>
  485. <Access>RW</Access>
  486. <Equation multiplier="0x800" offset="0x08000000"/>
  487. </Bit>
  488. <Bit>
  489. <Name>FSD</Name>
  490. <Description>Flash Security Disable</Description>
  491. <BitOffset>0x8</BitOffset>
  492. <BitWidth>0x1</BitWidth>
  493. <Access>RW</Access>
  494. <Values>
  495. <Val value="0x0">System and Flash secure</Val>
  496. <Val value="0x1">System and Flash non-secure</Val>
  497. </Values>
  498. </Bit>
  499. <Bit>
  500. <Name>DDS</Name>
  501. <Description>Disable CPU2 Debug access</Description>
  502. <BitOffset>0xC</BitOffset>
  503. <BitWidth>0x1</BitWidth>
  504. <Access>RW</Access>
  505. <Values>
  506. <Val value="0x0">CPU2 debug access enabled</Val>
  507. <Val value="0x1">CPU2 debug access disabled</Val>
  508. </Values>
  509. </Bit>
  510. </AssignedBits>
  511. </Field>
  512. <Field>
  513. <Parameters address="0x58004084" name="FLASH_SRRVR" size="0x4"/>
  514. <AssignedBits>
  515. <Bit>
  516. <Name>C2OPT</Name>
  517. <Description>CPU2 boot reset vector memory selection</Description>
  518. <BitOffset>0x1F</BitOffset>
  519. <BitWidth>0x1</BitWidth>
  520. <Access>RW</Access>
  521. <Values>
  522. <Val value="0x0">SBRV will address SRAM1 or SRAM2</Val>
  523. <Val value="0x1">SBRV will address Flash</Val>
  524. </Values>
  525. </Bit>
  526. <Bit>
  527. <Name>BRSD_B</Name>
  528. <Description>Backup SRAM2b security disable</Description>
  529. <BitOffset>0x1E</BitOffset>
  530. <BitWidth>0x1</BitWidth>
  531. <Access>RW</Access>
  532. <Values>
  533. <Val value="0x0">SRAM2b is secure</Val>
  534. <Val value="0x1">SRAM2b is non-secure</Val>
  535. </Values>
  536. </Bit>
  537. <Bit>
  538. <Name>SBRSA_B</Name>
  539. <Description>SBRSA_B[1:0] contains the start address of the first 1K page of the secure non-backup SRAM2b area.</Description>
  540. <BitOffset>0x19</BitOffset>
  541. <BitWidth>0x2</BitWidth>
  542. <Access>RW</Access>
  543. <Equation multiplier="0x800" offset="0x2000BFFF"/>
  544. </Bit>
  545. <Bit>
  546. <Name>BRSD_A</Name>
  547. <Description>Backup SRAM2a security disable</Description>
  548. <BitOffset>0x17</BitOffset>
  549. <BitWidth>0x1</BitWidth>
  550. <Access>RW</Access>
  551. <Values>
  552. <Val value="0x0">SRAM2a is secure</Val>
  553. <Val value="0x1">SRAM2a is non-secure</Val>
  554. </Values>
  555. </Bit>
  556. <Bit>
  557. <Name>SBRSA_A</Name>
  558. <Description>SBRSA_A[4:0] contains the start address of the first 1K page of the secure backup SRAM2a area.</Description>
  559. <BitOffset>0x12</BitOffset>
  560. <BitWidth>0x5</BitWidth>
  561. <Access>RW</Access>
  562. <Equation multiplier="0x800" offset="0x2000B000"/>
  563. </Bit>
  564. <Bit>
  565. <Name>SBRV</Name>
  566. <Description>Contains the word aligned CPU2 boot reset start address offset within the selected. memory area by C2OPT.</Description>
  567. <BitOffset>0x0</BitOffset>
  568. <BitWidth>0x11</BitWidth>
  569. <Access>RW</Access>
  570. <Equation multiplier="0x800" offset="0x08000000"/>
  571. </Bit>
  572. </AssignedBits>
  573. </Field>
  574. </Category>
  575. </Bank>
  576. <Bank interface="Bootloader">
  577. <Parameters address="0x1FFF7800" name="Bank 1" size="0x80"/>
  578. <Category>
  579. <Name>Read Out Protection</Name>
  580. <Field>
  581. <Parameters address="0x1FFF7800" name="RDP" size="0x4"/>
  582. <AssignedBits>
  583. <Bit>
  584. <Name>RDP</Name>
  585. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  586. <BitOffset>0x0</BitOffset>
  587. <BitWidth>0x8</BitWidth>
  588. <Access>RW</Access>
  589. <Values>
  590. <Val value="0xAA">Level 0, no protection</Val>
  591. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  592. <Val value="0xCC">Level 2, chip protection</Val>
  593. </Values>
  594. </Bit>
  595. </AssignedBits>
  596. </Field>
  597. </Category>
  598. <Category>
  599. <Name>BOR Level</Name>
  600. <Field>
  601. <Parameters address="0x1FFF7800" name="USER" size="0x4"/>
  602. <AssignedBits>
  603. <Bit>
  604. <Name>BOR_LEV</Name>
  605. <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>
  606. <BitOffset>0x9</BitOffset>
  607. <BitWidth>0x3</BitWidth>
  608. <Access>RW</Access>
  609. <Values>
  610. <Val value="0x0">BOR Level 0 reset level threshold is around 1.7 V</Val>
  611. <Val value="0x1">BOR Level 1 reset level threshold is around 2.0 V</Val>
  612. <Val value="0x2">BOR Level 2 reset level threshold is around 2.2 V</Val>
  613. <Val value="0x3">BOR Level 3 reset level threshold is around 2.5 V</Val>
  614. <Val value="0x4">BOR Level 4 reset level threshold is around 2.8 V</Val>
  615. </Values>
  616. </Bit>
  617. </AssignedBits>
  618. </Field>
  619. </Category>
  620. <Category>
  621. <Name>User Configuration</Name>
  622. <Field>
  623. <Parameters address="0x1FFF7800" name="USER" size="0x4"/>
  624. <AssignedBits>
  625. <Bit>
  626. <Name>nBOOT0</Name>
  627. <Description/>
  628. <BitOffset>0x1B</BitOffset>
  629. <BitWidth>0x1</BitWidth>
  630. <Access>RW</Access>
  631. <Values>
  632. <Val value="0x0">nBOOT0=0</Val>
  633. <Val value="0x1">nBOOT0=1</Val>
  634. </Values>
  635. </Bit>
  636. <Bit>
  637. <Name>nBOOT1</Name>
  638. <Description/>
  639. <BitOffset>0x17</BitOffset>
  640. <BitWidth>0x1</BitWidth>
  641. <Access>RW</Access>
  642. <Values>
  643. <Val value="0x0">Boot from code area if BOOT0=0 otherwise embedded SRAM1</Val>
  644. <Val value="0x1">Boot from code area if BOOT0=0 otherwise system Flash</Val>
  645. </Values>
  646. </Bit>
  647. <Bit>
  648. <Name>nSWBOOT0</Name>
  649. <Description/>
  650. <BitOffset>0x1A</BitOffset>
  651. <BitWidth>0x1</BitWidth>
  652. <Access>RW</Access>
  653. <Values>
  654. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  655. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  656. </Values>
  657. </Bit>
  658. <Bit>
  659. <Name>SRAM2RST</Name>
  660. <Description/>
  661. <BitOffset>0x19</BitOffset>
  662. <BitWidth>0x1</BitWidth>
  663. <Access>RW</Access>
  664. <Values>
  665. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  666. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  667. </Values>
  668. </Bit>
  669. <Bit>
  670. <Name>SRAM2PE</Name>
  671. <Description/>
  672. <BitOffset>0x18</BitOffset>
  673. <BitWidth>0x1</BitWidth>
  674. <Access>RW</Access>
  675. <Values>
  676. <Val value="0x0">SRAM2 parity check enable</Val>
  677. <Val value="0x1">SRAM2 parity check disable</Val>
  678. </Values>
  679. </Bit>
  680. <Bit>
  681. <Name>nRST_STOP</Name>
  682. <Description/>
  683. <BitOffset>0xC</BitOffset>
  684. <BitWidth>0x1</BitWidth>
  685. <Access>RW</Access>
  686. <Values>
  687. <Val value="0x0">Reset generated when entering the Stop mode</Val>
  688. <Val value="0x1">No reset generated when entering the Stop mode</Val>
  689. </Values>
  690. </Bit>
  691. <Bit>
  692. <Name>nRST_STDBY</Name>
  693. <Description/>
  694. <BitOffset>0xD</BitOffset>
  695. <BitWidth>0x1</BitWidth>
  696. <Access>RW</Access>
  697. <Values>
  698. <Val value="0x0">Reset generated when entering the Standby mode</Val>
  699. <Val value="0x1">No reset generated when entering the Standby mode</Val>
  700. </Values>
  701. </Bit>
  702. <Bit>
  703. <Name>nRSTSHDW</Name>
  704. <Description/>
  705. <BitOffset>0xE</BitOffset>
  706. <BitWidth>0x1</BitWidth>
  707. <Access>RW</Access>
  708. <Values>
  709. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  710. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  711. </Values>
  712. </Bit>
  713. <Bit>
  714. <Name>WWDGSW</Name>
  715. <Description/>
  716. <BitOffset>0x13</BitOffset>
  717. <BitWidth>0x1</BitWidth>
  718. <Access>RW</Access>
  719. <Values>
  720. <Val value="0x0">Hardware window watchdog</Val>
  721. <Val value="0x1">Software window watchdog</Val>
  722. </Values>
  723. </Bit>
  724. <Bit>
  725. <Name>IWGDSTDBY</Name>
  726. <Description/>
  727. <BitOffset>0x12</BitOffset>
  728. <BitWidth>0x1</BitWidth>
  729. <Access>RW</Access>
  730. <Values>
  731. <Val value="0x0">Independent watchdog counter frozen in Standby mode</Val>
  732. <Val value="0x1">Independent watchdog counter running in Standby mode</Val>
  733. </Values>
  734. </Bit>
  735. <Bit>
  736. <Name>IWDGSTOP</Name>
  737. <Description/>
  738. <BitOffset>0x11</BitOffset>
  739. <BitWidth>0x1</BitWidth>
  740. <Access>RW</Access>
  741. <Values>
  742. <Val value="0x0">Independent watchdog counter frozen in Stop mode</Val>
  743. <Val value="0x1">Independent watchdog counter running in Stop mode</Val>
  744. </Values>
  745. </Bit>
  746. <Bit>
  747. <Name>IWDGSW</Name>
  748. <Description/>
  749. <BitOffset>0x10</BitOffset>
  750. <BitWidth>0x1</BitWidth>
  751. <Access>RW</Access>
  752. <Values>
  753. <Val value="0x0">Hardware independent watchdog</Val>
  754. <Val value="0x1">Software independent watchdog</Val>
  755. </Values>
  756. </Bit>
  757. <Bit>
  758. <Name>GPIO_MODE_PB11</Name>
  759. <Description>PB11 GPIO mode</Description>
  760. <BitOffset>0x1C</BitOffset>
  761. <BitWidth>0x1</BitWidth>
  762. <Access>RW</Access>
  763. <Values>
  764. <Val value="0x0">If RESET_MODE_PB11 = 0: Bidirectional reset, NRST pin configured in reset input/output mode, GPIO functionality is not available on PB11. If RESET_MODE_PB11 = 1: Reset Input only, a low level on the NRST pin generates system reset, internal RESET.</Val>
  765. <Val value="0x1">If RESET_MODE_PB11 = 0: Standard GPIO pad functionality, Only internal RESET possible. If RESET_MODE_PB11 = 1: Bidirectional reset, NRST pin configured in reset input/output mode (default mode), GPIO functionality is not available on PB11.</Val>
  766. </Values>
  767. </Bit>
  768. <Bit>
  769. <Name>RESET_MODE_PB11</Name>
  770. <Description>PB11 reset mode</Description>
  771. <BitOffset>0x16</BitOffset>
  772. <BitWidth>0x1</BitWidth>
  773. <Access>RW</Access>
  774. <Values>
  775. <Val value="0x0">If GPIO_MODE_PB11 = 0: Bidirectional reset, NRST pin configured in reset input/output mode. If GPIO_MODE_PB11 = 1: Standard GPIO pad functionality, only internal RESET possible.</Val>
  776. <Val value="0x1">If GPIO_MODE_PB11 = 0: Reset input only, a low level on the NRST pin generates system reset, internal RESET not propagated to the NSRT pin. If GPIO_MODE_PB11 = 1: Bidirectional reset, NRST pin configured in reset input/output mode (default mode).</Val>
  777. </Values>
  778. </Bit>
  779. <Bit>
  780. <Name>IRH</Name>
  781. <Description>Internal reset holder enable bit</Description>
  782. <BitOffset>0xF</BitOffset>
  783. <BitWidth>0x1</BitWidth>
  784. <Access>RW</Access>
  785. <Values>
  786. <Val value="0x0">Internal resets are propagated as simple pulse on NRST pin.</Val>
  787. <Val value="0x1">Internal resets drives NRST pin low until it is seen as low level.</Val>
  788. </Values>
  789. </Bit>
  790. </AssignedBits>
  791. </Field>
  792. <Field>
  793. <Parameters address="0x1FFF7868" name="FLASH_IPCCBR" size="0x4"/>
  794. <AssignedBits>
  795. <Bit>
  796. <Name>IPCCDBA</Name>
  797. <Description>IPCC mailbox data buffer base address</Description>
  798. <BitOffset>0x0</BitOffset>
  799. <BitWidth>0xE</BitWidth>
  800. <Access>RW</Access>
  801. </Bit>
  802. </AssignedBits>
  803. </Field>
  804. </Category>
  805. <Category>
  806. <Name>Security Configuration</Name>
  807. <Field>
  808. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  809. <AssignedBits>
  810. <Bit>
  811. <Name>ESE</Name>
  812. <Description>System Security Enabled flag</Description>
  813. <BitOffset>0x8</BitOffset>
  814. <BitWidth>0x1</BitWidth>
  815. <Access>R</Access>
  816. <Values>
  817. <Val value="0x0">Security disabled</Val>
  818. <Val value="0x1">Security enabled</Val>
  819. </Values>
  820. </Bit>
  821. </AssignedBits>
  822. </Field>
  823. <Field>
  824. <Parameters address="0x1FFF7870" name="FLASH_SFR" size="0x4"/>
  825. <AssignedBits>
  826. <Bit>
  827. <Name>SFSA</Name>
  828. <Description>Secure Flash Start Address</Description>
  829. <BitOffset>0x0</BitOffset>
  830. <BitWidth>0x8</BitWidth>
  831. <Access>RW</Access>
  832. <Equation multiplier="0x800" offset="0x08000000"/>
  833. </Bit>
  834. <Bit>
  835. <Name>FSD</Name>
  836. <Description>Flash Security Disable</Description>
  837. <BitOffset>0x8</BitOffset>
  838. <BitWidth>0x1</BitWidth>
  839. <Access>RW</Access>
  840. <Values>
  841. <Val value="0x0">System and Flash secure</Val>
  842. <Val value="0x1">System and Flash non-secure</Val>
  843. </Values>
  844. </Bit>
  845. <Bit>
  846. <Name>DDS</Name>
  847. <Description>Disable CPU2 Debug access</Description>
  848. <BitOffset>0xC</BitOffset>
  849. <BitWidth>0x1</BitWidth>
  850. <Access>RW</Access>
  851. <Values>
  852. <Val value="0x0">CPU2 debug access enabled</Val>
  853. <Val value="0x1">CPU2 debug access disabled</Val>
  854. </Values>
  855. </Bit>
  856. </AssignedBits>
  857. </Field>
  858. <Field>
  859. <Parameters address="0x1FFF7878" name="FLASH_SRRVR" size="0x4"/>
  860. <AssignedBits>
  861. <Bit>
  862. <Name>C2OPT</Name>
  863. <Description>CPU2 boot reset vector memory selection</Description>
  864. <BitOffset>0x1F</BitOffset>
  865. <BitWidth>0x1</BitWidth>
  866. <Access>RW</Access>
  867. <Values>
  868. <Val value="0x0">SBRV will address SRAM1 or SRAM2</Val>
  869. <Val value="0x1">SBRV will address Flash</Val>
  870. </Values>
  871. </Bit>
  872. <Bit>
  873. <Name>BRSD_B</Name>
  874. <Description>Backup SRAM2b security disable</Description>
  875. <BitOffset>0x1E</BitOffset>
  876. <BitWidth>0x1</BitWidth>
  877. <Access>RW</Access>
  878. <Values>
  879. <Val value="0x0">SRAM2b is secure</Val>
  880. <Val value="0x1">SRAM2b is non-secure</Val>
  881. </Values>
  882. </Bit>
  883. <Bit>
  884. <Name>SBRSA_B</Name>
  885. <Description>SBRSA_B[1:0] contains the start address of the first 1K page of the secure non-backup SRAM2b area.</Description>
  886. <BitOffset>0x19</BitOffset>
  887. <BitWidth>0x2</BitWidth>
  888. <Access>RW</Access>
  889. <Equation multiplier="0x800" offset="0x08000000"/>
  890. </Bit>
  891. <Bit>
  892. <Name>BRSD_A</Name>
  893. <Description>Backup SRAM2a security disable</Description>
  894. <BitOffset>0x17</BitOffset>
  895. <BitWidth>0x1</BitWidth>
  896. <Access>RW</Access>
  897. <Values>
  898. <Val value="0x0">SRAM2a is secure</Val>
  899. <Val value="0x1">SRAM2a is non-secure</Val>
  900. </Values>
  901. </Bit>
  902. <Bit>
  903. <Name>SBRSA_A</Name>
  904. <Description>SBRSA_A[4:0] contains the start address of the first 1K page of the secure backup SRAM2a area.</Description>
  905. <BitOffset>0x12</BitOffset>
  906. <BitWidth>0x5</BitWidth>
  907. <Access>RW</Access>
  908. <Equation multiplier="0x800" offset="0x08000000"/>
  909. </Bit>
  910. <Bit>
  911. <Name>SBRV</Name>
  912. <Description>Contains the word aligned CPU2 boot reset start address offset within the selected. memory area by C2OPT.</Description>
  913. <BitOffset>0x0</BitOffset>
  914. <BitWidth>0x11</BitWidth>
  915. <Access>RW</Access>
  916. <Equation multiplier="0x800" offset="0x08000000"/>
  917. </Bit>
  918. </AssignedBits>
  919. </Field>
  920. </Category>
  921. <Category>
  922. <Name>PCROP Protection</Name>
  923. <Field>
  924. <Parameters address="0x1FFF7808" name="PCROP1ASR" size="0x4"/>
  925. <AssignedBits>
  926. <Bit>
  927. <Name>PCROP1A_STRT</Name>
  928. <Description>Flash Area 1 PCROP start address</Description>
  929. <BitOffset>0x0</BitOffset>
  930. <BitWidth>0x9</BitWidth>
  931. <Access>RW</Access>
  932. <Equation multiplier="0x400" offset="0x08000000"/>
  933. </Bit>
  934. </AssignedBits>
  935. </Field>
  936. <Field>
  937. <Parameters address="0x1FFF7810" name="PCROP1AER" size="0x4"/>
  938. <AssignedBits>
  939. <Bit>
  940. <Name>PCROP1A_END</Name>
  941. <Description>Flash Area 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP. from level 1 to level 0.</Description>
  942. <BitOffset>0x0</BitOffset>
  943. <BitWidth>0x9</BitWidth>
  944. <Access>RW</Access>
  945. <Equation multiplier="0x400" offset="0x08000000"/>
  946. </Bit>
  947. <Bit>
  948. <Name>PCROP_RDP</Name>
  949. <Description/>
  950. <BitOffset>0x1F</BitOffset>
  951. <BitWidth>0x1</BitWidth>
  952. <Access>RW</Access>
  953. <Values>
  954. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  955. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  956. </Values>
  957. </Bit>
  958. </AssignedBits>
  959. </Field>
  960. <Field>
  961. <Parameters address="0x1FFF7828" name="PCROP1BSR" size="0x4"/>
  962. <AssignedBits>
  963. <Bit>
  964. <Name>PCROP1B_STRT</Name>
  965. <Description>Flash Area 2 PCROP start address</Description>
  966. <BitOffset>0x0</BitOffset>
  967. <BitWidth>0x9</BitWidth>
  968. <Access>RW</Access>
  969. <Equation multiplier="0x800" offset="0x08000000"/>
  970. </Bit>
  971. </AssignedBits>
  972. </Field>
  973. <Field>
  974. <Parameters address="0x1FFF7830" name="PCROP1BER" size="0x4"/>
  975. <AssignedBits>
  976. <Bit>
  977. <Name>PCROP1B_END</Name>
  978. <Description>Flash Area 2 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP. from level 1 to level 0.</Description>
  979. <BitOffset>0x0</BitOffset>
  980. <BitWidth>0x9</BitWidth>
  981. <Access>RW</Access>
  982. <Equation multiplier="0x400" offset="0x08000000"/>
  983. </Bit>
  984. </AssignedBits>
  985. </Field>
  986. </Category>
  987. <Category>
  988. <Name>Write Protection</Name>
  989. <Field>
  990. <Parameters address="0x1FFF7818" name="FLASH_WRP1AR" size="0x4"/>
  991. <AssignedBits>
  992. <Bit>
  993. <Name>WRP1A_STRT</Name>
  994. <Description>The address of the first page of the WRP first area</Description>
  995. <BitOffset>0x0</BitOffset>
  996. <BitWidth>0x8</BitWidth>
  997. <Access>RW</Access>
  998. <Equation multiplier="0x1000" offset="0x08000000"/>
  999. </Bit>
  1000. <Bit>
  1001. <Name>WRP1A_END</Name>
  1002. <Description>The address of the last page of the WRP first area</Description>
  1003. <BitOffset>0x10</BitOffset>
  1004. <BitWidth>0x8</BitWidth>
  1005. <Access>RW</Access>
  1006. <Equation multiplier="0x0800" offset="0x08000000"/>
  1007. </Bit>
  1008. </AssignedBits>
  1009. </Field>
  1010. <Field>
  1011. <Parameters address="0x1FFF7820" name="FLASH_WRP1BR" size="0x4"/>
  1012. <AssignedBits>
  1013. <Bit>
  1014. <Name>WRP1B_STRT</Name>
  1015. <Description>The address of the first page of the WRP second area.</Description>
  1016. <BitOffset>0x0</BitOffset>
  1017. <BitWidth>0x8</BitWidth>
  1018. <Access>RW</Access>
  1019. <Equation multiplier="0x0800" offset="0x08000000"/>
  1020. </Bit>
  1021. <Bit>
  1022. <Name>WRP1B_END</Name>
  1023. <Description>The address of the last page of the WRP second area.</Description>
  1024. <BitOffset>0x10</BitOffset>
  1025. <BitWidth>0x8</BitWidth>
  1026. <Access>RW</Access>
  1027. <Equation multiplier="0x0800" offset="0x08000000"/>
  1028. </Bit>
  1029. </AssignedBits>
  1030. </Field>
  1031. </Category>
  1032. </Bank>
  1033. </Peripheral>
  1034. </Peripherals>
  1035. </Device>
  1036. </Root>