STM32_Prog_DB_0x495.xml 33 KB

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