STM32_Prog_DB_0x435.xml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  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>0x435</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M4</CPU>
  8. <Name>STM32L43xxx/STM32L44xxx</Name>
  9. <Series>STM32L4</Series>
  10. <Description>ARM 32-bit Cortex-M4 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. <!-- 128 KB -->
  27. <Configuration>
  28. <Parameters address="0x20000000" name="SRAM" size="0xC000"/>
  29. <Description/>
  30. <Organization>Single</Organization>
  31. <Bank name="Bank 1">
  32. <Field>
  33. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0xC000"/>
  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="0x80000"/>
  46. <!-- 512KB single Bank -->
  47. <Configuration>
  48. <Parameters address="0x08000000" name=" 512 Kbytes Embedded Flash" size="0x80000"/>
  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="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>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. <!-- 36 Bytes single bank -->
  87. <Configuration>
  88. <Parameters address="0x1FFF7800" name=" 36 Bytes Data MirrorOptionBytes" size="0x24"/>
  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="0x24"/>
  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="0x40022020" name="Bank 1" size="0x14"/>
  107. <Category>
  108. <Name>Read Out Protection</Name>
  109. <Field>
  110. <Parameters address="0x40022020" name="FLASH_OPTR" 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="0x40022020" name="FLASH_OPTR" 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>0x8</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="0x40022020" name="FLASH_OPTR" size="0x4"/>
  153. <AssignedBits>
  154. <Bit>
  155. <Name>nRST_STOP</Name>
  156. <Description/>
  157. <BitOffset>0xC</BitOffset>
  158. <BitWidth>0x1</BitWidth>
  159. <Access>RW</Access>
  160. <Values>
  161. <Val value="0x0">Reset generated when entering Stop mode</Val>
  162. <Val value="0x1">No reset generated when entering Stop mode</Val>
  163. </Values>
  164. </Bit>
  165. <Bit>
  166. <Name>nRST_STDBY</Name>
  167. <Description/>
  168. <BitOffset>0xD</BitOffset>
  169. <BitWidth>0x1</BitWidth>
  170. <Access>RW</Access>
  171. <Values>
  172. <Val value="0x0">Reset generated when entering Standby mode</Val>
  173. <Val value="0x1">No reset generated when entering Standby mode</Val>
  174. </Values>
  175. </Bit>
  176. <Bit>
  177. <Name>nRST_SHDW</Name>
  178. <Description/>
  179. <BitOffset>0xE</BitOffset>
  180. <BitWidth>0x1</BitWidth>
  181. <Access>RW</Access>
  182. <Values>
  183. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  184. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  185. </Values>
  186. </Bit>
  187. <Bit>
  188. <Name>IWDG_SW</Name>
  189. <Description/>
  190. <BitOffset>0x10</BitOffset>
  191. <BitWidth>0x1</BitWidth>
  192. <Access>RW</Access>
  193. <Values>
  194. <Val value="0x0">Hardware independant watchdog</Val>
  195. <Val value="0x1">Software independant watchdog</Val>
  196. </Values>
  197. </Bit>
  198. <Bit>
  199. <Name>IWDG_STOP</Name>
  200. <Description/>
  201. <BitOffset>0x11</BitOffset>
  202. <BitWidth>0x1</BitWidth>
  203. <Access>RW</Access>
  204. <Values>
  205. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  206. <Val value="0x1">IWDG counter active in stop mode</Val>
  207. </Values>
  208. </Bit>
  209. <Bit>
  210. <Name>IWDG_STDBY</Name>
  211. <Description/>
  212. <BitOffset>0x12</BitOffset>
  213. <BitWidth>0x1</BitWidth>
  214. <Access>RW</Access>
  215. <Values>
  216. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  217. <Val value="0x1">IWDG counter active in standby mode</Val>
  218. </Values>
  219. </Bit>
  220. <Bit>
  221. <Name>WWDG_SW</Name>
  222. <Description/>
  223. <BitOffset>0x13</BitOffset>
  224. <BitWidth>0x1</BitWidth>
  225. <Access>RW</Access>
  226. <Values>
  227. <Val value="0x0">Hardware window watchdog</Val>
  228. <Val value="0x1">Software window watchdog</Val>
  229. </Values>
  230. </Bit>
  231. <Bit>
  232. <Name>nBOOT1</Name>
  233. <Description>This bit selects the boot mode only when BOOT0=1. If BOOT0 = 0, boot from system memory when nSWBOOT0=1 and main flash is empty,otherwise, boot from main flash memory. </Description>
  234. <BitOffset>0x17</BitOffset>
  235. <BitWidth>0x1</BitWidth>
  236. <Access>RW</Access>
  237. <Values>
  238. <Val value="0x0">Boot from embedded SRAM1 when BOOT0=1</Val>
  239. <Val value="0x1">Boot from system memory when BOOT0=1</Val>
  240. </Values>
  241. </Bit>
  242. <Bit>
  243. <Name>SRAM2_PE</Name>
  244. <Description/>
  245. <BitOffset>0x18</BitOffset>
  246. <BitWidth>0x1</BitWidth>
  247. <Access>RW</Access>
  248. <Values>
  249. <Val value="0x0">SRAM2 parity check enable</Val>
  250. <Val value="0x1">SRAM2 parity check disable</Val>
  251. </Values>
  252. </Bit>
  253. <Bit>
  254. <Name>SRAM2_RST</Name>
  255. <Description/>
  256. <BitOffset>0x19</BitOffset>
  257. <BitWidth>0x1</BitWidth>
  258. <Access>RW</Access>
  259. <Values>
  260. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  261. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  262. </Values>
  263. </Bit>
  264. <Bit>
  265. <Name>nSWBOOT0</Name>
  266. <Description/>
  267. <BitOffset>0x1A</BitOffset>
  268. <BitWidth>0x1</BitWidth>
  269. <Access>RW</Access>
  270. <Values>
  271. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  272. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  273. </Values>
  274. </Bit>
  275. <Bit>
  276. <Name>nBOOT0</Name>
  277. <Description>This option bit sets the BOOT0 value only when nSWBOOT0=0</Description>
  278. <BitOffset>0x1B</BitOffset>
  279. <BitWidth>0x1</BitWidth>
  280. <Access>RW</Access>
  281. <Values>
  282. <Val value="0x0">BOOT0 = 1, boot memory depends on nBOOT1 value</Val>
  283. <Val value="0x1">BOOT0 = 0, boot from system memory when nSWBOOT0=1 and main flash is empty,otherwise, boot from main flash memory</Val>
  284. </Values>
  285. </Bit>
  286. </AssignedBits>
  287. </Field>
  288. </Category>
  289. <Category>
  290. <Name>PCROP Protection</Name>
  291. <Field>
  292. <Parameters address="0x40022024" name="FLASH_PCROP1SR" size="0x4"/>
  293. <AssignedBits>
  294. <Bit>
  295. <Name>PCROP1_STRT</Name>
  296. <Description>Flash Bank 1 PCROP start address</Description>
  297. <BitOffset>0x0</BitOffset>
  298. <BitWidth>0x10</BitWidth>
  299. <Access>RW</Access>
  300. <Equation multiplier="0x8" offset="0x08000000"/>
  301. </Bit>
  302. </AssignedBits>
  303. </Field>
  304. <Field>
  305. <Parameters address="0x40022028" name="FLASH_PCROP1ER" size="0x4"/>
  306. <AssignedBits>
  307. <Bit>
  308. <Name>PCROP1_END</Name>
  309. <Description>Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  310. <BitOffset>0x0</BitOffset>
  311. <BitWidth>0x10</BitWidth>
  312. <Access>RW</Access>
  313. <Equation multiplier="0x8" offset="0x08000000"/>
  314. </Bit>
  315. <Bit>
  316. <Name>PCROP_RDP</Name>
  317. <Description/>
  318. <BitOffset>0x1F</BitOffset>
  319. <BitWidth>0x1</BitWidth>
  320. <Access>RW</Access>
  321. <Values>
  322. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  323. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  324. </Values>
  325. </Bit>
  326. </AssignedBits>
  327. </Field>
  328. </Category>
  329. <Category>
  330. <Name>Write Protection</Name>
  331. <Field>
  332. <Parameters address="0x4002202C" name="FLASH_WRP1AR" size="0x4"/>
  333. <AssignedBits>
  334. <Bit>
  335. <Name>WRP1A_STRT</Name>
  336. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  337. <BitOffset>0x0</BitOffset>
  338. <BitWidth>0x8</BitWidth>
  339. <Access>RW</Access>
  340. <Equation multiplier="0x800" offset="0x08000000"/>
  341. </Bit>
  342. <Bit>
  343. <Name>WRP1A_END</Name>
  344. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  345. <BitOffset>0x10</BitOffset>
  346. <BitWidth>0x8</BitWidth>
  347. <Access>RW</Access>
  348. <Equation multiplier="0x800" offset="0x08000000"/>
  349. </Bit>
  350. </AssignedBits>
  351. </Field>
  352. <Field>
  353. <Parameters address="0x40022030" name="FLASH_WRP1BR" size="0x4"/>
  354. <AssignedBits>
  355. <Bit>
  356. <Name>WRP1B_STRT</Name>
  357. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  358. <BitOffset>0x0</BitOffset>
  359. <BitWidth>0x8</BitWidth>
  360. <Access>RW</Access>
  361. <Equation multiplier="0x800" offset="0x08000000"/>
  362. </Bit>
  363. <Bit>
  364. <Name>WRP1B_END</Name>
  365. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  366. <BitOffset>0x10</BitOffset>
  367. <BitWidth>0x8</BitWidth>
  368. <Access>RW</Access>
  369. <Equation multiplier="0x800" offset="0x08000000"/>
  370. </Bit>
  371. </AssignedBits>
  372. </Field>
  373. </Category>
  374. </Bank>
  375. <Bank interface="Bootloader">
  376. <Parameters address="0x1FFF7800" name="Bank 1" size="0x24"/>
  377. <Category>
  378. <Name>Read Out Protection</Name>
  379. <Field>
  380. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  381. <AssignedBits>
  382. <Bit>
  383. <Name>RDP</Name>
  384. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  385. <BitOffset>0x0</BitOffset>
  386. <BitWidth>0x8</BitWidth>
  387. <Access>RW</Access>
  388. <Values>
  389. <Val value="0xAA">Level 0, no protection</Val>
  390. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  391. <Val value="0xCC">Level 2, chip protection</Val>
  392. </Values>
  393. </Bit>
  394. </AssignedBits>
  395. </Field>
  396. </Category>
  397. <Category>
  398. <Name>BOR Level</Name>
  399. <Field>
  400. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  401. <AssignedBits>
  402. <Bit>
  403. <Name>BOR_LEV</Name>
  404. <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>
  405. <BitOffset>0x8</BitOffset>
  406. <BitWidth>0x3</BitWidth>
  407. <Access>RW</Access>
  408. <Values>
  409. <Val value="0x0">BOR Level 0, reset level threshold is around 1.7 V</Val>
  410. <Val value="0x1">BOR Level 1, reset level threshold is around 2.0 V</Val>
  411. <Val value="0x2">BOR Level 2, reset level threshold is around 2.2 V</Val>
  412. <Val value="0x3">BOR Level 3, reset level threshold is around 2.5 V</Val>
  413. <Val value="0x4">BOR Level 4, reset level threshold is around 2.8 V</Val>
  414. </Values>
  415. </Bit>
  416. </AssignedBits>
  417. </Field>
  418. </Category>
  419. <Category>
  420. <Name>User Configuration</Name>
  421. <Field>
  422. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  423. <AssignedBits>
  424. <Bit>
  425. <Name>IWDG_STOP</Name>
  426. <Description/>
  427. <BitOffset>0x11</BitOffset>
  428. <BitWidth>0x1</BitWidth>
  429. <Access>RW</Access>
  430. <Values>
  431. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  432. <Val value="0x1">IWDG counter active in stop mode</Val>
  433. </Values>
  434. </Bit>
  435. <Bit>
  436. <Name>IWDG_STDBY</Name>
  437. <Description/>
  438. <BitOffset>0x12</BitOffset>
  439. <BitWidth>0x1</BitWidth>
  440. <Access>RW</Access>
  441. <Values>
  442. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  443. <Val value="0x1">IWDG counter active in standby mode</Val>
  444. </Values>
  445. </Bit>
  446. </AssignedBits>
  447. </Field>
  448. <Field>
  449. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  450. <AssignedBits>
  451. <Bit>
  452. <Name>WWDG_SW</Name>
  453. <Description/>
  454. <BitOffset>0x13</BitOffset>
  455. <BitWidth>0x1</BitWidth>
  456. <Access>RW</Access>
  457. <Values>
  458. <Val value="0x0">Hardware window watchdog</Val>
  459. <Val value="0x1">Software window watchdog</Val>
  460. </Values>
  461. </Bit>
  462. <Bit>
  463. <Name>IWDG_SW</Name>
  464. <Description/>
  465. <BitOffset>0x10</BitOffset>
  466. <BitWidth>0x1</BitWidth>
  467. <Access>RW</Access>
  468. <Values>
  469. <Val value="0x0">Hardware independant watchdog</Val>
  470. <Val value="0x1">Software independant watchdog</Val>
  471. </Values>
  472. </Bit>
  473. <Bit>
  474. <Name>nRST_STOP</Name>
  475. <Description/>
  476. <BitOffset>0xC</BitOffset>
  477. <BitWidth>0x1</BitWidth>
  478. <Access>RW</Access>
  479. <Values>
  480. <Val value="0x0">Reset generated when entering Stop mode</Val>
  481. <Val value="0x1">No reset generated</Val>
  482. </Values>
  483. </Bit>
  484. <Bit>
  485. <Name>nRST_STDBY</Name>
  486. <Description/>
  487. <BitOffset>0xD</BitOffset>
  488. <BitWidth>0x1</BitWidth>
  489. <Access>RW</Access>
  490. <Values>
  491. <Val value="0x0">Reset generated when entering Standby mode</Val>
  492. <Val value="0x1">No reset generated</Val>
  493. </Values>
  494. </Bit>
  495. <Bit>
  496. <Name>nRST_SHDW</Name>
  497. <Description/>
  498. <BitOffset>0xE</BitOffset>
  499. <BitWidth>0x1</BitWidth>
  500. <Access>RW</Access>
  501. <Values>
  502. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  503. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  504. </Values>
  505. </Bit>
  506. <Bit>
  507. <Name>nBOOT1</Name>
  508. <Description>This bit selects the boot mode only when BOOT0=1. If BOOT0 = 0, boot from system memory when nSWBOOT0=1 and main flash is empty,otherwise, boot from main flash memory. </Description>
  509. <BitOffset>0x17</BitOffset>
  510. <BitWidth>0x1</BitWidth>
  511. <Access>RW</Access>
  512. <Values>
  513. <Val value="0x0">Boot from embedded SRAM1 when BOOT0=1</Val>
  514. <Val value="0x1">Boot from system memory when BOOT0=1</Val>
  515. </Values>
  516. </Bit>
  517. <Bit>
  518. <Name>SRAM2_PE</Name>
  519. <Description/>
  520. <BitOffset>0x18</BitOffset>
  521. <BitWidth>0x1</BitWidth>
  522. <Access>RW</Access>
  523. <Values>
  524. <Val value="0x0">SRAM2 parity check enable</Val>
  525. <Val value="0x1">SRAM2 parity check disable</Val>
  526. </Values>
  527. </Bit>
  528. <Bit>
  529. <Name>SRAM2_RST</Name>
  530. <Description/>
  531. <BitOffset>0x19</BitOffset>
  532. <BitWidth>0x1</BitWidth>
  533. <Access>RW</Access>
  534. <Values>
  535. <Val value="0x0">SRAM2 erased when a system reset occurs</Val>
  536. <Val value="0x1">SRAM2 is not erased when a system reset occurs</Val>
  537. </Values>
  538. </Bit>
  539. <Bit>
  540. <Name>nSWBOOT0</Name>
  541. <Description/>
  542. <BitOffset>0x1A</BitOffset>
  543. <BitWidth>0x1</BitWidth>
  544. <Access>RW</Access>
  545. <Values>
  546. <Val value="0x0">BOOT0 taken from the option bit nBOOT0</Val>
  547. <Val value="0x1">BOOT0 taken from PH3/BOOT0 pin</Val>
  548. </Values>
  549. </Bit>
  550. <Bit>
  551. <Name>nBOOT0</Name>
  552. <Description>This option bit sets the BOOT0 value only when nSWBOOT0=0</Description>
  553. <BitOffset>0x1B</BitOffset>
  554. <BitWidth>0x1</BitWidth>
  555. <Access>RW</Access>
  556. <Values>
  557. <Val value="0x0">BOOT0 = 1, boot memory depends on nBOOT1 value</Val>
  558. <Val value="0x1">BOOT0 = 0, boot from system memory when nSWBOOT0=1 and main flash is empty,otherwise, boot from main flash memory</Val>
  559. </Values>
  560. </Bit>
  561. </AssignedBits>
  562. </Field>
  563. </Category>
  564. <Category>
  565. <Name>PCROP Protection</Name>
  566. <Field>
  567. <Parameters address="0x1FFF7808" name="FLASH_PCROP1SR" size="0x4"/>
  568. <AssignedBits>
  569. <Bit>
  570. <Name>PCROP1_STRT</Name>
  571. <Description>Flash Bank 1 PCROP start address</Description>
  572. <Description/>
  573. <BitOffset>0x0</BitOffset>
  574. <BitWidth>0x10</BitWidth>
  575. <Access>RW</Access>
  576. <Equation multiplier="0x8" offset="0x08000000"/>
  577. </Bit>
  578. </AssignedBits>
  579. </Field>
  580. <Field>
  581. <Parameters address="0x1FFF7810" name="FLASH_PCROP1ER" size="0x4"/>
  582. <AssignedBits>
  583. <Bit>
  584. <Name>PCROP1_END</Name>
  585. <Description>Flash Bank 1 PCROP End address. Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  586. <BitOffset>0x0</BitOffset>
  587. <BitWidth>0x10</BitWidth>
  588. <Access>RW</Access>
  589. <Equation multiplier="0x8" offset="0x08000000"/>
  590. </Bit>
  591. <Bit>
  592. <Name>PCROP_RDP</Name>
  593. <Description/>
  594. <BitOffset>0x1F</BitOffset>
  595. <BitWidth>0x1</BitWidth>
  596. <Access>RW</Access>
  597. <Values>
  598. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  599. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  600. </Values>
  601. </Bit>
  602. </AssignedBits>
  603. </Field>
  604. </Category>
  605. <Category>
  606. <Name>Write Protection</Name>
  607. <Field>
  608. <Parameters address="0x1FFF7818" name="FLASH_WRP1AR" size="0x4"/>
  609. <AssignedBits>
  610. <Bit>
  611. <Name>WRP1A_STRT</Name>
  612. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  613. <BitOffset>0x0</BitOffset>
  614. <BitWidth>0x8</BitWidth>
  615. <Access>RW</Access>
  616. <Equation multiplier="0x800" offset="0x08000000"/>
  617. </Bit>
  618. <Bit>
  619. <Name>WRP1A_END</Name>
  620. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  621. <BitOffset>0x10</BitOffset>
  622. <BitWidth>0x8</BitWidth>
  623. <Access>RW</Access>
  624. <Equation multiplier="0x800" offset="0x08000000"/>
  625. </Bit>
  626. </AssignedBits>
  627. </Field>
  628. <Field>
  629. <Parameters address="0x1FFF7820" name="FLASH_WRP1BR" size="0x4"/>
  630. <AssignedBits>
  631. <Bit>
  632. <Name>WRP1B_STRT</Name>
  633. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  634. <BitOffset>0x0</BitOffset>
  635. <BitWidth>0x8</BitWidth>
  636. <Access>RW</Access>
  637. <Equation multiplier="0x800" offset="0x08000000"/>
  638. </Bit>
  639. <Bit>
  640. <Name>WRP1B_END</Name>
  641. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  642. <BitOffset>0x10</BitOffset>
  643. <BitWidth>0x8</BitWidth>
  644. <Access>RW</Access>
  645. <Equation multiplier="0x800" offset="0x08000000"/>
  646. </Bit>
  647. </AssignedBits>
  648. </Field>
  649. </Category>
  650. </Bank>
  651. </Peripheral>
  652. </Peripherals>
  653. </Device>
  654. </Root>