STM32_Prog_DB_0x497.xml 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054
  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>0x497</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M0+/M4</CPU>
  8. <Name>STM32WLxx</Name>
  9. <Series>STM32WL</Series>
  10. <Description>ARM 32-bit Cortex-M0+ and ARM 32-bit Cortex-M4 dual core based device</Description>
  11. <Configurations>
  12. <!-- JTAG_SWD Interface -->
  13. <Interface name="JTAG_SWD"/>
  14. <!-- Bootloader Interface -->
  15. <Interface name="Bootloader"/>
  16. </Configurations>
  17. <!-- Peripherals -->
  18. <Peripherals>
  19. <!-- Embedded SRAM -->
  20. <Peripheral>
  21. <Name>Embedded SRAM</Name>
  22. <Type>Storage</Type>
  23. <Description/>
  24. <ErasedValue>0x00</ErasedValue>
  25. <Access>RWE</Access>
  26. <!-- 192 KB -->
  27. <Configuration>
  28. <Parameters address="0x20000000" name="SRAM" size="0x3000"/>
  29. <Description/>
  30. <Organization>Single</Organization>
  31. <Bank name="Bank 1">
  32. <Field>
  33. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x3000"/>
  34. </Field>
  35. </Bank>
  36. </Configuration>
  37. </Peripheral>
  38. <!-- Embedded Flash -->
  39. <Peripheral>
  40. <Name>Embedded Flash</Name>
  41. <Type>Storage</Type>
  42. <Description>The Flash memory interface manages CPU AHB I-Code and D-Code accesses to the Flash memory. It implements the erase and program Flash memory operations and the read and write protection mechanisms</Description>
  43. <ErasedValue>0xFF</ErasedValue>
  44. <Access>RWE</Access>
  45. <FlashSize address="0x1FFF75E0" default="0x40000"/>
  46. <!-- 1024KB Single Bank -->
  47. <Configuration>
  48. <Parameters address="0x08000000" name=" 256 Kbytes Embedded Flash" size="0x40000"/>
  49. <Description/>
  50. <Organization>Single</Organization>
  51. <Allignement>0x8</Allignement>
  52. <Bank name="Bank 1">
  53. <Field>
  54. <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x800"/>
  55. </Field>
  56. </Bank>
  57. </Configuration>
  58. </Peripheral>
  59. <!-- OTP -->
  60. <Peripheral>
  61. <Name>OTP</Name>
  62. <Type>Storage</Type>
  63. <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
  64. <ErasedValue>0xFF</ErasedValue>
  65. <Access>RW</Access>
  66. <!-- 1 KBytes single bank -->
  67. <Configuration>
  68. <Parameters address="0x1FFF7000" name=" 1 KBytes Data OTP" size="0x400"/>
  69. <Description/>
  70. <Organization>Single</Organization>
  71. <Allignement>0x8</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. <!-- 104 Bytes single bank -->
  87. <Configuration>
  88. <Parameters address="0x1FFF7800" name=" 104 Bytes Data MirrorOptionBytes" size="0x68"/>
  89. <Description/>
  90. <Organization>Single</Organization>
  91. <Allignement>0x4</Allignement>
  92. <Bank name="MirrorOptionBytes">
  93. <Field>
  94. <Parameters address="0x1FFF7800" name="MirrorOptionBytes" occurence="0x1" size="0x68"/>
  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</Val>
  162. <Val value="0x1">nBOOT0=1</Val>
  163. </Values>
  164. </Bit>
  165. <Bit>
  166. <Name>nBOOT1</Name>
  167. <Description>Together with the BOOT0 pin or option bit nBOOT0, this bit selects boot mode from the user Flash memory, SRAM1 or system Flash memory . Refer to Reference Manual: Boot configuration Section.</Description>
  168. <BitOffset>0x17</BitOffset>
  169. <BitWidth>0x1</BitWidth>
  170. <Access>RW</Access>
  171. <Values>
  172. <Val value="0x0"/>
  173. <Val value="0x1"/>
  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>SRAM_RST</Name>
  189. <Description/>
  190. <BitOffset>0x19</BitOffset>
  191. <BitWidth>0x1</BitWidth>
  192. <Access>RW</Access>
  193. <Values>
  194. <Val value="0x0">SRAM1 and SRAM2 are erased when a system reset occurs</Val>
  195. <Val value="0x1">SRAM1 and SRAM2 are not erased when a system reset occurs</Val>
  196. </Values>
  197. </Bit>
  198. <Bit>
  199. <Name>SRAM2_PE</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>nRST_SHDW</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>WWDG_SW</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>IWGD_STDBY</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>IWDG_STOP</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>IWDG_SW</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. <Bit>
  287. <Name>BOOT_LOCK</Name>
  288. <Description/>
  289. <BitOffset>0x1E</BitOffset>
  290. <BitWidth>0x1</BitWidth>
  291. <Access>RW</Access>
  292. <Values>
  293. <Val value="0x0">CPU1 CM4 Boot lock disabled</Val>
  294. <Val value="0x1">CPU1 CM4 Boot lock enabled</Val>
  295. </Values>
  296. </Bit>
  297. <Bit>
  298. <Name>C2BOOT_LOCK</Name>
  299. <Description/>
  300. <BitOffset>0x1F</BitOffset>
  301. <BitWidth>0x1</BitWidth>
  302. <Access>RW</Access>
  303. <Values>
  304. <Val value="0x0">CPU2 CM0+ Boot lock disabled</Val>
  305. <Val value="0x1">CPU2 CM0+ Boot lock enabled</Val>
  306. </Values>
  307. </Bit>
  308. </AssignedBits>
  309. </Field>
  310. <Field>
  311. <Parameters address="0x5800403C" name="FLASH_IPCCBR" size="0x1"/>
  312. <AssignedBits>
  313. <Bit>
  314. <Name>IPCCDBA</Name>
  315. <Description>IPCC mailbox data buffer base address</Description>
  316. <BitOffset>0x0</BitOffset>
  317. <BitWidth>0xE</BitWidth>
  318. <Access>RW</Access>
  319. </Bit>
  320. </AssignedBits>
  321. </Field>
  322. </Category>
  323. <Category>
  324. <Name>Security Configuration Option bytes ESE</Name>
  325. <Field>
  326. <Parameters address="0x58004020" name="FLASH_OPTR" size="0x4"/>
  327. <AssignedBits>
  328. <Bit>
  329. <Name>ESE</Name>
  330. <Description/>
  331. <BitOffset>0x8</BitOffset>
  332. <BitWidth>0x1</BitWidth>
  333. <Access>RW</Access>
  334. <Values>
  335. <Val value="0x0">Security disabled</Val>
  336. <Val value="0x1">Security enabled</Val>
  337. </Values>
  338. </Bit>
  339. </AssignedBits>
  340. </Field>
  341. </Category>
  342. <Category>
  343. <Name>PCROP Protection</Name>
  344. <Field>
  345. <Parameters address="0x58004024" name="PCROP1ASR" size="0x4"/>
  346. <AssignedBits>
  347. <Bit>
  348. <Name>PCROP1A_STRT</Name>
  349. <Description>PCROP1A_STRT[7:0] contain the first included 1kB page readout protected of the Flash area zone A</Description>
  350. <BitOffset>0x0</BitOffset>
  351. <BitWidth>0x8</BitWidth>
  352. <Access>RW</Access>
  353. <Equation multiplier="0x400" offset="0x08000000"/>
  354. </Bit>
  355. </AssignedBits>
  356. </Field>
  357. <Field>
  358. <Parameters address="0x58004028" name="PCROP1AER" size="0x4"/>
  359. <AssignedBits>
  360. <Bit>
  361. <Name>PCROP1A_END</Name>
  362. <Description>PCROP1A_END[7:0] contain the last included 1kB page readout protected of the Flash area zone A</Description>
  363. <BitOffset>0x0</BitOffset>
  364. <BitWidth>0x8</BitWidth>
  365. <Access>RW</Access>
  366. <Equation multiplier="0x400" offset="0x08000000"/>
  367. </Bit>
  368. <Bit>
  369. <Name>PCROP_RDP</Name>
  370. <Description/>
  371. <BitOffset>0x1F</BitOffset>
  372. <BitWidth>0x1</BitWidth>
  373. <Access>RW</Access>
  374. <Values>
  375. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  376. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  377. </Values>
  378. </Bit>
  379. </AssignedBits>
  380. </Field>
  381. <Field>
  382. <Parameters address="0x58004034" name="PCROP1BSR" size="0x4"/>
  383. <AssignedBits>
  384. <Bit>
  385. <Name>PCROP1B_STRT</Name>
  386. <Description>PCROP1B_STRT[7:0] contain the first included 1kB page readout protected of the Flash area zone B</Description>
  387. <BitOffset>0x0</BitOffset>
  388. <BitWidth>0x8</BitWidth>
  389. <Access>RW</Access>
  390. <Equation multiplier="0x400" offset="0x08000000"/>
  391. </Bit>
  392. </AssignedBits>
  393. </Field>
  394. <Field>
  395. <Parameters address="0x58004038" name="PCROP1BER" size="0x4"/>
  396. <AssignedBits>
  397. <Bit>
  398. <Name>PCROP1B_END</Name>
  399. <Description>PCROP1B_END[7:0] contain the last included 1kB page readout protected of the Flash area zone B</Description>
  400. <BitOffset>0x0</BitOffset>
  401. <BitWidth>0x8</BitWidth>
  402. <Access>RW</Access>
  403. <Equation multiplier="0x400" offset="0x08000000"/>
  404. </Bit>
  405. </AssignedBits>
  406. </Field>
  407. </Category>
  408. <Category>
  409. <Name>Write Protection</Name>
  410. <Field>
  411. <Parameters address="0x5800402C" name="FLASH_WRP1AR" size="0x4"/>
  412. <AssignedBits>
  413. <Bit>
  414. <Name>WRP1A_STRT</Name>
  415. <Description>WRP1A_STRT[6:0] contain the first included 2kB page write protected of the Flash area zone A.</Description>
  416. <BitOffset>0x0</BitOffset>
  417. <BitWidth>0x7</BitWidth>
  418. <Access>RW</Access>
  419. <Equation multiplier="0x800" offset="0x08000000"/>
  420. </Bit>
  421. <Bit>
  422. <Name>WRP1A_END</Name>
  423. <Description>WRP1A_END[6:0] contain the last included 2kB page write protected of the Flash area zone A.</Description>
  424. <BitOffset>0x10</BitOffset>
  425. <BitWidth>0x7</BitWidth>
  426. <Access>RW</Access>
  427. <Equation multiplier="0x800" offset="0x08000000"/>
  428. </Bit>
  429. </AssignedBits>
  430. </Field>
  431. <Field>
  432. <Parameters address="0x58004030" name="FLASH_WRP1BR" size="0x4"/>
  433. <AssignedBits>
  434. <Bit>
  435. <Name>WRP1B_STRT</Name>
  436. <Description>WRP1B_STRT[6:0] contain the first included 2kB page write protected of the Flash area zone B.</Description>
  437. <BitOffset>0x0</BitOffset>
  438. <BitWidth>0x7</BitWidth>
  439. <Access>RW</Access>
  440. <Equation multiplier="0x800" offset="0x08000000"/>
  441. </Bit>
  442. <Bit>
  443. <Name>WRP1B_END</Name>
  444. <Description>WRP1B_END[6:0] contain the last included 2kB page write protected of the Flash area zone B.</Description>
  445. <BitOffset>0x10</BitOffset>
  446. <BitWidth>0x7</BitWidth>
  447. <Access>RW</Access>
  448. <Equation multiplier="0x800" offset="0x08000000"/>
  449. </Bit>
  450. </AssignedBits>
  451. </Field>
  452. </Category>
  453. </Bank>
  454. <Bank interface="JTAG_SWD">
  455. <Parameters address="0x58004080" name="Bank 2" size="0x8"/>
  456. <Category>
  457. <Name>Security Configuration Option bytes</Name>
  458. <Field>
  459. <Parameters address="0x58004080" name="FLASH_SFR" size="0x4"/>
  460. <AssignedBits>
  461. <Bit>
  462. <Name>SFSA</Name>
  463. <Description>This bit can only be accessed by software when HDPADIS = 0. When FSD=0: system and Flash secure. SFSA[6:0] contain the start address of the first 2 kB page of the secure Flash area.</Description>
  464. <BitOffset>0x0</BitOffset>
  465. <BitWidth>0x7</BitWidth>
  466. <Access>RW</Access>
  467. </Bit>
  468. <Bit>
  469. <Name>FSD</Name>
  470. <Description/>
  471. <BitOffset>0x7</BitOffset>
  472. <BitWidth>0x1</BitWidth>
  473. <Access>RW</Access>
  474. <Values>
  475. <Val value="0x0">System and Flash secure. This bit can only be accessed when HDPADIS = 0</Val>
  476. <Val value="0x1">System and Flash non-secure. This bit can only be accessed when HDPADIS = 0</Val>
  477. </Values>
  478. </Bit>
  479. <Bit>
  480. <Name>DDS</Name>
  481. <Description/>
  482. <BitOffset>0xC</BitOffset>
  483. <BitWidth>0x1</BitWidth>
  484. <Access>RW</Access>
  485. <Values>
  486. <Val value="0x0">CPU2 debug access enabled (when also enabled by C2SWDBGEN)</Val>
  487. <Val value="0x1">CPU2 debug access disabled (when also enabled by C2SWDBGEN)</Val>
  488. </Values>
  489. </Bit>
  490. <Bit>
  491. <Name>HDPSA</Name>
  492. <Description>HDPSA[6:0] contain the start address of the first 2 kB page of the User Flash hide protection area. This bit field can only be accessed by software when HDPADIS = 0. When FSD=0 and HDPAD = 0: User Flash hide protection area enabled.</Description>
  493. <BitOffset>0x10</BitOffset>
  494. <BitWidth>0x7</BitWidth>
  495. <Access>RW</Access>
  496. </Bit>
  497. <Bit>
  498. <Name>HDPAD</Name>
  499. <Description>User Flash hide protection area disabled. This bit can only be accessed by software when HDPADIS = 0</Description>
  500. <BitOffset>0x17</BitOffset>
  501. <BitWidth>0x1</BitWidth>
  502. <Access>RW</Access>
  503. <Values>
  504. <Val value="0x0">User Flash hide protection area access enabled.</Val>
  505. <Val value="0x1">User Flash hide protection area access disabled.</Val>
  506. </Values>
  507. </Bit>
  508. <Bit>
  509. <Name>SUBGHSPISD</Name>
  510. <Description>SPI3 security disable. This bit can only be accessed by software when HDPADIS = 0. FSD=1: SPI3 security is disabled</Description>
  511. <BitOffset>0x1F</BitOffset>
  512. <BitWidth>0x1</BitWidth>
  513. <Access>RW</Access>
  514. <Values>
  515. <Val value="0x0">FSD=0 and SUBGHSPISD=0: SPI3 security enabled</Val>
  516. <Val value="0x1">FSD=0 and SUBGHSPISD=1: SPI3 security disabled</Val>
  517. </Values>
  518. </Bit>
  519. </AssignedBits>
  520. </Field>
  521. <Field>
  522. <Parameters address="0x58004084" name="FLASH_SRRVR" size="0x4"/>
  523. <AssignedBits>
  524. <Bit>
  525. <Name>C2OPT</Name>
  526. <Description/>
  527. <BitOffset>0x1F</BitOffset>
  528. <BitWidth>0x1</BitWidth>
  529. <Access>RW</Access>
  530. <Values>
  531. <Val value="0x0">SBRV will address SRAM1 or SRAM2, from start address 0x2000 0000 + SBRV.</Val>
  532. <Val value="0x1">SBRV will address Flash memory, from start address 0x0800 0000 + SBRV.</Val>
  533. </Values>
  534. </Bit>
  535. <Bit>
  536. <Name>NBRSD</Name>
  537. <Description/>
  538. <BitOffset>0x1E</BitOffset>
  539. <BitWidth>0x1</BitWidth>
  540. <Access>RW</Access>
  541. <Values>
  542. <Val value="0x0">SRAM1 is secure if FSD=0 and non-secure otherwise. This bit can only be accessed when HDPADIS = 0</Val>
  543. <Val value="0x1">SRAM1 is non-secure if FSD=0 and secure otherwise. This bit can only be accessed when HDPADIS = 0</Val>
  544. </Values>
  545. </Bit>
  546. <Bit>
  547. <Name>SNBRSA</Name>
  548. <Description>SNBRSA[4:0] contain the start address of the first 1 kB page of the secure &quot;non-backup&quot; SRAM1 area. To keep the tool working you have to set a value greater or equal to 0xC</Description>
  549. <BitOffset>0x19</BitOffset>
  550. <BitWidth>0x5</BitWidth>
  551. <Access>RW</Access>
  552. </Bit>
  553. <Bit>
  554. <Name>BRSD</Name>
  555. <Description/>
  556. <BitOffset>0x17</BitOffset>
  557. <BitWidth>0x1</BitWidth>
  558. <Access>RW</Access>
  559. <Values>
  560. <Val value="0x0">SRAM2 is secure if FSD=0 and non-secure otherwise. This bit can only be accessed when HDPADIS = 0</Val>
  561. <Val value="0x1">SRAM2 is non-secure if FSD=0 and secure otherwise. This bit can only be accessed when HDPADIS = 0</Val>
  562. </Values>
  563. </Bit>
  564. <Bit>
  565. <Name>SBRSA</Name>
  566. <Description>SBRSA[4:0] contain the start address of the first 1 kB page of the secure backup SRAM2 area. To keep the tool working you have to set a value less than 0x15</Description>
  567. <BitOffset>0x12</BitOffset>
  568. <BitWidth>0x5</BitWidth>
  569. <Access>RW</Access>
  570. </Bit>
  571. <Bit>
  572. <Name>SBRV</Name>
  573. <Description>SBRV[15:0] contain the word (4B) aligned CPU2 boot reset start address offset within the selected memory area by C2OPT.</Description>
  574. <BitOffset>0x0</BitOffset>
  575. <BitWidth>0x10</BitWidth>
  576. <Access>RW</Access>
  577. </Bit>
  578. </AssignedBits>
  579. </Field>
  580. </Category>
  581. </Bank>
  582. <Bank interface="Bootloader">
  583. <Parameters address="0x1FFF7800" name="Bank 1" size="0x68"/>
  584. <Category>
  585. <Name>Read Out Protection</Name>
  586. <Field>
  587. <Parameters address="0x1FFF7800" name="RDP" size="0x4"/>
  588. <AssignedBits>
  589. <Bit>
  590. <Name>RDP</Name>
  591. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  592. <BitOffset>0x0</BitOffset>
  593. <BitWidth>0x8</BitWidth>
  594. <Access>RW</Access>
  595. <Values>
  596. <Val value="0xAA">Level 0, no protection</Val>
  597. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  598. <Val value="0xCC">Level 2, chip protection</Val>
  599. </Values>
  600. </Bit>
  601. </AssignedBits>
  602. </Field>
  603. </Category>
  604. <Category>
  605. <Name>BOR Level</Name>
  606. <Field>
  607. <Parameters address="0x1FFF7800" name="USER" size="0x4"/>
  608. <AssignedBits>
  609. <Bit>
  610. <Name>BOR_LEV</Name>
  611. <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>
  612. <BitOffset>0x9</BitOffset>
  613. <BitWidth>0x3</BitWidth>
  614. <Access>RW</Access>
  615. <Values>
  616. <Val value="0x0">BOR Level 0 reset level threshold is around 1.7 V</Val>
  617. <Val value="0x1">BOR Level 1 reset level threshold is around 2.0 V</Val>
  618. <Val value="0x2">BOR Level 2 reset level threshold is around 2.2 V</Val>
  619. <Val value="0x3">BOR Level 3 reset level threshold is around 2.5 V</Val>
  620. <Val value="0x4">BOR Level 4 reset level threshold is around 2.8 V</Val>
  621. </Values>
  622. </Bit>
  623. </AssignedBits>
  624. </Field>
  625. </Category>
  626. <Category>
  627. <Name>User Configuration</Name>
  628. <Field>
  629. <Parameters address="0x1FFF7800" name="USER" size="0x4"/>
  630. <AssignedBits>
  631. <Bit>
  632. <Name>nBOOT0</Name>
  633. <Description/>
  634. <BitOffset>0x1B</BitOffset>
  635. <BitWidth>0x1</BitWidth>
  636. <Access>RW</Access>
  637. <Values>
  638. <Val value="0x0">nBOOT0=0</Val>
  639. <Val value="0x1">nBOOT0=1</Val>
  640. </Values>
  641. </Bit>
  642. <Bit>
  643. <Name>nBOOT1</Name>
  644. <Description>Together with the BOOT0 pin or option bit nBOOT0, this bit selects boot mode from the user Flash memory, SRAM1 or system Flash memory . Refer to Reference Manual: Boot configuration Section.</Description>
  645. <BitOffset>0x17</BitOffset>
  646. <BitWidth>0x1</BitWidth>
  647. <Access>RW</Access>
  648. <Values>
  649. <Val value="0x0"/>
  650. <Val value="0x1"/>
  651. </Values>
  652. </Bit>
  653. <Bit>
  654. <Name>nSWBOOT0</Name>
  655. <Description/>
  656. <BitOffset>0x1A</BitOffset>
  657. <BitWidth>0x1</BitWidth>
  658. <Access>RW</Access>
  659. <Values>
  660. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  661. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  662. </Values>
  663. </Bit>
  664. <Bit>
  665. <Name>SRAM_RST</Name>
  666. <Description/>
  667. <BitOffset>0x19</BitOffset>
  668. <BitWidth>0x1</BitWidth>
  669. <Access>RW</Access>
  670. <Values>
  671. <Val value="0x0">SRAM1 and SRAM2 are erased when a system reset occurs</Val>
  672. <Val value="0x1">SRAM1 and SRAM2 are not erased when a system reset occurs</Val>
  673. </Values>
  674. </Bit>
  675. <Bit>
  676. <Name>SRAM2_PE</Name>
  677. <Description/>
  678. <BitOffset>0x18</BitOffset>
  679. <BitWidth>0x1</BitWidth>
  680. <Access>RW</Access>
  681. <Values>
  682. <Val value="0x0">SRAM2 parity check enable</Val>
  683. <Val value="0x1">SRAM2 parity check disable</Val>
  684. </Values>
  685. </Bit>
  686. <Bit>
  687. <Name>nRST_STOP</Name>
  688. <Description/>
  689. <BitOffset>0xC</BitOffset>
  690. <BitWidth>0x1</BitWidth>
  691. <Access>RW</Access>
  692. <Values>
  693. <Val value="0x0">Reset generated when entering the Stop mode</Val>
  694. <Val value="0x1">No reset generated when entering the Stop mode</Val>
  695. </Values>
  696. </Bit>
  697. <Bit>
  698. <Name>nRST_STDBY</Name>
  699. <Description/>
  700. <BitOffset>0xD</BitOffset>
  701. <BitWidth>0x1</BitWidth>
  702. <Access>RW</Access>
  703. <Values>
  704. <Val value="0x0">Reset generated when entering the Standby mode</Val>
  705. <Val value="0x1">No reset generated when entering the Standby mode</Val>
  706. </Values>
  707. </Bit>
  708. <Bit>
  709. <Name>nRST_SHDW</Name>
  710. <Description/>
  711. <BitOffset>0xE</BitOffset>
  712. <BitWidth>0x1</BitWidth>
  713. <Access>RW</Access>
  714. <Values>
  715. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  716. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  717. </Values>
  718. </Bit>
  719. <Bit>
  720. <Name>WWDG_SW</Name>
  721. <Description/>
  722. <BitOffset>0x13</BitOffset>
  723. <BitWidth>0x1</BitWidth>
  724. <Access>RW</Access>
  725. <Values>
  726. <Val value="0x0">Hardware window watchdog</Val>
  727. <Val value="0x1">Software window watchdog</Val>
  728. </Values>
  729. </Bit>
  730. <Bit>
  731. <Name>IWGD_STDBY</Name>
  732. <Description/>
  733. <BitOffset>0x12</BitOffset>
  734. <BitWidth>0x1</BitWidth>
  735. <Access>RW</Access>
  736. <Values>
  737. <Val value="0x0">Independent watchdog counter frozen in Standby mode</Val>
  738. <Val value="0x1">Independent watchdog counter running in Standby mode</Val>
  739. </Values>
  740. </Bit>
  741. <Bit>
  742. <Name>IWDG_STOP</Name>
  743. <Description/>
  744. <BitOffset>0x11</BitOffset>
  745. <BitWidth>0x1</BitWidth>
  746. <Access>RW</Access>
  747. <Values>
  748. <Val value="0x0">Independent watchdog counter frozen in Stop mode</Val>
  749. <Val value="0x1">Independent watchdog counter running in Stop mode</Val>
  750. </Values>
  751. </Bit>
  752. <Bit>
  753. <Name>IWDG_SW</Name>
  754. <Description/>
  755. <BitOffset>0x10</BitOffset>
  756. <BitWidth>0x1</BitWidth>
  757. <Access>RW</Access>
  758. <Values>
  759. <Val value="0x0">Hardware independent watchdog</Val>
  760. <Val value="0x1">Software independent watchdog</Val>
  761. </Values>
  762. </Bit>
  763. <Bit>
  764. <Name>BOOT_LOCK</Name>
  765. <Description/>
  766. <BitOffset>0x1E</BitOffset>
  767. <BitWidth>0x1</BitWidth>
  768. <Access>RW</Access>
  769. <Values>
  770. <Val value="0x0">CPU1 CM4 Boot lock disabled</Val>
  771. <Val value="0x1">CPU1 CM4 Boot lock enabled</Val>
  772. </Values>
  773. </Bit>
  774. <Bit>
  775. <Name>C2BOOT_LOCK</Name>
  776. <Description/>
  777. <BitOffset>0x1F</BitOffset>
  778. <BitWidth>0x1</BitWidth>
  779. <Access>RW</Access>
  780. <Values>
  781. <Val value="0x0">CPU2 CM0+ Boot lock disabled</Val>
  782. <Val value="0x1">CPU2 CM0+ Boot lock enabled</Val>
  783. </Values>
  784. </Bit>
  785. </AssignedBits>
  786. </Field>
  787. <Field>
  788. <Parameters address="0x1FFF7868" name="FLASH_IPCCBR" size="0x4"/>
  789. <AssignedBits>
  790. <Bit>
  791. <Name>IPCCDBA</Name>
  792. <Description>IPCC mailbox data buffer base address</Description>
  793. <BitOffset>0x0</BitOffset>
  794. <BitWidth>0xE</BitWidth>
  795. <Access>RW</Access>
  796. </Bit>
  797. </AssignedBits>
  798. </Field>
  799. </Category>
  800. <!--<Category>
  801. <Name>Security Configuration Option bytes</Name>
  802. <Field>
  803. <Parameters name="FLASH_OPTR" size="0x4" address="0x1FFF8000"/>
  804. <AssignedBits>
  805. <Bit>
  806. <Name>ESE</Name>
  807. <Description/>
  808. <BitOffset>0x8</BitOffset>
  809. <BitWidth>0x1</BitWidth>
  810. <Access>R</Access>
  811. <Values>
  812. <Val value="0x0">Security disabled</Val>
  813. <Val value="0x1">Security enabled</Val>
  814. </Values>
  815. </Bit>
  816. </AssignedBits>
  817. </Field>
  818. <Field>
  819. <Parameters name="FLASH_SFR" size="0x4" address="0x1FFF8070"/>
  820. <AssignedBits>
  821. <Bit>
  822. <Name>SFSA</Name>
  823. <Description>Secure Flash start address</Description>
  824. <BitOffset>0x0</BitOffset>
  825. <BitWidth>0x7</BitWidth>
  826. <Access>RW</Access>
  827. </Bit>
  828. <Bit>
  829. <Name>FSD</Name>
  830. <Description/>
  831. <BitOffset>0x7</BitOffset>
  832. <BitWidth>0x1</BitWidth>
  833. <Access>RW</Access>
  834. <Values>
  835. <Val value="0x0">System and Flash secure</Val>
  836. <Val value="0x1">System and Flash non-secure</Val>
  837. </Values>
  838. </Bit>
  839. <Bit>
  840. <Name>DDS</Name>
  841. <Description/>
  842. <BitOffset>0xC</BitOffset>
  843. <BitWidth>0x1</BitWidth>
  844. <Access>RW</Access>
  845. <Values>
  846. <Val value="0x0">CPU2 debug access enabled</Val>
  847. <Val value="0x1">CPU2 debug access disabled</Val>
  848. </Values>
  849. </Bit>
  850. <Bit>
  851. <Name>HDPSA</Name>
  852. <Description>HDPSA[6:0] contain the start address of the first 2 kB page of the User Flash Sticky hide protection area. This bit field can only be accessed by software when HDPADIS = 0. When FSD=0 and HDPAD = 0: User Flash Sticky hide protection area enabled.</Description>
  853. <BitOffset>0x10</BitOffset>
  854. <BitWidth>0x7</BitWidth>
  855. <Access>RW</Access>
  856. </Bit>
  857. <Bit>
  858. <Name>HDPAD</Name>
  859. <Description>User Flash Sticky hide protection area disabled. This bit can only be accessed by software when HDPADIS = 0</Description>
  860. <BitOffset>0x17</BitOffset>
  861. <BitWidth>0x1</BitWidth>
  862. <Access>RW</Access>
  863. </Bit>
  864. <Bit>
  865. <Name>SUBGHSPISD</Name>
  866. <Description>SPI3 security disable. This bit can only be accessed by software when HDPADIS = 0. FSD=1: SPI3 security is disabled</Description>
  867. <BitOffset>0x1F</BitOffset>
  868. <BitWidth>0x1</BitWidth>
  869. <Access>RW</Access>
  870. <Values>
  871. <Val value="0x0">FSD=0 and SPI3SD=0: SPI3 security enabled</Val>
  872. <Val value="0x1">FSD=0 and SPI3SD=1: SPI3 security disabled</Val>
  873. </Values>
  874. </Bit>
  875. </AssignedBits>
  876. </Field>
  877. <Field>
  878. <Parameters name="FLASH_SRRVR" size="0x4" address="0x1FFF8078"/>
  879. <AssignedBits>
  880. <Bit>
  881. <Name>C2OPT</Name>
  882. <Description/>
  883. <BitOffset>0x1F</BitOffset>
  884. <BitWidth>0x1</BitWidth>
  885. <Access>RW</Access>
  886. <Values>
  887. <Val value="0x0">SBRV will address SRAM2</Val>
  888. <Val value="0x1">SBRV will address Flash</Val>
  889. </Values>
  890. </Bit>
  891. <Bit>
  892. <Name>NBRSD</Name>
  893. <Description/>
  894. <BitOffset>0x1E</BitOffset>
  895. <BitWidth>0x1</BitWidth>
  896. <Access>RW</Access>
  897. <Values>
  898. <Val value="0x0">SRAM2b is secure if FSD=0 and non-secure otherwise</Val>
  899. <Val value="0x1">SRAM2b is non-secure if FSD=0 and secure otherwise</Val>
  900. </Values>
  901. </Bit>
  902. <Bit>
  903. <Name>SNBRSA</Name>
  904. <Description/>
  905. <BitOffset>0x19</BitOffset>
  906. <BitWidth>0x5</BitWidth>
  907. <Access>RW</Access>
  908. </Bit>
  909. <Bit>
  910. <Name>BRSD</Name>
  911. <Description/>
  912. <BitOffset>0x17</BitOffset>
  913. <BitWidth>0x1</BitWidth>
  914. <Access>RW</Access>
  915. <Values>
  916. <Val value="0x0">SRAM2a is secure if FSD=0 and non-secure otherwise</Val>
  917. <Val value="0x1">SRAM2b is non-secure if FSD=0 and secure otherwise</Val>
  918. </Values>
  919. </Bit>
  920. <Bit>
  921. <Name>SBRSA</Name>
  922. <Description/>
  923. <BitOffset>0x12</BitOffset>
  924. <BitWidth>0x5</BitWidth>
  925. <Access>RW</Access>
  926. </Bit>
  927. <Bit>
  928. <Name>SBRV</Name>
  929. <Description/>
  930. <BitOffset>0x0</BitOffset>
  931. <BitWidth>0x10</BitWidth>
  932. <Access>RW</Access>
  933. </Bit>
  934. </AssignedBits>
  935. </Field>
  936. </Category>-->
  937. <Category>
  938. <Name>PCROP Protection</Name>
  939. <Field>
  940. <Parameters address="0x1FFF7808" name="PCROP1ASR" size="0x4"/>
  941. <AssignedBits>
  942. <Bit>
  943. <Name>PCROP1A_STRT</Name>
  944. <Description>PCROP1A_STRT[7:0] contain the first included 1kB page readout protected of the Flash area zone A</Description>
  945. <BitOffset>0x0</BitOffset>
  946. <BitWidth>0x8</BitWidth>
  947. <Access>RW</Access>
  948. <Equation multiplier="0x400" offset="0x08000000"/>
  949. </Bit>
  950. </AssignedBits>
  951. </Field>
  952. <Field>
  953. <Parameters address="0x1FFF7810" name="PCROP1AER" size="0x4"/>
  954. <AssignedBits>
  955. <Bit>
  956. <Name>PCROP1A_END</Name>
  957. <Description>PCROP1A_END[7:0] contain the last included 1kB page readout protected of the Flash area zone A</Description>
  958. <BitOffset>0x0</BitOffset>
  959. <BitWidth>0x8</BitWidth>
  960. <Access>RW</Access>
  961. <Equation multiplier="0x400" offset="0x08000000"/>
  962. </Bit>
  963. <Bit>
  964. <Name>PCROP_RDP</Name>
  965. <Description/>
  966. <BitOffset>0x1F</BitOffset>
  967. <BitWidth>0x1</BitWidth>
  968. <Access>RW</Access>
  969. <Values>
  970. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  971. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  972. </Values>
  973. </Bit>
  974. </AssignedBits>
  975. </Field>
  976. <Field>
  977. <Parameters address="0x1FFF7828" name="PCROP1BSR" size="0x4"/>
  978. <AssignedBits>
  979. <Bit>
  980. <Name>PCROP1B_STRT</Name>
  981. <Description>PCROP1B_STRT[7:0] contain the first included 1kB page readout protected of the Flash area zone B</Description>
  982. <BitOffset>0x0</BitOffset>
  983. <BitWidth>0x8</BitWidth>
  984. <Access>RW</Access>
  985. <Equation multiplier="0x400" offset="0x08000000"/>
  986. </Bit>
  987. </AssignedBits>
  988. </Field>
  989. <Field>
  990. <Parameters address="0x1FFF7830" name="PCROP1BER" size="0x4"/>
  991. <AssignedBits>
  992. <Bit>
  993. <Name>PCROP1B_END</Name>
  994. <Description>PCROP1B_END[7:0] contain the last included 1kB page readout protected of the Flash area zone B</Description>
  995. <BitOffset>0x0</BitOffset>
  996. <BitWidth>0x8</BitWidth>
  997. <Access>RW</Access>
  998. <Equation multiplier="0x400" offset="0x08000000"/>
  999. </Bit>
  1000. </AssignedBits>
  1001. </Field>
  1002. </Category>
  1003. <Category>
  1004. <Name>Write Protection</Name>
  1005. <Field>
  1006. <Parameters address="0x1FFF7818" name="FLASH_WRP1AR" size="0x4"/>
  1007. <AssignedBits>
  1008. <Bit>
  1009. <Name>WRP1A_STRT</Name>
  1010. <Description>WRP1A_STRT[6:0] contain the first included 2kB page write protected of the Flash area zone A</Description>
  1011. <BitOffset>0x0</BitOffset>
  1012. <BitWidth>0x7</BitWidth>
  1013. <Access>RW</Access>
  1014. <Equation multiplier="0x800" offset="0x08000000"/>
  1015. </Bit>
  1016. <Bit>
  1017. <Name>WRP1A_END</Name>
  1018. <Description>WRP1A_END[6:0] contain the last included 2kB page write protected of the Flash area zone A</Description>
  1019. <BitOffset>0x10</BitOffset>
  1020. <BitWidth>0x7</BitWidth>
  1021. <Access>RW</Access>
  1022. <Equation multiplier="0x800" offset="0x08000000"/>
  1023. </Bit>
  1024. </AssignedBits>
  1025. </Field>
  1026. <Field>
  1027. <Parameters address="0x1FFF7820" name="FLASH_WRP1BR" size="0x4"/>
  1028. <AssignedBits>
  1029. <Bit>
  1030. <Name>WRP1B_STRT</Name>
  1031. <Description>WRP1B_STRT[6:0] contain the first included 2kB page write protected of the Flash area zone B</Description>
  1032. <BitOffset>0x0</BitOffset>
  1033. <BitWidth>0x7</BitWidth>
  1034. <Access>RW</Access>
  1035. <Equation multiplier="0x800" offset="0x08000000"/>
  1036. </Bit>
  1037. <Bit>
  1038. <Name>WRP1B_END</Name>
  1039. <Description>WRP1B_END[6:0] contain the last included 2kB page write protected of the Flash area zone B</Description>
  1040. <BitOffset>0x10</BitOffset>
  1041. <BitWidth>0x7</BitWidth>
  1042. <Access>RW</Access>
  1043. <Equation multiplier="0x800" offset="0x08000000"/>
  1044. </Bit>
  1045. </AssignedBits>
  1046. </Field>
  1047. </Category>
  1048. </Bank>
  1049. </Peripheral>
  1050. </Peripherals>
  1051. </Device>
  1052. </Root>