STM32_Prog_DB_0x495.xml 32 KB

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