STM32_Prog_DB_0x497.xml 36 KB

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