STM32_Prog_DB_0x469.xml 44 KB

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