STM32_Prog_DB_0x496.xml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949
  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>0x496</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M0+/M4</CPU>
  8. <Name>STM32WB35xx</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>0xFF</ErasedValue>
  25. <Access>RWE</Access>
  26. <!-- 192 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>0x00</ErasedValue>
  44. <Access>RWE</Access>
  45. <FlashSize address="0x1FFF75E0" default="0x80000"/>
  46. <BootloaderVersion address="0x1FFF6FFE"/>
  47. <!-- 1024KB Single Bank -->
  48. <Configuration>
  49. <Parameters address="0x08000000" name=" 512 Kbytes Embedded Flash" size="0x80000"/>
  50. <Description/>
  51. <Organization>Single</Organization>
  52. <Allignement>0x8</Allignement>
  53. <Bank name="Bank 1">
  54. <Field>
  55. <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x1000"/>
  56. </Field>
  57. </Bank>
  58. </Configuration>
  59. </Peripheral>
  60. <!-- OTP -->
  61. <Peripheral>
  62. <Name>OTP</Name>
  63. <Type>Storage</Type>
  64. <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
  65. <ErasedValue>0xFF</ErasedValue>
  66. <Access>RW</Access>
  67. <!-- 1 KBytes single bank -->
  68. <Configuration>
  69. <Parameters address="0x1FFF7000" name=" 1 KBytes Data OTP" size="0x400"/>
  70. <Description/>
  71. <Organization>Single</Organization>
  72. <Allignement>0x4</Allignement>
  73. <Bank name="OTP">
  74. <Field>
  75. <Parameters address="0x1FFF7000" name="OTP" occurence="0x1" size="0x400"/>
  76. </Field>
  77. </Bank>
  78. </Configuration>
  79. </Peripheral>
  80. <!-- Mirror Option Bytes -->
  81. <Peripheral>
  82. <Name>MirrorOptionBytes</Name>
  83. <Type>Storage</Type>
  84. <Description>Mirror Option Bytes contains the extra area.</Description>
  85. <ErasedValue>0xFF</ErasedValue>
  86. <Access>RW</Access>
  87. <!-- 128 Bytes single bank -->
  88. <Configuration>
  89. <Parameters address="0x1FFF8000" name=" 128 Bytes Data MirrorOptionBytes" size="0x80"/>
  90. <Description/>
  91. <Organization>Single</Organization>
  92. <Allignement>0x4</Allignement>
  93. <Bank name="MirrorOptionBytes">
  94. <Field>
  95. <Parameters address="0x1FFF8000" name="MirrorOptionBytes" occurence="0x1" size="0x80"/>
  96. </Field>
  97. </Bank>
  98. </Configuration>
  99. </Peripheral>
  100. <!-- Option Bytes -->
  101. <Peripheral>
  102. <Name>Option Bytes</Name>
  103. <Type>Configuration</Type>
  104. <Description/>
  105. <Access>RW</Access>
  106. <Bank interface="JTAG_SWD">
  107. <Parameters address="0x58004020" name="Bank 1" size="0x68"/>
  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 system Flash</Val>
  174. <Val value="0x1">Boot from code area if BOOT0=0 otherwise embedded SRAM</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>IWDGSTDBY</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. </AssignedBits>
  288. </Field>
  289. <Field>
  290. <Parameters address="0x5800403C" name="FLASH_IPCCBR" size="0x4"/>
  291. <AssignedBits>
  292. <Bit>
  293. <Name>IPCCDBA</Name>
  294. <Description>IPCC mailbox data buffer base address</Description>
  295. <BitOffset>0x0</BitOffset>
  296. <BitWidth>0xE</BitWidth>
  297. <Access>RW</Access>
  298. </Bit>
  299. </AssignedBits>
  300. </Field>
  301. </Category>
  302. <Category>
  303. <Name>Security Configuration Option bytes</Name>
  304. <Field>
  305. <Parameters address="0x58004020" name="FLASH_OPTR" size="0x4"/>
  306. <AssignedBits>
  307. <Bit>
  308. <Name>ESE</Name>
  309. <Description/>
  310. <BitOffset>0x8</BitOffset>
  311. <BitWidth>0x1</BitWidth>
  312. <Access>R</Access>
  313. <Values>
  314. <Val value="0x0">Security disabled</Val>
  315. <Val value="0x1">Security enabled</Val>
  316. </Values>
  317. </Bit>
  318. </AssignedBits>
  319. </Field>
  320. <Field>
  321. <Parameters address="0x58004080" name="FLASH_SFR" size="0x4"/>
  322. <AssignedBits>
  323. <Bit>
  324. <Name>SFSA</Name>
  325. <Description>Secure Flash start address</Description>
  326. <BitOffset>0x0</BitOffset>
  327. <BitWidth>0x7</BitWidth>
  328. <Access>RW</Access>
  329. </Bit>
  330. <Bit>
  331. <Name>FSD</Name>
  332. <Description/>
  333. <BitOffset>0x7</BitOffset>
  334. <BitWidth>0x1</BitWidth>
  335. <Access>RW</Access>
  336. <Values>
  337. <Val value="0x0">System and Flash secure</Val>
  338. <Val value="0x1">System and Flash non-secure</Val>
  339. </Values>
  340. </Bit>
  341. <Bit>
  342. <Name>DDS</Name>
  343. <Description/>
  344. <BitOffset>0xC</BitOffset>
  345. <BitWidth>0x1</BitWidth>
  346. <Access>RW</Access>
  347. <Values>
  348. <Val value="0x0">CPU2 debug access enabled</Val>
  349. <Val value="0x1">CPU2 debug access disabled</Val>
  350. </Values>
  351. </Bit>
  352. </AssignedBits>
  353. </Field>
  354. <Field>
  355. <Parameters address="0x58004084" name="FLASH_SRRVR" size="0x4"/>
  356. <AssignedBits>
  357. <Bit>
  358. <Name>C2OPT</Name>
  359. <Description/>
  360. <BitOffset>0x1F</BitOffset>
  361. <BitWidth>0x1</BitWidth>
  362. <Access>RW</Access>
  363. <Values>
  364. <Val value="0x0">SBRV will address SRAM2</Val>
  365. <Val value="0x1">SBRV will address Flash</Val>
  366. </Values>
  367. </Bit>
  368. <Bit>
  369. <Name>NBRSD</Name>
  370. <Description>If FSD=1 : SRAM2b is non-secure. If FSD=0 :</Description>
  371. <BitOffset>0x1E</BitOffset>
  372. <BitWidth>0x1</BitWidth>
  373. <Access>RW</Access>
  374. <Values>
  375. <Val value="0x0">SRAM2b is secure</Val>
  376. <Val value="0x1">SRAM2b is non-secure</Val>
  377. </Values>
  378. </Bit>
  379. <Bit>
  380. <Name>SNBRSA</Name>
  381. <Description>SNBRSA[4:0] contains the start address of the first 1K page of the secure non-backup SRAM2b area.</Description>
  382. <BitOffset>0x19</BitOffset>
  383. <BitWidth>0x5</BitWidth>
  384. <Access>RW</Access>
  385. </Bit>
  386. <Bit>
  387. <Name>BRSD</Name>
  388. <Description>If FSD=1 : SRAM2a is non-secure. If FSD=0 :</Description>
  389. <BitOffset>0x17</BitOffset>
  390. <BitWidth>0x1</BitWidth>
  391. <Access>RW</Access>
  392. <Values>
  393. <Val value="0x0">SRAM2a is secure</Val>
  394. <Val value="0x1">SRAM2a is non-secure</Val>
  395. </Values>
  396. </Bit>
  397. <Bit>
  398. <Name>SBRSA</Name>
  399. <Description>SBRSA[4:0] contains the start address of the first 1K page of the secure backup SRAM2a area.</Description>
  400. <BitOffset>0x12</BitOffset>
  401. <BitWidth>0x5</BitWidth>
  402. <Access>RW</Access>
  403. </Bit>
  404. <Bit>
  405. <Name>SBRV</Name>
  406. <Description>Contains the word aligned CPU2 boot reset start address offset within the selected. memory area by C2OPT.</Description>
  407. <BitOffset>0x0</BitOffset>
  408. <BitWidth>0x11</BitWidth>
  409. <Access>RW</Access>
  410. </Bit>
  411. </AssignedBits>
  412. </Field>
  413. </Category>
  414. <Category>
  415. <Name>PCROP Protection</Name>
  416. <Field>
  417. <Parameters address="0x58004024" name="PCROP1ASR" size="0x4"/>
  418. <AssignedBits>
  419. <Bit>
  420. <Name>PCROP1A_STRT</Name>
  421. <Description>Flash Area 1 PCROP start address</Description>
  422. <BitOffset>0x0</BitOffset>
  423. <BitWidth>0x9</BitWidth>
  424. <Access>RW</Access>
  425. <Equation multiplier="0x800" offset="0x08000000"/>
  426. </Bit>
  427. </AssignedBits>
  428. </Field>
  429. <Field>
  430. <Parameters address="0x58004028" name="PCROP1AER" size="0x4"/>
  431. <AssignedBits>
  432. <Bit>
  433. <Name>PCROP1A_END</Name>
  434. <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>
  435. <BitOffset>0x0</BitOffset>
  436. <BitWidth>0x9</BitWidth>
  437. <Access>RW</Access>
  438. <Equation multiplier="0x800" offset="0x08000800"/>
  439. </Bit>
  440. <Bit>
  441. <Name>PCROP_RDP</Name>
  442. <Description/>
  443. <BitOffset>0x1F</BitOffset>
  444. <BitWidth>0x1</BitWidth>
  445. <Access>RW</Access>
  446. <Values>
  447. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  448. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  449. </Values>
  450. </Bit>
  451. </AssignedBits>
  452. </Field>
  453. <Field>
  454. <Parameters address="0x58004034" name="PCROP1BSR" size="0x4"/>
  455. <AssignedBits>
  456. <Bit>
  457. <Name>PCROP1B_STRT</Name>
  458. <Description>Flash Area 2 PCROP start address</Description>
  459. <BitOffset>0x0</BitOffset>
  460. <BitWidth>0x9</BitWidth>
  461. <Access>RW</Access>
  462. <Equation multiplier="0x800" offset="0x08000000"/>
  463. </Bit>
  464. </AssignedBits>
  465. </Field>
  466. <Field>
  467. <Parameters address="0x58004038" name="PCROP1BER" size="0x4"/>
  468. <AssignedBits>
  469. <Bit>
  470. <Name>PCROP1B_END</Name>
  471. <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>
  472. <BitOffset>0x0</BitOffset>
  473. <BitWidth>0x9</BitWidth>
  474. <Access>RW</Access>
  475. <Equation multiplier="0x800" offset="0x08000800"/>
  476. </Bit>
  477. </AssignedBits>
  478. </Field>
  479. </Category>
  480. <Category>
  481. <Name>Write Protection</Name>
  482. <Field>
  483. <Parameters address="0x5800402C" name="FLASH_WRP1AR" size="0x4"/>
  484. <AssignedBits>
  485. <Bit>
  486. <Name>WRP1A_STRT</Name>
  487. <Description>The address of the first page of the Bank 1 WRP first area.</Description>
  488. <BitOffset>0x0</BitOffset>
  489. <BitWidth>0x8</BitWidth>
  490. <Access>RW</Access>
  491. <Equation multiplier="0x1000" offset="0x08000000"/>
  492. </Bit>
  493. <Bit>
  494. <Name>WRP1A_END</Name>
  495. <Description>The address of the last page of the Bank 1 WRP first area.</Description>
  496. <BitOffset>0x10</BitOffset>
  497. <BitWidth>0x8</BitWidth>
  498. <Access>RW</Access>
  499. <Equation multiplier="0x1000" offset="0x08000000"/>
  500. </Bit>
  501. </AssignedBits>
  502. </Field>
  503. <Field>
  504. <Parameters address="0x58004030" name="FLASH_WRP1BR" size="0x4"/>
  505. <AssignedBits>
  506. <Bit>
  507. <Name>WRP1B_STRT</Name>
  508. <Description>The address of the first page of the Bank 1 WRP second area.</Description>
  509. <BitOffset>0x0</BitOffset>
  510. <BitWidth>0x8</BitWidth>
  511. <Access>RW</Access>
  512. <Equation multiplier="0x1000" offset="0x08000000"/>
  513. </Bit>
  514. <Bit>
  515. <Name>WRP1B_END</Name>
  516. <Description>The address of the last page of the Bank 1 WRP second area.</Description>
  517. <BitOffset>0x10</BitOffset>
  518. <BitWidth>0x8</BitWidth>
  519. <Access>RW</Access>
  520. <Equation multiplier="0x1000" offset="0x08000000"/>
  521. </Bit>
  522. </AssignedBits>
  523. </Field>
  524. </Category>
  525. </Bank>
  526. <Bank interface="Bootloader">
  527. <Parameters address="0x1FFF8000" name="Bank 1" size="0x80"/>
  528. <Category>
  529. <Name>Read Out Protection</Name>
  530. <Field>
  531. <Parameters address="0x1FFF8000" name="RDP" size="0x4"/>
  532. <AssignedBits>
  533. <Bit>
  534. <Name>RDP</Name>
  535. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  536. <BitOffset>0x0</BitOffset>
  537. <BitWidth>0x8</BitWidth>
  538. <Access>RW</Access>
  539. <Values>
  540. <Val value="0xAA">Level 0, no protection</Val>
  541. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  542. <Val value="0xCC">Level 2, chip protection</Val>
  543. </Values>
  544. </Bit>
  545. </AssignedBits>
  546. </Field>
  547. </Category>
  548. <Category>
  549. <Name>BOR Level</Name>
  550. <Field>
  551. <Parameters address="0x1FFF8000" name="USER" size="0x4"/>
  552. <AssignedBits>
  553. <Bit>
  554. <Name>BOR_LEV</Name>
  555. <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>
  556. <BitOffset>0x9</BitOffset>
  557. <BitWidth>0x3</BitWidth>
  558. <Access>RW</Access>
  559. <Values>
  560. <Val value="0x0">BOR Level 0 reset level threshold is around 1.7 V</Val>
  561. <Val value="0x1">BOR Level 1 reset level threshold is around 2.0 V</Val>
  562. <Val value="0x2">BOR Level 2 reset level threshold is around 2.2 V</Val>
  563. <Val value="0x3">BOR Level 3 reset level threshold is around 2.5 V</Val>
  564. <Val value="0x4">BOR Level 4 reset level threshold is around 2.8 V</Val>
  565. </Values>
  566. </Bit>
  567. </AssignedBits>
  568. </Field>
  569. </Category>
  570. <Category>
  571. <Name>User Configuration</Name>
  572. <Field>
  573. <Parameters address="0x1FFF8000" name="USER" size="0x4"/>
  574. <AssignedBits>
  575. <Bit>
  576. <Name>nBOOT0</Name>
  577. <Description/>
  578. <BitOffset>0x1B</BitOffset>
  579. <BitWidth>0x1</BitWidth>
  580. <Access>RW</Access>
  581. <Values>
  582. <Val value="0x0">nBOOT0=0</Val>
  583. <Val value="0x1">nBOOT0=1</Val>
  584. </Values>
  585. </Bit>
  586. <Bit>
  587. <Name>nBOOT1</Name>
  588. <Description/>
  589. <BitOffset>0x17</BitOffset>
  590. <BitWidth>0x1</BitWidth>
  591. <Access>RW</Access>
  592. <Values>
  593. <Val value="0x0">Boot from code area if BOOT0=0 otherwise system Flash</Val>
  594. <Val value="0x1">Boot from code area if BOOT0=0 otherwise embedded SRAM</Val>
  595. </Values>
  596. </Bit>
  597. <Bit>
  598. <Name>nSWBOOT0</Name>
  599. <Description/>
  600. <BitOffset>0x1A</BitOffset>
  601. <BitWidth>0x1</BitWidth>
  602. <Access>RW</Access>
  603. <Values>
  604. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  605. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  606. </Values>
  607. </Bit>
  608. <Bit>
  609. <Name>SRAM2RST</Name>
  610. <Description/>
  611. <BitOffset>0x19</BitOffset>
  612. <BitWidth>0x1</BitWidth>
  613. <Access>RW</Access>
  614. <Values>
  615. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  616. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  617. </Values>
  618. </Bit>
  619. <Bit>
  620. <Name>SRAM2PE</Name>
  621. <Description/>
  622. <BitOffset>0x18</BitOffset>
  623. <BitWidth>0x1</BitWidth>
  624. <Access>RW</Access>
  625. <Values>
  626. <Val value="0x0">SRAM2 parity check enable</Val>
  627. <Val value="0x1">SRAM2 parity check disable</Val>
  628. </Values>
  629. </Bit>
  630. <Bit>
  631. <Name>nRST_STOP</Name>
  632. <Description/>
  633. <BitOffset>0xC</BitOffset>
  634. <BitWidth>0x1</BitWidth>
  635. <Access>RW</Access>
  636. <Values>
  637. <Val value="0x0">Reset generated when entering the Stop mode</Val>
  638. <Val value="0x1">No reset generated when entering the Stop mode</Val>
  639. </Values>
  640. </Bit>
  641. <Bit>
  642. <Name>nRST_STDBY</Name>
  643. <Description/>
  644. <BitOffset>0xD</BitOffset>
  645. <BitWidth>0x1</BitWidth>
  646. <Access>RW</Access>
  647. <Values>
  648. <Val value="0x0">Reset generated when entering the Standby mode</Val>
  649. <Val value="0x1">No reset generated when entering the Standby mode</Val>
  650. </Values>
  651. </Bit>
  652. <Bit>
  653. <Name>nRSTSHDW</Name>
  654. <Description/>
  655. <BitOffset>0xE</BitOffset>
  656. <BitWidth>0x1</BitWidth>
  657. <Access>RW</Access>
  658. <Values>
  659. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  660. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  661. </Values>
  662. </Bit>
  663. <Bit>
  664. <Name>WWDGSW</Name>
  665. <Description/>
  666. <BitOffset>0x13</BitOffset>
  667. <BitWidth>0x1</BitWidth>
  668. <Access>RW</Access>
  669. <Values>
  670. <Val value="0x0">Hardware window watchdog</Val>
  671. <Val value="0x1">Software window watchdog</Val>
  672. </Values>
  673. </Bit>
  674. <Bit>
  675. <Name>IWDGSTDBY</Name>
  676. <Description/>
  677. <BitOffset>0x12</BitOffset>
  678. <BitWidth>0x1</BitWidth>
  679. <Access>RW</Access>
  680. <Values>
  681. <Val value="0x0">Independent watchdog counter frozen in Standby mode</Val>
  682. <Val value="0x1">Independent watchdog counter running in Standby mode</Val>
  683. </Values>
  684. </Bit>
  685. <Bit>
  686. <Name>IWDGSTOP</Name>
  687. <Description/>
  688. <BitOffset>0x11</BitOffset>
  689. <BitWidth>0x1</BitWidth>
  690. <Access>RW</Access>
  691. <Values>
  692. <Val value="0x0">Independent watchdog counter frozen in Stop mode</Val>
  693. <Val value="0x1">Independent watchdog counter running in Stop mode</Val>
  694. </Values>
  695. </Bit>
  696. <Bit>
  697. <Name>IWDGSW</Name>
  698. <Description/>
  699. <BitOffset>0x10</BitOffset>
  700. <BitWidth>0x1</BitWidth>
  701. <Access>RW</Access>
  702. <Values>
  703. <Val value="0x0">Hardware independent watchdog</Val>
  704. <Val value="0x1">Software independent watchdog</Val>
  705. </Values>
  706. </Bit>
  707. </AssignedBits>
  708. </Field>
  709. <Field>
  710. <Parameters address="0x1FFF8068" name="FLASH_IPCCBR" size="0x4"/>
  711. <AssignedBits>
  712. <Bit>
  713. <Name>IPCCDBA</Name>
  714. <Description>IPCC mailbox data buffer base address</Description>
  715. <BitOffset>0x0</BitOffset>
  716. <BitWidth>0xE</BitWidth>
  717. <Access>RW</Access>
  718. </Bit>
  719. </AssignedBits>
  720. </Field>
  721. </Category>
  722. <Category>
  723. <Name>Security Configuration Option bytes</Name>
  724. <Field>
  725. <Parameters address="0x1FFF8000" name="FLASH_OPTR" size="0x4"/>
  726. <AssignedBits>
  727. <Bit>
  728. <Name>ESE</Name>
  729. <Description/>
  730. <BitOffset>0x8</BitOffset>
  731. <BitWidth>0x1</BitWidth>
  732. <Access>R</Access>
  733. <Values>
  734. <Val value="0x0">Security disabled</Val>
  735. <Val value="0x1">Security enabled</Val>
  736. </Values>
  737. </Bit>
  738. </AssignedBits>
  739. </Field>
  740. <Field>
  741. <Parameters address="0x1FFF8070" name="FLASH_SFR" size="0x4"/>
  742. <AssignedBits>
  743. <Bit>
  744. <Name>SFSA</Name>
  745. <Description>Secure Flash start address</Description>
  746. <BitOffset>0x0</BitOffset>
  747. <BitWidth>0x7</BitWidth>
  748. <Access>RW</Access>
  749. </Bit>
  750. <Bit>
  751. <Name>FSD</Name>
  752. <Description/>
  753. <BitOffset>0x7</BitOffset>
  754. <BitWidth>0x1</BitWidth>
  755. <Access>RW</Access>
  756. <Values>
  757. <Val value="0x0">System and Flash secure</Val>
  758. <Val value="0x1">System and Flash non-secure</Val>
  759. </Values>
  760. </Bit>
  761. <Bit>
  762. <Name>DDS</Name>
  763. <Description/>
  764. <BitOffset>0xC</BitOffset>
  765. <BitWidth>0x1</BitWidth>
  766. <Access>RW</Access>
  767. <Values>
  768. <Val value="0x0">CPU2 debug access enabled</Val>
  769. <Val value="0x1">CPU2 debug access disabled</Val>
  770. </Values>
  771. </Bit>
  772. </AssignedBits>
  773. </Field>
  774. <Field>
  775. <Parameters address="0x1FFF8078" name="FLASH_SRRVR" size="0x4"/>
  776. <AssignedBits>
  777. <Bit>
  778. <Name>C2OPT</Name>
  779. <Description/>
  780. <BitOffset>0x1F</BitOffset>
  781. <BitWidth>0x1</BitWidth>
  782. <Access>RW</Access>
  783. <Values>
  784. <Val value="0x0">SBRV will address SRAM2</Val>
  785. <Val value="0x1">SBRV will address Flash</Val>
  786. </Values>
  787. </Bit>
  788. <Bit>
  789. <Name>NBRSD</Name>
  790. <Description>If FSD=1 : SRAM2b is non-secure. If FSD=0 :</Description>
  791. <BitOffset>0x1E</BitOffset>
  792. <BitWidth>0x1</BitWidth>
  793. <Access>RW</Access>
  794. <Values>
  795. <Val value="0x0">SRAM2b is secure</Val>
  796. <Val value="0x1">SRAM2b is non-secure</Val>
  797. </Values>
  798. </Bit>
  799. <Bit>
  800. <Name>SNBRSA</Name>
  801. <Description>SNBRSA[4:0] contains the start address of the first 1K page of the secure non-backup SRAM2b area.</Description>
  802. <BitOffset>0x19</BitOffset>
  803. <BitWidth>0x5</BitWidth>
  804. <Access>RW</Access>
  805. </Bit>
  806. <Bit>
  807. <Name>BRSD</Name>
  808. <Description>If FSD=1: SRAM2a is non-secure. If FSD=0 :</Description>
  809. <BitOffset>0x17</BitOffset>
  810. <BitWidth>0x1</BitWidth>
  811. <Access>RW</Access>
  812. <Values>
  813. <Val value="0x0">SRAM2a is secure</Val>
  814. <Val value="0x1">SRAM2a is non-secure</Val>
  815. </Values>
  816. </Bit>
  817. <Bit>
  818. <Name>SBRSA</Name>
  819. <Description>SBRSA[4:0] contains the start address of the first 1K page of the secure backup SRAM2a area.</Description>
  820. <BitOffset>0x12</BitOffset>
  821. <BitWidth>0x5</BitWidth>
  822. <Access>RW</Access>
  823. </Bit>
  824. <Bit>
  825. <Name>SBRV</Name>
  826. <Description>Contains the word aligned CPU2 boot reset start address offset within the selected. memory area by C2OPT.</Description>
  827. <BitOffset>0x0</BitOffset>
  828. <BitWidth>0x12</BitWidth>
  829. <Access>RW</Access>
  830. </Bit>
  831. </AssignedBits>
  832. </Field>
  833. </Category>
  834. <Category>
  835. <Name>PCROP Protection</Name>
  836. <Field>
  837. <Parameters address="0x1FFF8008" name="PCROP1ASR" size="0x4"/>
  838. <AssignedBits>
  839. <Bit>
  840. <Name>PCROP1A_STRT</Name>
  841. <Description>Flash Area 1 PCROP start address</Description>
  842. <BitOffset>0x0</BitOffset>
  843. <BitWidth>0x9</BitWidth>
  844. <Access>RW</Access>
  845. <Equation multiplier="0x800" offset="0x08000000"/>
  846. </Bit>
  847. </AssignedBits>
  848. </Field>
  849. <Field>
  850. <Parameters address="0x1FFF8010" name="PCROP1AER" size="0x4"/>
  851. <AssignedBits>
  852. <Bit>
  853. <Name>PCROP1A_END</Name>
  854. <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>
  855. <BitOffset>0x0</BitOffset>
  856. <BitWidth>0x9</BitWidth>
  857. <Access>RW</Access>
  858. <Equation multiplier="0x800" offset="0x08000800"/>
  859. </Bit>
  860. <Bit>
  861. <Name>PCROP_RDP</Name>
  862. <Description/>
  863. <BitOffset>0x1F</BitOffset>
  864. <BitWidth>0x1</BitWidth>
  865. <Access>RW</Access>
  866. <Values>
  867. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  868. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  869. </Values>
  870. </Bit>
  871. </AssignedBits>
  872. </Field>
  873. <Field>
  874. <Parameters address="0x1FFF8028" name="PCROP1BSR" size="0x4"/>
  875. <AssignedBits>
  876. <Bit>
  877. <Name>PCROP1B_STRT</Name>
  878. <Description>Flash Area 2 PCROP start address</Description>
  879. <BitOffset>0x0</BitOffset>
  880. <BitWidth>0x9</BitWidth>
  881. <Access>RW</Access>
  882. <Equation multiplier="0x800" offset="0x08000000"/>
  883. </Bit>
  884. </AssignedBits>
  885. </Field>
  886. <Field>
  887. <Parameters address="0x1FFF8030" name="PCROP1BER" size="0x4"/>
  888. <AssignedBits>
  889. <Bit>
  890. <Name>PCROP1B_END</Name>
  891. <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>
  892. <BitOffset>0x0</BitOffset>
  893. <BitWidth>0x9</BitWidth>
  894. <Access>RW</Access>
  895. <Equation multiplier="0x800" offset="0x08000800"/>
  896. </Bit>
  897. </AssignedBits>
  898. </Field>
  899. </Category>
  900. <Category>
  901. <Name>Write Protection</Name>
  902. <Field>
  903. <Parameters address="0x1FFF8018" name="FLASH_WRP1AR" size="0x4"/>
  904. <AssignedBits>
  905. <Bit>
  906. <Name>WRP1A_STRT</Name>
  907. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  908. <BitOffset>0x0</BitOffset>
  909. <BitWidth>0x8</BitWidth>
  910. <Access>RW</Access>
  911. <Equation multiplier="0x1000" offset="0x08000000"/>
  912. </Bit>
  913. <Bit>
  914. <Name>WRP1A_END</Name>
  915. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  916. <BitOffset>0x10</BitOffset>
  917. <BitWidth>0x8</BitWidth>
  918. <Access>RW</Access>
  919. <Equation multiplier="0x1000" offset="0x08000000"/>
  920. </Bit>
  921. </AssignedBits>
  922. </Field>
  923. <Field>
  924. <Parameters address="0x1FFF8020" name="FLASH_WRP1BR" size="0x4"/>
  925. <AssignedBits>
  926. <Bit>
  927. <Name>WRP1B_STRT</Name>
  928. <Description>The address of the first page of the Bank 1 WRP second area.</Description>
  929. <BitOffset>0x0</BitOffset>
  930. <BitWidth>0x8</BitWidth>
  931. <Access>RW</Access>
  932. <Equation multiplier="0x1000" offset="0x08000000"/>
  933. </Bit>
  934. <Bit>
  935. <Name>WRP1B_END</Name>
  936. <Description>The address of the last page of the Bank 1 WRP second area.</Description>
  937. <BitOffset>0x10</BitOffset>
  938. <BitWidth>0x8</BitWidth>
  939. <Access>RW</Access>
  940. <Equation multiplier="0x1000" offset="0x08000000"/>
  941. </Bit>
  942. </AssignedBits>
  943. </Field>
  944. </Category>
  945. </Bank>
  946. </Peripheral>
  947. </Peripherals>
  948. </Device>
  949. </Root>