STM32_Prog_DB_0x467.xml 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140
  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>0x467</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <!-- cortex written in word file +mpu should it be written?? -->
  8. <CPU>Cortex-M0+</CPU>
  9. <Name>STM32G0B1xx/C1xx</Name>
  10. <Series>STM32G0</Series>
  11. <Description>ARM 32-bit Cortex-M0+ based device</Description>
  12. <Configurations>
  13. <!-- JTAG_SWD Interface -->
  14. <Interface name="JTAG_SWD"/>
  15. <!-- 512B Single Bank-->
  16. <Configuration number="0x0">
  17. <DualBank>
  18. <ReadRegister address="0x40023C14" mask="0x20000000" value="0x20000000"/>
  19. </DualBank>
  20. <FlashSize>
  21. <ReadRegister address="0x1FFF75E0" mask="0x0000FFFF" value="200"/>
  22. </FlashSize>
  23. </Configuration>
  24. <!-- 256 Single Bank-->
  25. <Configuration number="0x1">
  26. <DualBank>
  27. <ReadRegister address="0x40023C14" mask="0x20000000" value="0x20000000"/>
  28. </DualBank>
  29. <FlashSize>
  30. <ReadRegister address="0x1FFF75E0" mask="0x0000FFFF" value="100"/>
  31. </FlashSize>
  32. </Configuration>
  33. <!-- 128 Single Bank-->
  34. <Configuration number="0x2">
  35. <DualBank>
  36. <ReadRegister address="0x40023C14" mask="0x20000000" value="0x20000000"/>
  37. </DualBank>
  38. <FlashSize>
  39. <ReadRegister address="0x1FFF75E0" mask="0x0000FFFF" value="80"/>
  40. </FlashSize>
  41. </Configuration>
  42. <!-- Bootloader Interface -->
  43. <Interface name="Bootloader"/>
  44. </Configurations>
  45. <!-- Peripherals -->
  46. <Peripherals>
  47. <!-- Embedded SRAM -->
  48. <Peripheral>
  49. <Name>Embedded SRAM</Name>
  50. <Type>Storage</Type>
  51. <Description/>
  52. <ErasedValue>0x00</ErasedValue>
  53. <Access>RWE</Access>
  54. <!-- 128KB -->
  55. <Configuration>
  56. <Parameters address="0x20000000" name="SRAM" size="0x20000"/>
  57. <Description/>
  58. <Organization>Single</Organization>
  59. <Bank name="Bank 1">
  60. <Field>
  61. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x20000"/>
  62. </Field>
  63. </Bank>
  64. </Configuration>
  65. </Peripheral>
  66. <!-- Embedded Flash -->
  67. <Peripheral>
  68. <Name>Embedded Flash</Name>
  69. <Type>Storage</Type>
  70. <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>
  71. <ErasedValue>0xFF</ErasedValue>
  72. <Access>RWE</Access>
  73. <FlashSize address="0x1FFF75E0" default="0x80000"/>
  74. <!-- 512K dual Bank -->
  75. <Configuration number="0x0">
  76. <Parameters address="0x08000000" name=" 512 KB Embedded Flash" size="0x080000"/>
  77. <Description/>
  78. <Organization>Dual</Organization>
  79. <Allignement>0x8</Allignement>
  80. <Bank name="Bank 1">
  81. <Field>
  82. <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x800"/>
  83. </Field>
  84. </Bank>
  85. <Bank name="Bank 2">
  86. <Field>
  87. <Parameters address="0x08040000" name="sector128" occurence="0x80" size="0x800"/>
  88. </Field>
  89. </Bank>
  90. </Configuration>
  91. <!-- 256K single Bank-->
  92. <Configuration number="0x1">
  93. <Parameters address="0x08000000" name=" 256 KB Embedded Flash" size="0x040000"/>
  94. <Description/>
  95. <Organization>Dual</Organization>
  96. <Allignement>0x8</Allignement>
  97. <Bank name="Bank 1">
  98. <Field>
  99. <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x800"/>
  100. </Field>
  101. </Bank>
  102. </Configuration>
  103. <!-- 128K Single Bank-->
  104. <Configuration number="0x2">
  105. <Parameters address="0x08000000" name=" 128 KB Embedded Flash" size="0x020000"/>
  106. <Description/>
  107. <Organization>Dual</Organization>
  108. <Allignement>0x8</Allignement>
  109. <Bank name="Bank 1">
  110. <Field>
  111. <Parameters address="0x08000000" name="sector0" occurence="0x40" size="0x800"/>
  112. </Field>
  113. </Bank>
  114. </Configuration>
  115. </Peripheral>
  116. <!-- OTP -->
  117. <Peripheral>
  118. <Name>OTP</Name>
  119. <Type>Storage</Type>
  120. <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
  121. <ErasedValue>0xFF</ErasedValue>
  122. <Access>RW</Access>
  123. <!-- 1 KBytes single bank -->
  124. <Configuration>
  125. <Parameters address="0x1FFF7000" name=" 1 KBytes Data OTP" size="0x400"/>
  126. <Description/>
  127. <Organization>Single</Organization>
  128. <Allignement>0x4</Allignement>
  129. <Bank name="OTP">
  130. <Field>
  131. <Parameters address="0x1FFF7000" name="OTP" occurence="0x1" size="0x400"/>
  132. </Field>
  133. </Bank>
  134. </Configuration>
  135. </Peripheral>
  136. <!-- Mirror Option Bytes -->
  137. <Peripheral>
  138. <Name>MirrorOptionBytes</Name>
  139. <Type>Storage</Type>
  140. <Description>Mirror Option Bytes contains the extra area.</Description>
  141. <ErasedValue>0xFF</ErasedValue>
  142. <Access>RW</Access>
  143. <!-- 56 Bytes Dual bank -->
  144. <Configuration>
  145. <Parameters address="0x1FFF7800" name=" 56 Bytes Data MirrorOptionBytes" size="0x38"/>
  146. <Description/>
  147. <Organization>Dual</Organization>
  148. <Allignement>0x4</Allignement>
  149. <Bank name="Bank 1">
  150. <Field>
  151. <Parameters address="0x1FFF7800" name="Bank1" occurence="0x1" size="0x34"/>
  152. </Field>
  153. </Bank>
  154. <Bank name="Bank 2">
  155. <Field>
  156. <Parameters address="0x1FFF7870" name="Bank2" occurence="0x1" size="0x4"/>
  157. </Field>
  158. </Bank>
  159. </Configuration>
  160. </Peripheral>
  161. <!-- Option Bytes -->
  162. <Peripheral>
  163. <Name>Option Bytes</Name>
  164. <Type>Configuration</Type>
  165. <Description/>
  166. <Access>RW</Access>
  167. <Bank interface="JTAG_SWD">
  168. <Parameters address="0x40022020" name="Bank 1" size="0x40"/>
  169. <Category>
  170. <Name>Read Out Protection</Name>
  171. <Field>
  172. <Parameters address="0x40022020" name="FLASH_OPTR" size="0x4"/>
  173. <AssignedBits>
  174. <Bit>
  175. <Name>RDP</Name>
  176. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  177. <BitOffset>0x0</BitOffset>
  178. <BitWidth>0x8</BitWidth>
  179. <Access>RW</Access>
  180. <Values>
  181. <Val value="0xAA">Level 0, no protection</Val>
  182. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  183. <Val value="0xCC">Level 2, chip protection</Val>
  184. </Values>
  185. </Bit>
  186. </AssignedBits>
  187. </Field>
  188. </Category>
  189. <Category>
  190. <Name>BOR Level</Name>
  191. <Field>
  192. <Parameters name="FLASH_OPTR" size="0x4" address="0x40022020"/>
  193. <AssignedBits>
  194. <Bit>
  195. <Name>BOR_EN</Name>
  196. <Description/>
  197. <BitOffset>0x8</BitOffset>
  198. <BitWidth>0x1</BitWidth>
  199. <Access>RW</Access>
  200. <Values>
  201. <Val value="0x0">Configurable brown out reset disabled, power-on reset defined by POR/PDR levels</Val>
  202. <Val value="0x1">Configurable brown out reset enabled, values of BORR_LEV and BORF_LEV taken into account</Val>
  203. </Values>
  204. </Bit>
  205. <Bit>
  206. <Name>BORF_LEV</Name>
  207. <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>
  208. <BitOffset>0x9</BitOffset>
  209. <BitWidth>0x2</BitWidth>
  210. <Access>RW</Access>
  211. <Values>
  212. <Val value="0x0">BOR falling level 1 with threshold around 2.0 V</Val>
  213. <Val value="0x1">BOR falling level 2 with threshold around 2.2 V</Val>
  214. <Val value="0x2">BOR falling level 3 with threshold around 2.5 V</Val>
  215. <Val value="0x3">BOR falling level 4 with threshold around 2.8 V</Val>
  216. </Values>
  217. </Bit>
  218. <Bit>
  219. <Name>BORR_LEV</Name>
  220. <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>
  221. <BitOffset>0xB</BitOffset>
  222. <BitWidth>0x2</BitWidth>
  223. <Access>RW</Access>
  224. <Values>
  225. <Val value="0x0">BOR rising level 1 with threshold around 2.1 V</Val>
  226. <Val value="0x1">BOR rising level 2 with threshold around 2.3 V</Val>
  227. <Val value="0x2">BOR rising level 3 with threshold around 2.6 V</Val>
  228. <Val value="0x3">BOR rising level 4 with threshold around 2.9 V</Val>
  229. </Values>
  230. </Bit>
  231. </AssignedBits>
  232. </Field>
  233. </Category>
  234. <Category>
  235. <Name>User Configuration</Name>
  236. <Field>
  237. <Parameters address="0x40022020" name="FLASH_OPTR" size="0x4"/>
  238. <AssignedBits>
  239. <Bit>
  240. <Name>nRST_STOP</Name>
  241. <Description/>
  242. <BitOffset>0xD</BitOffset>
  243. <BitWidth>0x1</BitWidth>
  244. <Access>RW</Access>
  245. <Values>
  246. <Val value="0x0">Reset generated when entering Stop mode</Val>
  247. <Val value="0x1">No reset generated when entering Stop mode</Val>
  248. </Values>
  249. </Bit>
  250. <Bit>
  251. <Name>nRST_STDBY</Name>
  252. <Description/>
  253. <BitOffset>0xE</BitOffset>
  254. <BitWidth>0x1</BitWidth>
  255. <Access>RW</Access>
  256. <Values>
  257. <Val value="0x0">Reset generated when entering Standby mode</Val>
  258. <Val value="0x1">No reset generated when entering Standby mode</Val>
  259. </Values>
  260. </Bit>
  261. <Bit>
  262. <Name>nRST_SHDW</Name>
  263. <Description/>
  264. <BitOffset>0xF</BitOffset>
  265. <BitWidth>0x1</BitWidth>
  266. <Access>RW</Access>
  267. <Values>
  268. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  269. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  270. </Values>
  271. </Bit>
  272. <Bit>
  273. <Name>IWDG_SW</Name>
  274. <Description/>
  275. <BitOffset>0x10</BitOffset>
  276. <BitWidth>0x1</BitWidth>
  277. <Access>RW</Access>
  278. <Values>
  279. <Val value="0x0">Hardware independant watchdog</Val>
  280. <Val value="0x1">Software independant watchdog</Val>
  281. </Values>
  282. </Bit>
  283. <Bit>
  284. <Name>IWDG_STOP</Name>
  285. <Description/>
  286. <BitOffset>0x11</BitOffset>
  287. <BitWidth>0x1</BitWidth>
  288. <Access>RW</Access>
  289. <Values>
  290. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  291. <Val value="0x1">IWDG counter active in stop mode</Val>
  292. </Values>
  293. </Bit>
  294. <Bit>
  295. <Name>IWDG_STDBY</Name>
  296. <Description/>
  297. <BitOffset>0x12</BitOffset>
  298. <BitWidth>0x1</BitWidth>
  299. <Access>RW</Access>
  300. <Values>
  301. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  302. <Val value="0x1">IWDG counter active in standby mode</Val>
  303. </Values>
  304. </Bit>
  305. <Bit>
  306. <Name>WWDG_SW</Name>
  307. <Description/>
  308. <BitOffset>0x13</BitOffset>
  309. <BitWidth>0x1</BitWidth>
  310. <Access>RW</Access>
  311. <Values>
  312. <Val value="0x0">Hardware window watchdog</Val>
  313. <Val value="0x1">Software window watchdog</Val>
  314. </Values>
  315. </Bit>
  316. <Bit>
  317. <Name>nSWAP_BANK</Name>
  318. <Description/>
  319. <BitOffset>0x14</BitOffset>
  320. <BitWidth>0x1</BitWidth>
  321. <Access>RW</Access>
  322. <Values>
  323. <Val value="0x0">Bank 1</Val>
  324. <Val value="0x1">Bank 2</Val>
  325. </Values>
  326. </Bit>
  327. <Bit>
  328. <Name>DUAL_BANK</Name>
  329. <Description/>
  330. <BitOffset>0x15</BitOffset>
  331. <BitWidth>0x1</BitWidth>
  332. <Access>RW</Access>
  333. <Values>
  334. <Val value="0x0">256 Kbytes/512 Kbytes single-bank Flash memory(contiguous addresses in Bank 1)</Val>
  335. <Val value="0x1">256 Kbytes/512 Kbytes dual-bank Flash memory</Val>
  336. </Values>
  337. </Bit>
  338. <Bit>
  339. <Name>RAM_PARITY_CHECK</Name>
  340. <Description/>
  341. <BitOffset>0x16</BitOffset>
  342. <BitWidth>0x1</BitWidth>
  343. <Access>RW</Access>
  344. <Values>
  345. <Val value="0x0">SRAM parity check enable</Val>
  346. <Val value="0x1">SRAM parity check disable</Val>
  347. </Values>
  348. </Bit>
  349. <Bit>
  350. <Name>nBOOT_SEL</Name>
  351. <Description/>
  352. <BitOffset>0x18</BitOffset>
  353. <BitWidth>0x1</BitWidth>
  354. <Access>RW</Access>
  355. <Values>
  356. <Val value="0x0">BOOT0 signal is defined by BOOT0 pin value (legacy mode)</Val>
  357. <Val value="0x1">BOOT0 signal is defined by nBOOT0 option bit</Val>
  358. </Values>
  359. </Bit>
  360. <Bit>
  361. <Name>nBOOT1</Name>
  362. <Description/>
  363. <BitOffset>0x19</BitOffset>
  364. <BitWidth>0x1</BitWidth>
  365. <Access>RW</Access>
  366. <Values>
  367. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  368. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  369. </Values>
  370. </Bit>
  371. <Bit>
  372. <Name>nBOOT0</Name>
  373. <Description/>
  374. <BitOffset>0x1A</BitOffset>
  375. <BitWidth>0x1</BitWidth>
  376. <Access>RW</Access>
  377. <Values>
  378. <Val value="0x0">nBOOT0=0</Val>
  379. <Val value="0x1">nBOOT0=1</Val>
  380. </Values>
  381. </Bit>
  382. <Bit>
  383. <Name>NRST_MODE</Name>
  384. <Description/>
  385. <BitOffset>0x1B</BitOffset>
  386. <BitWidth>0x2</BitWidth>
  387. <Access>RW</Access>
  388. <Values>
  389. <Val value="0x0">Reserved</Val>
  390. <Val value="0x1">Reset Input only: a low level on the NRST pin generates system reset, internal RESET not propagated to the NSRT pin</Val>
  391. <Val value="0x2">GPIO: standard GPIO pad functionality, only internal RESET possible</Val>
  392. <Val value="0x3">Bidirectional reset: NRST pin configured in reset input/output mode (legacy mode)</Val>
  393. </Values>
  394. </Bit>
  395. <Bit>
  396. <Name>IRHEN</Name>
  397. <Description>Internal reset holder enable bit</Description>
  398. <BitOffset>0x1D</BitOffset>
  399. <BitWidth>0x1</BitWidth>
  400. <Access>RW</Access>
  401. <Values>
  402. <Val value="0x0">Internal resets are propagated as simple pulse on NRST pin</Val>
  403. <Val value="0x1">Internal resets drives NRST pin low until it is seen as low level</Val>
  404. </Values>
  405. </Bit>
  406. </AssignedBits>
  407. </Field>
  408. </Category>
  409. <Category>
  410. <Name>PCROP Protection</Name>
  411. <Field>
  412. <Parameters address="0x40022024" name="FLASH_PCROP1SR" size="0x4"/>
  413. <AssignedBits>
  414. <Bit>
  415. <Name>PCROP1A_STRT</Name>
  416. <Description>Flash Area A PCROP start address</Description>
  417. <BitOffset>0x0</BitOffset>
  418. <BitWidth>0x9</BitWidth>
  419. <Access>RW</Access>
  420. <Equation multiplier="0x200" offset="0x08000000"/>
  421. </Bit>
  422. </AssignedBits>
  423. </Field>
  424. <Field>
  425. <Parameters address="0x40022028" name="FLASH_PCROP1ER" size="0x4"/>
  426. <AssignedBits>
  427. <Bit>
  428. <Name>PCROP1A_END</Name>
  429. <Description>Flash Area A PCROP End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  430. <BitOffset>0x0</BitOffset>
  431. <BitWidth>0x9</BitWidth>
  432. <Access>RW</Access>
  433. <Equation multiplier="0x200" offset="0x08000200"/>
  434. </Bit>
  435. <Bit>
  436. <Name>PCROP_RDP</Name>
  437. <Description/>
  438. <BitOffset>0x1F</BitOffset>
  439. <BitWidth>0x1</BitWidth>
  440. <Access>RW</Access>
  441. <Values>
  442. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  443. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  444. </Values>
  445. </Bit>
  446. </AssignedBits>
  447. </Field>
  448. <Field>
  449. <Parameters address="0x40022034" name="FLASH_PCROP1BSR" size="0x4"/>
  450. <AssignedBits>
  451. <Bit>
  452. <Name>PCROP1B_STRT</Name>
  453. <Description>Flash Area B PCROP start address</Description>
  454. <BitOffset>0x0</BitOffset>
  455. <BitWidth>0x9</BitWidth>
  456. <Access>RW</Access>
  457. <Equation multiplier="0x200" offset="0x08000000"/>
  458. </Bit>
  459. </AssignedBits>
  460. </Field>
  461. <Field>
  462. <Parameters address="0x40022038" name="FLASH_PCROP1BER" size="0x4"/>
  463. <AssignedBits>
  464. <Bit>
  465. <Name>PCROP1B_END</Name>
  466. <Description>Flash Area B PCROP End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  467. <BitOffset>0x0</BitOffset>
  468. <BitWidth>0x9</BitWidth>
  469. <Access>RW</Access>
  470. <Equation multiplier="0x200" offset="0x08000200"/>
  471. </Bit>
  472. </AssignedBits>
  473. </Field>
  474. <Field>
  475. <Parameters address="0x40022044" name="FLASH_PCROP2SR" size="0x4"/>
  476. <AssignedBits>
  477. <Bit>
  478. <Name>PCROP2A_STRT</Name>
  479. <Description>Flash Area A PCROP2 start address</Description>
  480. <BitOffset>0x0</BitOffset>
  481. <BitWidth>0x9</BitWidth>
  482. <Access>RW</Access>
  483. <Equation multiplier="0x200" offset="0x08000000"/>
  484. </Bit>
  485. </AssignedBits>
  486. </Field>
  487. <Field>
  488. <Parameters address="0x40022048" name="FLASH_PCROP1ER" size="0x4"/>
  489. <AssignedBits>
  490. <Bit>
  491. <Name>PCROP2A_END</Name>
  492. <Description>Flash Area A PCROP2 End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  493. <BitOffset>0x0</BitOffset>
  494. <BitWidth>0x9</BitWidth>
  495. <Access>RW</Access>
  496. <Equation multiplier="0x200" offset="0x08000200"/>
  497. </Bit>
  498. </AssignedBits>
  499. </Field>
  500. <Field>
  501. <Parameters address="0x40022054" name="FLASH_PCROP1BSR" size="0x4"/>
  502. <AssignedBits>
  503. <Bit>
  504. <Name>PCROP2B_STRT</Name>
  505. <Description>Flash Area B PCROP2 start address</Description>
  506. <BitOffset>0x0</BitOffset>
  507. <BitWidth>0x9</BitWidth>
  508. <Access>RW</Access>
  509. <Equation multiplier="0x200" offset="0x08000000"/>
  510. </Bit>
  511. </AssignedBits>
  512. </Field>
  513. <Field>
  514. <Parameters address="0x40022058" name="FLASH_PCROP1BER" size="0x4"/>
  515. <AssignedBits>
  516. <Bit>
  517. <Name>PCROP2B_END</Name>
  518. <Description>Flash Area B PCROP2 End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  519. <BitOffset>0x0</BitOffset>
  520. <BitWidth>0x9</BitWidth>
  521. <Access>RW</Access>
  522. <Equation multiplier="0x200" offset="0x08000200"/>
  523. </Bit>
  524. </AssignedBits>
  525. </Field>
  526. </Category>
  527. <Category>
  528. <Name>Write Protection</Name>
  529. <Field>
  530. <Parameters address="0x4002202C" name="FLASH_WRP1AR" size="0x4"/>
  531. <AssignedBits>
  532. <Bit>
  533. <Name>WRP1A_STRT</Name>
  534. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  535. <BitOffset>0x0</BitOffset>
  536. <BitWidth>0x7</BitWidth>
  537. <Access>RW</Access>
  538. <Equation multiplier="0x800" offset="0x08000000"/>
  539. </Bit>
  540. <Bit>
  541. <Name>WRP1A_END</Name>
  542. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  543. <BitOffset>0x10</BitOffset>
  544. <BitWidth>0x7</BitWidth>
  545. <Access>RW</Access>
  546. <Equation multiplier="0x800" offset="0x08000000"/>
  547. </Bit>
  548. </AssignedBits>
  549. </Field>
  550. <Field>
  551. <Parameters address="0x40022030" name="FLASH_WRP1BR" size="0x4"/>
  552. <AssignedBits>
  553. <Bit>
  554. <Name>WRP1B_STRT</Name>
  555. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  556. <BitOffset>0x0</BitOffset>
  557. <BitWidth>0x7</BitWidth>
  558. <Access>RW</Access>
  559. <Equation multiplier="0x800" offset="0x08000000"/>
  560. </Bit>
  561. <Bit>
  562. <Name>WRP1B_END</Name>
  563. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  564. <BitOffset>0x10</BitOffset>
  565. <BitWidth>0x7</BitWidth>
  566. <Access>RW</Access>
  567. <Equation multiplier="0x800" offset="0x08000000"/>
  568. </Bit>
  569. </AssignedBits>
  570. </Field>
  571. <Field>
  572. <Parameters address="0x4002204C" name="FLASH_WRP2AR" size="0x4"/>
  573. <AssignedBits>
  574. <Bit>
  575. <Name>WRP2A_STRT</Name>
  576. <Description>The address of the first page of the Bank 2 WRP first area</Description>
  577. <BitOffset>0x0</BitOffset>
  578. <BitWidth>0x7</BitWidth>
  579. <Access>RW</Access>
  580. <Equation multiplier="0x800" offset="0x08000000"/>
  581. </Bit>
  582. <Bit>
  583. <Name>WRP2A_END</Name>
  584. <Description>The address of the last page of the Bank 2 WRP first area</Description>
  585. <BitOffset>0x10</BitOffset>
  586. <BitWidth>0x7</BitWidth>
  587. <Access>RW</Access>
  588. <Equation multiplier="0x800" offset="0x08000000"/>
  589. </Bit>
  590. </AssignedBits>
  591. </Field>
  592. <Field>
  593. <Parameters address="0x40022050" name="FLASH_WRP2BR" size="0x4"/>
  594. <AssignedBits>
  595. <Bit>
  596. <Name>WRP2B_STRT</Name>
  597. <Description>The address of the first page of the Bank 2 WRP second area</Description>
  598. <BitOffset>0x0</BitOffset>
  599. <BitWidth>0x7</BitWidth>
  600. <Access>RW</Access>
  601. <Equation multiplier="0x800" offset="0x08000000"/>
  602. </Bit>
  603. <Bit>
  604. <Name>WRP2B_END</Name>
  605. <Description>The address of the last page of the Bank 2 WRP second area</Description>
  606. <BitOffset>0x10</BitOffset>
  607. <BitWidth>0x7</BitWidth>
  608. <Access>RW</Access>
  609. <Equation multiplier="0x800" offset="0x08000000"/>
  610. </Bit>
  611. </AssignedBits>
  612. </Field>
  613. </Category>
  614. </Bank>
  615. <Bank interface="JTAG_SWD">
  616. <Parameters address="0x40022080" name="Bank 2" size="0x10"/>
  617. <Category>
  618. <Name>FLASH security</Name>
  619. <Field>
  620. <Parameters address="0x40022080" name="FLASH_SECR" size="0x4"/>
  621. <AssignedBits>
  622. <Bit>
  623. <Name>BOOT_LOCK</Name>
  624. <Description>used to force boot from user area</Description>
  625. <BitOffset>0x10</BitOffset>
  626. <BitWidth>0x1</BitWidth>
  627. <Access>RW</Access>
  628. <Values>
  629. <Val value="0x0">Boot based on the pad/option bit configuration</Val>
  630. <Val value="0x1">Boot forced from Main Flash memory</Val>
  631. </Values>
  632. </Bit>
  633. <Bit>
  634. <Name>SEC_SIZE</Name>
  635. <Description>Securable memory for Bank 1 </Description>
  636. <BitOffset>0x0</BitOffset>
  637. <BitWidth>0x8</BitWidth>
  638. <Access>RW</Access>
  639. </Bit>
  640. <Bit>
  641. <Name>SEC_SIZE2</Name>
  642. <Description>Securable memory for Bank 2 On Dual Bank device,otherwise reserved </Description>
  643. <BitOffset>0x14</BitOffset>
  644. <BitWidth>0x8</BitWidth>
  645. <Access>RW</Access>
  646. </Bit>
  647. </AssignedBits>
  648. </Field>
  649. </Category>
  650. </Bank>
  651. <Bank interface="Bootloader">
  652. <Parameters address="0x1FFF7800" name="Bank 1" size="0x44"/>
  653. <Category>
  654. <Name>Read Out Protection</Name>
  655. <Field>
  656. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  657. <AssignedBits>
  658. <Bit>
  659. <Name>RDP</Name>
  660. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  661. <BitOffset>0x0</BitOffset>
  662. <BitWidth>0x8</BitWidth>
  663. <Access>RW</Access>
  664. <Values>
  665. <Val value="0xAA">Level 0, no protection</Val>
  666. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  667. <Val value="0xCC">Level 2, chip protection</Val>
  668. </Values>
  669. </Bit>
  670. </AssignedBits>
  671. </Field>
  672. </Category>
  673. <Category>
  674. <Name>BOR Level</Name>
  675. <Field>
  676. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  677. <AssignedBits>
  678. <Bit>
  679. <Name>BOR_EN</Name>
  680. <Description/>
  681. <BitOffset>0x8</BitOffset>
  682. <BitWidth>0x1</BitWidth>
  683. <Access>RW</Access>
  684. <Values>
  685. <Val value="0x0">Configurable brown out reset disabled, power-on reset defined by POR/PDR levels</Val>
  686. <Val value="0x1">Configurable brown out reset enabled, values of BORR_LEV and BORF_LEV taken into account</Val>
  687. </Values>
  688. </Bit>
  689. <Bit>
  690. <Name>BORF_LEV</Name>
  691. <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>
  692. <BitOffset>0x9</BitOffset>
  693. <BitWidth>0x2</BitWidth>
  694. <Access>RW</Access>
  695. <Values>
  696. <Val value="0x0">BOR falling level 1 with threshold around 2.0 V</Val>
  697. <Val value="0x1">BOR falling level 2 with threshold around 2.2 V</Val>
  698. <Val value="0x2">BOR falling level 3 with threshold around 2.5 V</Val>
  699. <Val value="0x3">BOR falling level 4 with threshold around 2.8 V</Val>
  700. </Values>
  701. </Bit>
  702. <Bit>
  703. <Name>BORR_LEV</Name>
  704. <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>
  705. <BitOffset>0xB</BitOffset>
  706. <BitWidth>0x2</BitWidth>
  707. <Access>RW</Access>
  708. <Values>
  709. <Val value="0x0">BOR rising level 1 with threshold around 2.1 V</Val>
  710. <Val value="0x1">BOR rising level 2 with threshold around 2.3 V</Val>
  711. <Val value="0x2">BOR rising level 3 with threshold around 2.6 V</Val>
  712. <Val value="0x3">BOR rising level 4 with threshold around 2.9 V</Val>
  713. </Values>
  714. </Bit>
  715. </AssignedBits>
  716. </Field>
  717. </Category>
  718. <Category>
  719. <Name>User Configuration</Name>
  720. <Field>
  721. <Parameters address="0x1FFF7800" name="FLASH_OPTR" size="0x4"/>
  722. <AssignedBits>
  723. <Bit>
  724. <Name>nRST_STOP</Name>
  725. <Description/>
  726. <BitOffset>0xD</BitOffset>
  727. <BitWidth>0x1</BitWidth>
  728. <Access>RW</Access>
  729. <Values>
  730. <Val value="0x0">Reset generated when entering Stop mode</Val>
  731. <Val value="0x1">No reset generated when entering Stop mode</Val>
  732. </Values>
  733. </Bit>
  734. <Bit>
  735. <Name>nRST_STDBY</Name>
  736. <Description/>
  737. <BitOffset>0xE</BitOffset>
  738. <BitWidth>0x1</BitWidth>
  739. <Access>RW</Access>
  740. <Values>
  741. <Val value="0x0">Reset generated when entering Standby mode</Val>
  742. <Val value="0x1">No reset generated when entering Standby mode</Val>
  743. </Values>
  744. </Bit>
  745. <Bit>
  746. <Name>nRST_SHDW</Name>
  747. <Description/>
  748. <BitOffset>0xF</BitOffset>
  749. <BitWidth>0x1</BitWidth>
  750. <Access>RW</Access>
  751. <Values>
  752. <Val value="0x0">Reset generated when entering the Shutdown mode</Val>
  753. <Val value="0x1">No reset generated when entering the Shutdown mode</Val>
  754. </Values>
  755. </Bit>
  756. <Bit>
  757. <Name>IWDG_SW</Name>
  758. <Description/>
  759. <BitOffset>0x10</BitOffset>
  760. <BitWidth>0x1</BitWidth>
  761. <Access>RW</Access>
  762. <Values>
  763. <Val value="0x0">Hardware independant watchdog</Val>
  764. <Val value="0x1">Software independant watchdog</Val>
  765. </Values>
  766. </Bit>
  767. <Bit>
  768. <Name>IWDG_STOP</Name>
  769. <Description/>
  770. <BitOffset>0x11</BitOffset>
  771. <BitWidth>0x1</BitWidth>
  772. <Access>RW</Access>
  773. <Values>
  774. <Val value="0x0">Freeze IWDG counter in stop mode</Val>
  775. <Val value="0x1">IWDG counter active in stop mode</Val>
  776. </Values>
  777. </Bit>
  778. <Bit>
  779. <Name>IWDG_STDBY</Name>
  780. <Description/>
  781. <BitOffset>0x12</BitOffset>
  782. <BitWidth>0x1</BitWidth>
  783. <Access>RW</Access>
  784. <Values>
  785. <Val value="0x0">Freeze IWDG counter in standby mode</Val>
  786. <Val value="0x1">IWDG counter active in standby mode</Val>
  787. </Values>
  788. </Bit>
  789. <Bit>
  790. <Name>WWDG_SW</Name>
  791. <Description/>
  792. <BitOffset>0x13</BitOffset>
  793. <BitWidth>0x1</BitWidth>
  794. <Access>RW</Access>
  795. <Values>
  796. <Val value="0x0">Hardware window watchdog</Val>
  797. <Val value="0x1">Software window watchdog</Val>
  798. </Values>
  799. </Bit>
  800. <Bit>
  801. <Name>nSWAP_BANK</Name>
  802. <Description/>
  803. <BitOffset>0x14</BitOffset>
  804. <BitWidth>0x1</BitWidth>
  805. <Access>RW</Access>
  806. <Values>
  807. <Val value="0x0">Bank 1</Val>
  808. <Val value="0x1">Bank 2</Val>
  809. </Values>
  810. </Bit>
  811. <Bit>
  812. <Name>DUAL_BANK</Name>
  813. <Description/>
  814. <BitOffset>0x15</BitOffset>
  815. <BitWidth>0x1</BitWidth>
  816. <Access>RW</Access>
  817. <Values>
  818. <Val value="0x0">256 Kbytes/512 Kbytes single-bank Flash memory(contiguous addresses in Bank 1)</Val>
  819. <Val value="0x1">256 Kbytes/512 Kbytes dual-bank Flash memory</Val>
  820. </Values>
  821. </Bit>
  822. <Bit>
  823. <Name>RAM_PARITY_CHECK</Name>
  824. <Description/>
  825. <BitOffset>0x16</BitOffset>
  826. <BitWidth>0x1</BitWidth>
  827. <Access>RW</Access>
  828. <Values>
  829. <Val value="0x0">SRAM parity check enable</Val>
  830. <Val value="0x1">SRAM parity check disable</Val>
  831. </Values>
  832. </Bit>
  833. <Bit>
  834. <Name>nBOOT_SEL</Name>
  835. <Description/>
  836. <BitOffset>0x18</BitOffset>
  837. <BitWidth>0x1</BitWidth>
  838. <Access>RW</Access>
  839. <Values>
  840. <Val value="0x0">BOOT0 signal is defined by BOOT0 pin value (legacy mode)</Val>
  841. <Val value="0x1">BOOT0 signal is defined by nBOOT0 option bit</Val>
  842. </Values>
  843. </Bit>
  844. <Bit>
  845. <Name>nBOOT1</Name>
  846. <Description/>
  847. <BitOffset>0x19</BitOffset>
  848. <BitWidth>0x1</BitWidth>
  849. <Access>RW</Access>
  850. <Values>
  851. <Val value="0x0">Boot from Flash if BOOT0 = 0, otherwise Embedded SRAM1</Val>
  852. <Val value="0x1">Boot from Flash if BOOT0 = 0, otherwise system memory</Val>
  853. </Values>
  854. </Bit>
  855. <Bit>
  856. <Name>nBOOT0</Name>
  857. <Description/>
  858. <BitOffset>0x1A</BitOffset>
  859. <BitWidth>0x1</BitWidth>
  860. <Access>RW</Access>
  861. <Values>
  862. <Val value="0x0">nBOOT0=0</Val>
  863. <Val value="0x1">nBOOT0=1</Val>
  864. </Values>
  865. </Bit>
  866. <Bit>
  867. <Name>NRST_MODE</Name>
  868. <Description/>
  869. <BitOffset>0x1B</BitOffset>
  870. <BitWidth>0x2</BitWidth>
  871. <Access>RW</Access>
  872. <Values>
  873. <Val value="0x0">Reserved</Val>
  874. <Val value="0x1">Reset Input only: a low level on the NRST pin generates system reset, internal RESET not propagated to the NSRT pin</Val>
  875. <Val value="0x2">GPIO: standard GPIO pad functionality, only internal RESET possible</Val>
  876. <Val value="0x3">Bidirectional reset: NRST pin configured in reset input/output mode (legacy mode)</Val>
  877. </Values>
  878. </Bit>
  879. <Bit>
  880. <Name>IRHEN</Name>
  881. <Description>Internal reset holder enable bit</Description>
  882. <BitOffset>0x1D</BitOffset>
  883. <BitWidth>0x1</BitWidth>
  884. <Access>RW</Access>
  885. <Values>
  886. <Val value="0x0">Internal resets are propagated as simple pulse on NRST pin</Val>
  887. <Val value="0x1">Internal resets drives NRST pin low until it is seen as low level</Val>
  888. </Values>
  889. </Bit>
  890. </AssignedBits>
  891. </Field>
  892. </Category>
  893. <Category>
  894. <Name>PCROP Protection</Name>
  895. <Field>
  896. <Parameters address="0x1FFF7808" name="FLASH_PCROP1SR" size="0x4"/>
  897. <AssignedBits>
  898. <Bit>
  899. <Name>PCROP1A_STRT</Name>
  900. <Description>Flash Area A PCROP start address</Description>
  901. <BitOffset>0x0</BitOffset>
  902. <BitWidth>0x9</BitWidth>
  903. <Access>RW</Access>
  904. <Equation multiplier="0x200" offset="0x08000000"/>
  905. </Bit>
  906. </AssignedBits>
  907. </Field>
  908. <Field>
  909. <Parameters address="0x1FFF7810" name="FLASH_PCROP1ER" size="0x4"/>
  910. <AssignedBits>
  911. <Bit>
  912. <Name>PCROP1A_END</Name>
  913. <Description>Flash Area A PCROP End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  914. <BitOffset>0x0</BitOffset>
  915. <BitWidth>0x9</BitWidth>
  916. <Access>RW</Access>
  917. <Equation multiplier="0x200" offset="0x08000200"/>
  918. </Bit>
  919. <Bit>
  920. <Name>PCROP_RDP</Name>
  921. <Description/>
  922. <BitOffset>0x1F</BitOffset>
  923. <BitWidth>0x1</BitWidth>
  924. <Access>RW</Access>
  925. <Values>
  926. <Val value="0x0">PCROP zone is kept when RDP is decreased</Val>
  927. <Val value="0x1">PCROP zone is erased when RDP is decreased</Val>
  928. </Values>
  929. </Bit>
  930. </AssignedBits>
  931. </Field>
  932. <Field>
  933. <Parameters name="PCROP1BSR" size="0x4" address="0x1FFF7828"/>
  934. <AssignedBits>
  935. <Bit>
  936. <Name>PCROP1B_STRT</Name>
  937. <Description>Flash Bank 2 PCROP start address</Description>
  938. <BitOffset>0x0</BitOffset>
  939. <BitWidth>0x9</BitWidth>
  940. <Access>RW</Access>
  941. <Equation multiplier="0x8" offset="0x08000000"/>
  942. </Bit>
  943. </AssignedBits>
  944. </Field>
  945. <Field>
  946. <Parameters name="PCROP1BER" size="0x4" address="0x1FFF7830"/>
  947. <AssignedBits>
  948. <Bit>
  949. <Name>PCROP1B_END</Name>
  950. <Description>Flash Bank 2 PCROP End address. Deactivation of PCROP can be done by enbaling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  951. <BitOffset>0x0</BitOffset>
  952. <BitWidth>0x9</BitWidth>
  953. <Access>RW</Access>
  954. <Equation multiplier="0x8" offset="0x08000008"/>
  955. </Bit>
  956. </AssignedBits>
  957. </Field>
  958. <Field>
  959. <Parameters address="0x1FFF7838" name="FLASH_PCROP2SR" size="0x4"/>
  960. <AssignedBits>
  961. <Bit>
  962. <Name>PCROP2A_STRT</Name>
  963. <Description>Flash Area A PCROP2 start address</Description>
  964. <BitOffset>0x0</BitOffset>
  965. <BitWidth>0x9</BitWidth>
  966. <Access>RW</Access>
  967. <Equation multiplier="0x200" offset="0x08000000"/>
  968. </Bit>
  969. </AssignedBits>
  970. </Field>
  971. <Field>
  972. <Parameters address="0x1FFF7840" name="FLASH_PCROP1ER" size="0x4"/>
  973. <AssignedBits>
  974. <Bit>
  975. <Name>PCROP2A_END</Name>
  976. <Description>Flash Area A PCROP2 End address(excluded). Deactivation of PCROP can be done by enabling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  977. <BitOffset>0x0</BitOffset>
  978. <BitWidth>0x9</BitWidth>
  979. <Access>RW</Access>
  980. <Equation multiplier="0x200" offset="0x08000200"/>
  981. </Bit>
  982. </AssignedBits>
  983. </Field>
  984. <Field>
  985. <Parameters name="PCROP2BSR" size="0x4" address="0x1FFF7858"/>
  986. <AssignedBits>
  987. <Bit>
  988. <Name>PCROP2B_STRT</Name>
  989. <Description>Flash Bank 2 PCROP2 start address</Description>
  990. <BitOffset>0x0</BitOffset>
  991. <BitWidth>0x9</BitWidth>
  992. <Access>RW</Access>
  993. <Equation multiplier="0x8" offset="0x08000000"/>
  994. </Bit>
  995. </AssignedBits>
  996. </Field>
  997. <Field>
  998. <Parameters name="PCROP2BER" size="0x4" address="0x1FFF7860"/>
  999. <AssignedBits>
  1000. <Bit>
  1001. <Name>PCROP2B_END</Name>
  1002. <Description>Flash Bank 2 PCROP2 End address. Deactivation of PCROP can be done by enbaling PCROP_RDP and changing RDP from level 1 to level 0</Description>
  1003. <BitOffset>0x0</BitOffset>
  1004. <BitWidth>0x9</BitWidth>
  1005. <Access>RW</Access>
  1006. <Equation multiplier="0x8" offset="0x08000008"/>
  1007. </Bit>
  1008. </AssignedBits>
  1009. </Field>
  1010. </Category>
  1011. <Category>
  1012. <Name>Write Protection</Name>
  1013. <Field>
  1014. <Parameters address="0x1FFF7818" name="FLASH_WRP1AR" size="0x4"/>
  1015. <AssignedBits>
  1016. <Bit>
  1017. <Name>WRP1A_STRT</Name>
  1018. <Description>The address of the first page of the Bank 1 WRP first area</Description>
  1019. <BitOffset>0x0</BitOffset>
  1020. <BitWidth>0x7</BitWidth>
  1021. <Access>RW</Access>
  1022. <Equation multiplier="0x800" offset="0x08000000"/>
  1023. </Bit>
  1024. <Bit>
  1025. <Name>WRP1A_END</Name>
  1026. <Description>The address of the last page of the Bank 1 WRP first area</Description>
  1027. <BitOffset>0x10</BitOffset>
  1028. <BitWidth>0x7</BitWidth>
  1029. <Access>RW</Access>
  1030. <Equation multiplier="0x800" offset="0x08000000"/>
  1031. </Bit>
  1032. </AssignedBits>
  1033. </Field>
  1034. <Field>
  1035. <Parameters address="0x1FFF7820" name="FLASH_WRP1BR" size="0x4"/>
  1036. <AssignedBits>
  1037. <Bit>
  1038. <Name>WRP1B_STRT</Name>
  1039. <Description>The address of the first page of the Bank 1 WRP second area</Description>
  1040. <BitOffset>0x0</BitOffset>
  1041. <BitWidth>0x7</BitWidth>
  1042. <Access>RW</Access>
  1043. <Equation multiplier="0x800" offset="0x08000000"/>
  1044. </Bit>
  1045. <Bit>
  1046. <Name>WRP1B_END</Name>
  1047. <Description>The address of the last page of the Bank 1 WRP second area</Description>
  1048. <BitOffset>0x10</BitOffset>
  1049. <BitWidth>0x7</BitWidth>
  1050. <Access>RW</Access>
  1051. <Equation multiplier="0x800" offset="0x08000000"/>
  1052. </Bit>
  1053. </AssignedBits>
  1054. </Field>
  1055. <Field>
  1056. <Parameters address="0x1FFF7848" name="FLASH_WRP2AR" size="0x4"/>
  1057. <AssignedBits>
  1058. <Bit>
  1059. <Name>WRP2A_STRT</Name>
  1060. <Description>The address of the first page of the Bank 2 WRP first area</Description>
  1061. <BitOffset>0x0</BitOffset>
  1062. <BitWidth>0x7</BitWidth>
  1063. <Access>RW</Access>
  1064. <Equation multiplier="0x800" offset="0x08000000"/>
  1065. </Bit>
  1066. <Bit>
  1067. <Name>WRP2A_END</Name>
  1068. <Description>The address of the last page of the Bank 2 WRP first area</Description>
  1069. <BitOffset>0x10</BitOffset>
  1070. <BitWidth>0x7</BitWidth>
  1071. <Access>RW</Access>
  1072. <Equation multiplier="0x800" offset="0x08000000"/>
  1073. </Bit>
  1074. </AssignedBits>
  1075. </Field>
  1076. <Field>
  1077. <Parameters address="0x1FFF7850" name="FLASH_WRP1BR" size="0x4"/>
  1078. <AssignedBits>
  1079. <Bit>
  1080. <Name>WRP2B_STRT</Name>
  1081. <Description>The address of the first page of the Bank 2 WRP second area</Description>
  1082. <BitOffset>0x0</BitOffset>
  1083. <BitWidth>0x7</BitWidth>
  1084. <Access>RW</Access>
  1085. <Equation multiplier="0x800" offset="0x08000000"/>
  1086. </Bit>
  1087. <Bit>
  1088. <Name>WRP2B_END</Name>
  1089. <Description>The address of the last page of the Bank 2 WRP second area</Description>
  1090. <BitOffset>0x10</BitOffset>
  1091. <BitWidth>0x7</BitWidth>
  1092. <Access>RW</Access>
  1093. <Equation multiplier="0x800" offset="0x08000000"/>
  1094. </Bit>
  1095. </AssignedBits>
  1096. </Field>
  1097. </Category>
  1098. </Bank>
  1099. <Bank interface="Bootloader">
  1100. <Parameters address="0x1FFF7870" name="Bank 2" size="0x4"/>
  1101. <Category>
  1102. <Name>FLASH security</Name>
  1103. <Field>
  1104. <Parameters address="0x1FFF7870" name="FLASH_SECR" size="0x4"/>
  1105. <AssignedBits>
  1106. <Bit>
  1107. <Name>BOOT_LOCK</Name>
  1108. <Description>used to force boot from user area</Description>
  1109. <BitOffset>0x10</BitOffset>
  1110. <BitWidth>0x1</BitWidth>
  1111. <Access>RW</Access>
  1112. <Values>
  1113. <Val value="0x0">Boot based on the pad/option bit configuration</Val>
  1114. <Val value="0x1">Boot forced from Main Flash memory</Val>
  1115. </Values>
  1116. </Bit>
  1117. <Bit>
  1118. <Name>SEC_SIZE</Name>
  1119. <Description>Securable memory for Bank 1 </Description>
  1120. <BitOffset>0x0</BitOffset>
  1121. <BitWidth>0x8</BitWidth>
  1122. <Access>RW</Access>
  1123. </Bit>
  1124. <Bit>
  1125. <Name>SEC_SIZE2</Name>
  1126. <Description>Securable memory for Bank 2 On Dual Bank device,otherwise reserved </Description>
  1127. <BitOffset>0x14</BitOffset>
  1128. <BitWidth>0x8</BitWidth>
  1129. <Access>RW</Access>
  1130. </Bit>
  1131. </AssignedBits>
  1132. </Field>
  1133. </Category>
  1134. </Bank>
  1135. </Peripheral>
  1136. </Peripherals>
  1137. </Device>
  1138. </Root>