STM32_Prog_DB_0x437.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  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>0x437</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M3</CPU>
  8. <Name>STM32L15xxE/STM32L162xE</Name>
  9. <Series>STM32L1</Series>
  10. <Description>ARM 32-bit Cortex-M3 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. <!-- 80 KB -->
  27. <Configuration>
  28. <Parameters address="0x20000000" name="SRAM" size="0x14000"/>
  29. <Description/>
  30. <Organization>Single</Organization>
  31. <Bank name="Bank 1">
  32. <Field>
  33. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x14000"/>
  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>0x00</ErasedValue>
  44. <Access>RWE</Access>
  45. <FlashSize address="0x1FF800CC" default="0x80000"/>
  46. <!-- 512KB dual Bank -->
  47. <Configuration>
  48. <Parameters address="0x08000000" name=" 512 Kbytes Embedded Flash" size="0x80000"/>
  49. <Description/>
  50. <Organization>Dual</Organization>
  51. <Allignement>0x4</Allignement>
  52. <Bank name="Bank 1">
  53. <Field>
  54. <Parameters address="0x08000000" name="sector0" occurence="0x400" size="0x100"/>
  55. </Field>
  56. </Bank>
  57. <Bank name="Bank 2">
  58. <Field>
  59. <Parameters address="0x08040000" name="sector1024" occurence="0x400" size="0x100"/>
  60. </Field>
  61. </Bank>
  62. <Bank name="EEPROM1">
  63. <Field>
  64. <Parameters address="0x08080000" name="sector0" occurence="0x1" size="0x2000"/>
  65. </Field>
  66. </Bank>
  67. <Bank name="EEPROM2">
  68. <Field>
  69. <Parameters address="0x08082000" name="sector1" occurence="0x1" size="0x2000"/>
  70. </Field>
  71. </Bank>
  72. </Configuration>
  73. </Peripheral>
  74. <!-- Data EEPROM -->
  75. <Peripheral>
  76. <Name>Data EEPROM</Name>
  77. <Type>Storage</Type>
  78. <Description>The Data EEPROM memory block. It contains user data.</Description>
  79. <ErasedValue>0x00</ErasedValue>
  80. <Access>RWE</Access>
  81. <!-- 16KB dual Bank -->
  82. <Configuration>
  83. <Parameters address="0x08080000" name=" 16 Kbytes Data EEPROM" size="0x4000"/>
  84. <Description/>
  85. <Organization>Dual</Organization>
  86. <Allignement>0x4</Allignement>
  87. <Bank name="Bank 1">
  88. <Field>
  89. <Parameters address="0x08080000" name="EEPROM1" occurence="0x1" size="0x2000"/>
  90. </Field>
  91. </Bank>
  92. <Bank name="Bank 2">
  93. <Field>
  94. <Parameters address="0x08082000" name="EEPROM2" occurence="0x1" size="0x2000"/>
  95. </Field>
  96. </Bank>
  97. </Configuration>
  98. </Peripheral>
  99. <!-- Mirror Option Bytes -->
  100. <Peripheral>
  101. <Name>MirrorOptionBytes</Name>
  102. <Type>Storage</Type>
  103. <Description>Mirror Option Bytes contains the extra area.</Description>
  104. <ErasedValue>0xFF</ErasedValue>
  105. <Access>RW</Access>
  106. <!-- 136 Bytes single bank -->
  107. <Configuration>
  108. <Parameters address="0x1FF80000" name=" 136 Bytes Data MirrorOptionBytes" size="0x88"/>
  109. <Description/>
  110. <Organization>Single</Organization>
  111. <Allignement>0x4</Allignement>
  112. <Bank name="MirrorOptionBytes">
  113. <Field>
  114. <Parameters address="0x1FF80000" name="MirrorOptionBytes" occurence="0x1" size="0x88"/>
  115. </Field>
  116. </Bank>
  117. </Configuration>
  118. </Peripheral>
  119. <!-- Option Bytes -->
  120. <Peripheral>
  121. <Name>Option Bytes</Name>
  122. <Type>Configuration</Type>
  123. <Description/>
  124. <Access>RW</Access>
  125. <Bank interface="JTAG_SWD">
  126. <Parameters address="0x40023C1C" name="Bank 1" size="0x88"/>
  127. <Category>
  128. <Name>Read Out Protection</Name>
  129. <Field>
  130. <Parameters address="0x40023C1C" name="FLASH_OBR" size="0x4"/>
  131. <AssignedBits>
  132. <Bit>
  133. <Name>RDP</Name>
  134. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  135. <BitOffset>0x0</BitOffset>
  136. <BitWidth>0x8</BitWidth>
  137. <Access>R</Access>
  138. <Values>
  139. <Val value="0xAA">Level 0, no protection</Val>
  140. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  141. <Val value="0xCC">Level 2, chip protection</Val>
  142. </Values>
  143. </Bit>
  144. </AssignedBits>
  145. </Field>
  146. </Category>
  147. <Category>
  148. <Name>BOR Level</Name>
  149. <Field>
  150. <Parameters address="0x40023C1C" name="FLASH_OBR" size="0x4"/>
  151. <AssignedBits>
  152. <Bit>
  153. <Name>BOR_LEV</Name>
  154. <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>
  155. <BitOffset>0x10</BitOffset>
  156. <BitWidth>0x4</BitWidth>
  157. <Access>R</Access>
  158. <Values>
  159. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  160. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  161. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  162. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  163. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  164. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  165. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  166. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  167. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  168. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  169. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  170. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  171. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  172. </Values>
  173. </Bit>
  174. </AssignedBits>
  175. </Field>
  176. </Category>
  177. <Category>
  178. <Name>User Configuration</Name>
  179. <Field>
  180. <Parameters address="0x40023C1C" name="FLASH_OBR" size="0x4"/>
  181. <AssignedBits>
  182. <Bit>
  183. <Name>IWDG_SW</Name>
  184. <Description/>
  185. <BitOffset>0x14</BitOffset>
  186. <BitWidth>0x1</BitWidth>
  187. <Access>R</Access>
  188. <Values>
  189. <Val value="0x0">Hardware independant watchdog</Val>
  190. <Val value="0x1">Software independant watchdog</Val>
  191. </Values>
  192. </Bit>
  193. <Bit>
  194. <Name>nRST_STOP</Name>
  195. <Description/>
  196. <BitOffset>0x15</BitOffset>
  197. <BitWidth>0x1</BitWidth>
  198. <Access>R</Access>
  199. <Values>
  200. <Val value="0x0">Reset generated when entering Stop mode</Val>
  201. <Val value="0x1">No reset generated</Val>
  202. </Values>
  203. </Bit>
  204. <Bit>
  205. <Name>nRST_STDBY</Name>
  206. <Description/>
  207. <BitOffset>0x16</BitOffset>
  208. <BitWidth>0x1</BitWidth>
  209. <Access>R</Access>
  210. <Values>
  211. <Val value="0x0">Reset generated when entering Standby mode</Val>
  212. <Val value="0x1">No reset generated</Val>
  213. </Values>
  214. </Bit>
  215. <Bit>
  216. <Name>nBFB2</Name>
  217. <Description/>
  218. <BitOffset>0x17</BitOffset>
  219. <BitWidth>0x1</BitWidth>
  220. <Access>R</Access>
  221. <Values>
  222. <Val value="0x0">If boot from Flash then boot from bank 2</Val>
  223. <Val value="0x1">If boot from Flash then boot from bank 1</Val>
  224. </Values>
  225. </Bit>
  226. </AssignedBits>
  227. </Field>
  228. </Category>
  229. <Category>
  230. <Name>Write Protection</Name>
  231. <Field>
  232. <Parameters address="0x40023C20" name="FLASH_WRPR1" size="0x4"/>
  233. <AssignedBits>
  234. <Bit>
  235. <Name>WRP0</Name>
  236. <Description/>
  237. <BitOffset>0x0</BitOffset>
  238. <BitWidth>0x20</BitWidth>
  239. <Access>R</Access>
  240. <Values ByBit="true">
  241. <Val value="0x0">Write protection not active</Val>
  242. <Val value="0x1">Write protection active</Val>
  243. </Values>
  244. </Bit>
  245. </AssignedBits>
  246. </Field>
  247. <Field>
  248. <Parameters address="0x40023C80" name="FLASH_WRPR2" size="0x4"/>
  249. <AssignedBits>
  250. <Bit>
  251. <Name>WRP32</Name>
  252. <Description/>
  253. <BitOffset>0x0</BitOffset>
  254. <BitWidth>0x20</BitWidth>
  255. <Access>R</Access>
  256. <Values ByBit="true">
  257. <Val value="0x0">Write protection not active</Val>
  258. <Val value="0x1">Write protection active</Val>
  259. </Values>
  260. </Bit>
  261. </AssignedBits>
  262. </Field>
  263. <Field>
  264. <Parameters address="0x40023C84" name="FLASH_WRPR3" size="0x4"/>
  265. <AssignedBits>
  266. <Bit>
  267. <Name>WRP64</Name>
  268. <Description/>
  269. <BitOffset>0x0</BitOffset>
  270. <BitWidth>0x20</BitWidth>
  271. <Access>R</Access>
  272. <Values ByBit="true">
  273. <Val value="0x0">Write protection not active</Val>
  274. <Val value="0x1">Write protection active</Val>
  275. </Values>
  276. </Bit>
  277. </AssignedBits>
  278. </Field>
  279. <Field>
  280. <Parameters address="0x40023C88" name="FLASH_WRPR4" size="0x4"/>
  281. <AssignedBits>
  282. <Bit>
  283. <Name>WRP64</Name>
  284. <Description/>
  285. <BitOffset>0x0</BitOffset>
  286. <BitWidth>0x20</BitWidth>
  287. <Access>R</Access>
  288. <Values ByBit="true">
  289. <Val value="0x0">Write protection not active</Val>
  290. <Val value="0x1">Write protection active</Val>
  291. </Values>
  292. </Bit>
  293. </AssignedBits>
  294. </Field>
  295. </Category>
  296. </Bank>
  297. <Bank interface="JTAG_SWD">
  298. <Parameters address="0x1FF80000" name="Bank 2" size="0x88"/>
  299. <Category>
  300. <Name>Read Out Protection</Name>
  301. <Field>
  302. <Parameters address="0x1FF80000" name="RDP" size="0x4"/>
  303. <AssignedBits>
  304. <Bit>
  305. <Name>RDP</Name>
  306. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  307. <BitOffset>0x0</BitOffset>
  308. <BitWidth>0x8</BitWidth>
  309. <Access>W</Access>
  310. <Values>
  311. <Val value="0xAA">Level 0, no protection</Val>
  312. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  313. <Val value="0xCC">Level 2, chip protection</Val>
  314. </Values>
  315. </Bit>
  316. </AssignedBits>
  317. </Field>
  318. </Category>
  319. <Category>
  320. <Name>BOR Level</Name>
  321. <Field>
  322. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  323. <AssignedBits>
  324. <Bit>
  325. <Name>BOR_LEV</Name>
  326. <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>
  327. <BitOffset>0x0</BitOffset>
  328. <BitWidth>0x4</BitWidth>
  329. <Access>W</Access>
  330. <Values>
  331. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  332. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  333. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  334. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  335. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  336. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  337. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  338. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  339. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  340. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  341. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  342. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  343. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  344. </Values>
  345. </Bit>
  346. </AssignedBits>
  347. </Field>
  348. </Category>
  349. <Category>
  350. <Name>User Configuration</Name>
  351. <Field>
  352. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  353. <AssignedBits>
  354. <Bit>
  355. <Name>IWDG_SW</Name>
  356. <Description/>
  357. <BitOffset>0x4</BitOffset>
  358. <BitWidth>0x1</BitWidth>
  359. <Access>W</Access>
  360. <Values>
  361. <Val value="0x0">Hardware independant watchdog</Val>
  362. <Val value="0x1">Software independant watchdog</Val>
  363. </Values>
  364. </Bit>
  365. <Bit>
  366. <Name>nRST_STOP</Name>
  367. <Description/>
  368. <BitOffset>0x5</BitOffset>
  369. <BitWidth>0x1</BitWidth>
  370. <Access>W</Access>
  371. <Values>
  372. <Val value="0x0">Reset generated when entering Stop mode</Val>
  373. <Val value="0x1">No reset generated</Val>
  374. </Values>
  375. </Bit>
  376. <Bit>
  377. <Name>nRST_STDBY</Name>
  378. <Description/>
  379. <BitOffset>0x6</BitOffset>
  380. <BitWidth>0x1</BitWidth>
  381. <Access>W</Access>
  382. <Values>
  383. <Val value="0x0">Reset generated when entering Standby mode</Val>
  384. <Val value="0x1">No reset generated</Val>
  385. </Values>
  386. </Bit>
  387. <Bit>
  388. <Name>nBFB2</Name>
  389. <Description/>
  390. <BitOffset>0x7</BitOffset>
  391. <BitWidth>0x1</BitWidth>
  392. <Access>W</Access>
  393. <Values>
  394. <Val value="0x0">If boot from Flash then boot from bank 2</Val>
  395. <Val value="0x1">If boot from Flash then boot from bank 1</Val>
  396. </Values>
  397. </Bit>
  398. </AssignedBits>
  399. </Field>
  400. </Category>
  401. <Category>
  402. <Name>Write Protection</Name>
  403. <Field>
  404. <Parameters address="0x1FF80008" name="WRP1" size="0x8"/>
  405. <AssignedBits>
  406. <Bit>
  407. <Name>WRP0</Name>
  408. <Description/>
  409. <BitOffset>0x0</BitOffset>
  410. <BitWidth>0x10</BitWidth>
  411. <Access>W</Access>
  412. <Values ByBit="true">
  413. <Val value="0x0">Write protection not active</Val>
  414. <Val value="0x1">Write protection active</Val>
  415. </Values>
  416. </Bit>
  417. </AssignedBits>
  418. </Field>
  419. <Field>
  420. <Parameters address="0x1FF8000C" name="WRP1" size="0x8"/>
  421. <AssignedBits>
  422. <Bit>
  423. <Name>WRP16</Name>
  424. <Description/>
  425. <BitOffset>0x0</BitOffset>
  426. <BitWidth>0x10</BitWidth>
  427. <Access>W</Access>
  428. <Values ByBit="true">
  429. <Val value="0x0">Write protection not active</Val>
  430. <Val value="0x1">Write protection active</Val>
  431. </Values>
  432. </Bit>
  433. </AssignedBits>
  434. </Field>
  435. <Field>
  436. <Parameters address="0x1FF80010" name="WRP2" size="0x8"/>
  437. <AssignedBits>
  438. <Bit>
  439. <Name>WRP32</Name>
  440. <Description/>
  441. <BitOffset>0x0</BitOffset>
  442. <BitWidth>0x10</BitWidth>
  443. <Access>W</Access>
  444. <Values ByBit="true">
  445. <Val value="0x0">Write protection not active</Val>
  446. <Val value="0x1">Write protection active</Val>
  447. </Values>
  448. </Bit>
  449. </AssignedBits>
  450. </Field>
  451. <Field>
  452. <Parameters address="0x1FF80014" name="WRP2" size="0x8"/>
  453. <AssignedBits>
  454. <Bit>
  455. <Name>WRP48</Name>
  456. <Description/>
  457. <BitOffset>0x0</BitOffset>
  458. <BitWidth>0x10</BitWidth>
  459. <Access>W</Access>
  460. <Values ByBit="true">
  461. <Val value="0x0">Write protection not active</Val>
  462. <Val value="0x1">Write protection active</Val>
  463. </Values>
  464. </Bit>
  465. </AssignedBits>
  466. </Field>
  467. <Field>
  468. <Parameters address="0x1FF80018" name="WRP3" size="0x8"/>
  469. <AssignedBits>
  470. <Bit>
  471. <Name>WRP64</Name>
  472. <Description/>
  473. <BitOffset>0x0</BitOffset>
  474. <BitWidth>0x10</BitWidth>
  475. <Access>W</Access>
  476. <Values ByBit="true">
  477. <Val value="0x0">Write protection not active</Val>
  478. <Val value="0x1">Write protection active</Val>
  479. </Values>
  480. </Bit>
  481. </AssignedBits>
  482. </Field>
  483. <Field>
  484. <Parameters address="0x1FF8001C" name="WRP3" size="0x8"/>
  485. <AssignedBits>
  486. <Bit>
  487. <Name>WRP80</Name>
  488. <Description/>
  489. <BitOffset>0x0</BitOffset>
  490. <BitWidth>0x10</BitWidth>
  491. <Access>W</Access>
  492. <Values ByBit="true">
  493. <Val value="0x0">Write protection not active</Val>
  494. <Val value="0x1">Write protection active</Val>
  495. </Values>
  496. </Bit>
  497. </AssignedBits>
  498. </Field>
  499. <Field>
  500. <Parameters address="0x1FF80080" name="WRP4" size="0x8"/>
  501. <AssignedBits>
  502. <Bit>
  503. <Name>WRP96</Name>
  504. <Description/>
  505. <BitOffset>0x0</BitOffset>
  506. <BitWidth>0x10</BitWidth>
  507. <Access>W</Access>
  508. <Values ByBit="true">
  509. <Val value="0x0">Write protection not active</Val>
  510. <Val value="0x1">Write protection active</Val>
  511. </Values>
  512. </Bit>
  513. </AssignedBits>
  514. </Field>
  515. <Field>
  516. <Parameters address="0x1FF80084" name="WRP4" size="0x8"/>
  517. <AssignedBits>
  518. <Bit>
  519. <Name>WRP112</Name>
  520. <Description/>
  521. <BitOffset>0x0</BitOffset>
  522. <BitWidth>0x10</BitWidth>
  523. <Access>W</Access>
  524. <Values ByBit="true">
  525. <Val value="0x0">Write protection not active</Val>
  526. <Val value="0x1">Write protection active</Val>
  527. </Values>
  528. </Bit>
  529. </AssignedBits>
  530. </Field>
  531. </Category>
  532. </Bank>
  533. <Bank interface="Bootloader">
  534. <Parameters address="0x1FF80000" name="Bank 1" size="0x88"/>
  535. <Category>
  536. <Name>Read Out Protection</Name>
  537. <Field>
  538. <Parameters address="0x1FF80000" name="RDP" size="0x4"/>
  539. <AssignedBits>
  540. <Bit>
  541. <Name>RDP</Name>
  542. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  543. <BitOffset>0x0</BitOffset>
  544. <BitWidth>0x8</BitWidth>
  545. <Access>RW</Access>
  546. <Values>
  547. <Val value="0xAA">Level 0, no protection</Val>
  548. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  549. <Val value="0xCC">Level 2, chip protection</Val>
  550. </Values>
  551. </Bit>
  552. </AssignedBits>
  553. </Field>
  554. </Category>
  555. <Category>
  556. <Name>BOR Level</Name>
  557. <Field>
  558. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  559. <AssignedBits>
  560. <Bit>
  561. <Name>BOR_LEV</Name>
  562. <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>
  563. <BitOffset>0x0</BitOffset>
  564. <BitWidth>0x4</BitWidth>
  565. <Access>RW</Access>
  566. <Values>
  567. <Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  568. <Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  569. <Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  570. <Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  571. <Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  572. <Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
  573. <Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  574. <Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
  575. <Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
  576. <Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
  577. <Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
  578. <Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
  579. <Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
  580. </Values>
  581. </Bit>
  582. </AssignedBits>
  583. </Field>
  584. </Category>
  585. <Category>
  586. <Name>User Configuration</Name>
  587. <Field>
  588. <Parameters address="0x1FF80004" name="USER" size="0x4"/>
  589. <AssignedBits>
  590. <Bit>
  591. <Name>IWDG_SW</Name>
  592. <Description/>
  593. <BitOffset>0x4</BitOffset>
  594. <BitWidth>0x1</BitWidth>
  595. <Access>RW</Access>
  596. <Values>
  597. <Val value="0x0">Hardware independant watchdog</Val>
  598. <Val value="0x1">Software independant watchdog</Val>
  599. </Values>
  600. </Bit>
  601. <Bit>
  602. <Name>nRST_STOP</Name>
  603. <Description/>
  604. <BitOffset>0x5</BitOffset>
  605. <BitWidth>0x1</BitWidth>
  606. <Access>RW</Access>
  607. <Values>
  608. <Val value="0x0">Reset generated when entering Stop mode</Val>
  609. <Val value="0x1">No reset generated</Val>
  610. </Values>
  611. </Bit>
  612. <Bit>
  613. <Name>nRST_STDBY</Name>
  614. <Description/>
  615. <BitOffset>0x6</BitOffset>
  616. <BitWidth>0x1</BitWidth>
  617. <Access>RW</Access>
  618. <Values>
  619. <Val value="0x0">Reset generated when entering Standby mode</Val>
  620. <Val value="0x1">No reset generated</Val>
  621. </Values>
  622. </Bit>
  623. <Bit>
  624. <Name>nBFB2</Name>
  625. <Description/>
  626. <BitOffset>0x7</BitOffset>
  627. <BitWidth>0x1</BitWidth>
  628. <Access>RW</Access>
  629. <Values>
  630. <Val value="0x0">If boot from Flash then boot from bank 2</Val>
  631. <Val value="0x1">If boot from Flash then boot from bank 1</Val>
  632. </Values>
  633. </Bit>
  634. </AssignedBits>
  635. </Field>
  636. </Category>
  637. <Category>
  638. <Name>Write Protection</Name>
  639. <Field>
  640. <Parameters address="0x1FF80008" name="WRP1" size="0x8"/>
  641. <AssignedBits>
  642. <Bit>
  643. <Name>WRP0</Name>
  644. <Description/>
  645. <BitOffset>0x0</BitOffset>
  646. <BitWidth>0x10</BitWidth>
  647. <Access>RW</Access>
  648. <Values ByBit="true">
  649. <Val value="0x0">Write protection not active</Val>
  650. <Val value="0x1">Write protection active</Val>
  651. </Values>
  652. </Bit>
  653. </AssignedBits>
  654. </Field>
  655. <Field>
  656. <Parameters address="0x1FF8000C" name="WRP1" size="0x8"/>
  657. <AssignedBits>
  658. <Bit>
  659. <Name>WRP16</Name>
  660. <Description/>
  661. <BitOffset>0x0</BitOffset>
  662. <BitWidth>0x10</BitWidth>
  663. <Access>RW</Access>
  664. <Values ByBit="true">
  665. <Val value="0x0">Write protection not active</Val>
  666. <Val value="0x1">Write protection active</Val>
  667. </Values>
  668. </Bit>
  669. </AssignedBits>
  670. </Field>
  671. <Field>
  672. <Parameters address="0x1FF80010" name="WRP2" size="0x8"/>
  673. <AssignedBits>
  674. <Bit>
  675. <Name>WRP32</Name>
  676. <Description/>
  677. <BitOffset>0x0</BitOffset>
  678. <BitWidth>0x10</BitWidth>
  679. <Access>RW</Access>
  680. <Values ByBit="true">
  681. <Val value="0x0">Write protection not active</Val>
  682. <Val value="0x1">Write protection active</Val>
  683. </Values>
  684. </Bit>
  685. </AssignedBits>
  686. </Field>
  687. <Field>
  688. <Parameters address="0x1FF80014" name="WRP2" size="0x8"/>
  689. <AssignedBits>
  690. <Bit>
  691. <Name>WRP48</Name>
  692. <Description/>
  693. <BitOffset>0x0</BitOffset>
  694. <BitWidth>0x10</BitWidth>
  695. <Access>RW</Access>
  696. <Values ByBit="true">
  697. <Val value="0x0">Write protection not active</Val>
  698. <Val value="0x1">Write protection active</Val>
  699. </Values>
  700. </Bit>
  701. </AssignedBits>
  702. </Field>
  703. <Field>
  704. <Parameters address="0x1FF80018" name="WRP3" size="0x8"/>
  705. <AssignedBits>
  706. <Bit>
  707. <Name>WRP64</Name>
  708. <Description/>
  709. <BitOffset>0x0</BitOffset>
  710. <BitWidth>0x10</BitWidth>
  711. <Access>RW</Access>
  712. <Values ByBit="true">
  713. <Val value="0x0">Write protection not active</Val>
  714. <Val value="0x1">Write protection active</Val>
  715. </Values>
  716. </Bit>
  717. </AssignedBits>
  718. </Field>
  719. <Field>
  720. <Parameters address="0x1FF8001C" name="WRP3" size="0x8"/>
  721. <AssignedBits>
  722. <Bit>
  723. <Name>WRP80</Name>
  724. <Description/>
  725. <BitOffset>0x0</BitOffset>
  726. <BitWidth>0x10</BitWidth>
  727. <Access>RW</Access>
  728. <Values ByBit="true">
  729. <Val value="0x0">Write protection not active</Val>
  730. <Val value="0x1">Write protection active</Val>
  731. </Values>
  732. </Bit>
  733. </AssignedBits>
  734. </Field>
  735. <Field>
  736. <Parameters address="0x1FF80080" name="WRP4" size="0x8"/>
  737. <AssignedBits>
  738. <Bit>
  739. <Name>WRP96</Name>
  740. <Description/>
  741. <BitOffset>0x0</BitOffset>
  742. <BitWidth>0x10</BitWidth>
  743. <Access>RW</Access>
  744. <Values ByBit="true">
  745. <Val value="0x0">Write protection not active</Val>
  746. <Val value="0x1">Write protection active</Val>
  747. </Values>
  748. </Bit>
  749. </AssignedBits>
  750. </Field>
  751. <Field>
  752. <Parameters address="0x1FF80084" name="WRP4" size="0x8"/>
  753. <AssignedBits>
  754. <Bit>
  755. <Name>WRP112</Name>
  756. <Description/>
  757. <BitOffset>0x0</BitOffset>
  758. <BitWidth>0x10</BitWidth>
  759. <Access>RW</Access>
  760. <Values ByBit="true">
  761. <Val value="0x0">Write protection not active</Val>
  762. <Val value="0x1">Write protection active</Val>
  763. </Values>
  764. </Bit>
  765. </AssignedBits>
  766. </Field>
  767. </Category>
  768. </Bank>
  769. </Peripheral>
  770. </Peripherals>
  771. </Device>
  772. </Root>