STM32_Prog_DB_0x418.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  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>0x418</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M3</CPU>
  8. <Name>STM32F105/F107 Connectivity Line</Name>
  9. <Series>STM32F1</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. <Configuration>
  27. <Parameters address="0x20000000" name="SRAM" size="0x10000"/>
  28. <Description/>
  29. <Organization>Single</Organization>
  30. <Bank name="Bank 1">
  31. <Field>
  32. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x10000"/>
  33. </Field>
  34. </Bank>
  35. </Configuration>
  36. </Peripheral>
  37. <!-- Embedded Flash -->
  38. <Peripheral>
  39. <Name>Embedded Flash</Name>
  40. <Type>Storage</Type>
  41. <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>
  42. <ErasedValue>0xFF</ErasedValue>
  43. <Access>RWE</Access>
  44. <FlashSize address="0x1FFFF7E0" default="0x40000"/>
  45. <!-- 512KB single Bank -->
  46. <Configuration>
  47. <Parameters address="0x08000000" name=" 256 Kbytes Embedded Flash" size="0x40000"/>
  48. <Description/>
  49. <Organization>Single</Organization>
  50. <Allignement>0x4</Allignement>
  51. <Bank name="Bank 1">
  52. <Field>
  53. <Parameters address="0x08000000" name="sector0" occurence="0x80" size="0x800"/>
  54. </Field>
  55. </Bank>
  56. </Configuration>
  57. </Peripheral>
  58. <!-- Mirror Option Bytes -->
  59. <Peripheral>
  60. <Name>MirrorOptionBytes</Name>
  61. <Type>Storage</Type>
  62. <Description>Mirror Option Bytes contains the extra area.</Description>
  63. <ErasedValue>0xFF</ErasedValue>
  64. <Access>RW</Access>
  65. <!-- 16 Bytes single bank -->
  66. <Configuration>
  67. <Parameters address="0x1FFFF800" name=" 16 Bytes Data MirrorOptionBytes" size="0x10"/>
  68. <Description/>
  69. <Organization>Single</Organization>
  70. <Allignement>0x4</Allignement>
  71. <Bank name="MirrorOptionBytes">
  72. <Field>
  73. <Parameters address="0x1FFFF800" name="MirrorOptionBytes" occurence="0x1" size="0x10"/>
  74. </Field>
  75. </Bank>
  76. </Configuration>
  77. </Peripheral>
  78. <!-- Option Bytes -->
  79. <Peripheral>
  80. <Name>Option Bytes</Name>
  81. <Type>Configuration</Type>
  82. <Description/>
  83. <Access>RW</Access>
  84. <Bank interface="JTAG_SWD">
  85. <Parameters address="0x4002201C" name="Bank 1" size="0x8"/>
  86. <Category>
  87. <Name>Read Out Protection</Name>
  88. <Field>
  89. <Parameters address="0x4002201C" name="FLASH_OBR" size="0x4"/>
  90. <AssignedBits>
  91. <Bit>
  92. <Name>RDP</Name>
  93. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  94. <BitOffset>0x1</BitOffset>
  95. <BitWidth>0x1</BitWidth>
  96. <Access>R</Access>
  97. <Values>
  98. <Val value="0">Flash memory is not read-protected.</Val>
  99. <Val value="1">Flash memory is read-protected.</Val>
  100. </Values>
  101. </Bit>
  102. </AssignedBits>
  103. </Field>
  104. </Category>
  105. <Category>
  106. <Name>User Configuration</Name>
  107. <Field>
  108. <Parameters address="0x4002201C" name="USR_RDP" size="0x4"/>
  109. <AssignedBits>
  110. <Bit>
  111. <Name>WDG_SW</Name>
  112. <Description/>
  113. <BitOffset>0x2</BitOffset>
  114. <BitWidth>0x1</BitWidth>
  115. <Access>R</Access>
  116. <Values>
  117. <Val value="0x0">Hardware watchdog</Val>
  118. <Val value="0x1">Software watchdog</Val>
  119. </Values>
  120. </Bit>
  121. <Bit>
  122. <Name>nRST_STOP</Name>
  123. <Description/>
  124. <BitOffset>0x3</BitOffset>
  125. <BitWidth>0x1</BitWidth>
  126. <Access>R</Access>
  127. <Values>
  128. <Val value="0x0">Reset generated when entering Stop mode</Val>
  129. <Val value="0x1">No reset generated</Val>
  130. </Values>
  131. </Bit>
  132. <Bit>
  133. <Name>nRST_STDBY</Name>
  134. <Description/>
  135. <BitOffset>0x4</BitOffset>
  136. <BitWidth>0x1</BitWidth>
  137. <Access>R</Access>
  138. <Values>
  139. <Val value="0x0">Reset generated when entering Standby mode</Val>
  140. <Val value="0x1">No reset generated</Val>
  141. </Values>
  142. </Bit>
  143. </AssignedBits>
  144. </Field>
  145. </Category>
  146. <Category>
  147. <Name>User Data</Name>
  148. <Field>
  149. <Parameters address="0x4002201C" name="USR_DATA" size="0x4"/>
  150. <AssignedBits>
  151. <Bit>
  152. <Name>Data0</Name>
  153. <Description>User data 0 (8-bit)</Description>
  154. <BitOffset>0xA</BitOffset>
  155. <BitWidth>0x8</BitWidth>
  156. <Access>R</Access>
  157. </Bit>
  158. <Bit>
  159. <Name>Data1</Name>
  160. <Description>User data 1 (8-bit)</Description>
  161. <BitOffset>0x12</BitOffset>
  162. <BitWidth>0x8</BitWidth>
  163. <Access>R</Access>
  164. </Bit>
  165. </AssignedBits>
  166. </Field>
  167. </Category>
  168. <Category>
  169. <Name>Write Protection</Name>
  170. <Field>
  171. <Parameters address="0x40022020" name="WRP_0_1" size="0x4"/>
  172. <AssignedBits>
  173. <Bit>
  174. <Name>WRP0</Name>
  175. <!--<Description>One bit of the user option bytes WRPx is used to protect 2 pages of 2 Kbytes in the main memory block. However, bit 7 of WRP3 write protects pages 62 to 511.</Description>-->
  176. <BitOffset>0x0</BitOffset>
  177. <BitWidth>0x20</BitWidth>
  178. <Access>R</Access>
  179. <Values ByBit="true">
  180. <Val value="0x0">Write protection active on this sector</Val>
  181. <Val value="0x1">Write protection not active on this sector</Val>
  182. </Values>
  183. </Bit>
  184. </AssignedBits>
  185. </Field>
  186. </Category>
  187. </Bank>
  188. <Bank interface="JTAG_SWD">
  189. <Parameters address="0x1FFFF800" name="Bank 2" size="0x10"/>
  190. <Category>
  191. <Name>Read Out Protection</Name>
  192. <Field>
  193. <Parameters address="0x1FFFF800" name="USR_RDP" size="0x4"/>
  194. <AssignedBits>
  195. <Bit>
  196. <Name>RDP</Name>
  197. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  198. <BitOffset>0x0</BitOffset>
  199. <BitWidth>0x8</BitWidth>
  200. <Access>W</Access>
  201. <Values>
  202. <Val value="0xA5">Level 0, no protection</Val>
  203. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  204. </Values>
  205. </Bit>
  206. </AssignedBits>
  207. </Field>
  208. </Category>
  209. <Category>
  210. <Name>User Configuration</Name>
  211. <Field>
  212. <Parameters address="0x1FFFF800" name="USR_RDP" size="0x4"/>
  213. <AssignedBits>
  214. <Bit>
  215. <Name>WDG_SW</Name>
  216. <Description/>
  217. <BitOffset>0x10</BitOffset>
  218. <BitWidth>0x1</BitWidth>
  219. <Access>W</Access>
  220. <Values>
  221. <Val value="0x0">Hardware watchdog</Val>
  222. <Val value="0x1">Software watchdog</Val>
  223. </Values>
  224. </Bit>
  225. <Bit>
  226. <Name>nRST_STOP</Name>
  227. <Description/>
  228. <BitOffset>0x11</BitOffset>
  229. <BitWidth>0x1</BitWidth>
  230. <Access>W</Access>
  231. <Values>
  232. <Val value="0x0">Reset generated when entering Stop mode</Val>
  233. <Val value="0x1">No reset generated</Val>
  234. </Values>
  235. </Bit>
  236. <Bit>
  237. <Name>nRST_STDBY</Name>
  238. <Description/>
  239. <BitOffset>0x12</BitOffset>
  240. <BitWidth>0x1</BitWidth>
  241. <Access>W</Access>
  242. <Values>
  243. <Val value="0x0">Reset generated when entering Standby mode</Val>
  244. <Val value="0x1">No reset generated</Val>
  245. </Values>
  246. </Bit>
  247. </AssignedBits>
  248. </Field>
  249. </Category>
  250. <Category>
  251. <Name>User Data</Name>
  252. <Field>
  253. <Parameters address="0x1FFFF804" name="USR_DATA" size="0x4"/>
  254. <AssignedBits>
  255. <Bit>
  256. <Name>Data0</Name>
  257. <Description>User data 0 (8-bit)</Description>
  258. <BitOffset>0x0</BitOffset>
  259. <BitWidth>0x8</BitWidth>
  260. <Access>W</Access>
  261. </Bit>
  262. <Bit>
  263. <Name>Data1</Name>
  264. <Description>User data 1 (8-bit)</Description>
  265. <BitOffset>0x10</BitOffset>
  266. <BitWidth>0x8</BitWidth>
  267. <Access>W</Access>
  268. </Bit>
  269. </AssignedBits>
  270. </Field>
  271. </Category>
  272. <Category>
  273. <Name>Write Protection</Name>
  274. <Field>
  275. <Parameters address="0x1FFFF808" name="WRP_0_1" size="0x4"/>
  276. <AssignedBits>
  277. <Bit>
  278. <Name>WRP0</Name>
  279. <!--<Description>One bit of the user option bytes WRPx is used to protect 2 pages of 2 Kbytes in the main memory block. However, bit 7 of WRP3 write protects pages 62 to 511.</Description>-->
  280. <BitOffset>0x0</BitOffset>
  281. <BitWidth>0x8</BitWidth>
  282. <Access>W</Access>
  283. <Values ByBit="true">
  284. <Val value="0x0">Write protection active on this sector</Val>
  285. <Val value="0x1">Write protection not active on this sector</Val>
  286. </Values>
  287. </Bit>
  288. <Bit>
  289. <Name>WRP8</Name>
  290. <Description/>
  291. <BitOffset>0x10</BitOffset>
  292. <BitWidth>0x8</BitWidth>
  293. <Access>W</Access>
  294. <Values ByBit="true">
  295. <Val value="0x0">Write protection active on this sector</Val>
  296. <Val value="0x1">Write protection not active on this sector</Val>
  297. </Values>
  298. </Bit>
  299. </AssignedBits>
  300. </Field>
  301. <Field>
  302. <Parameters address="0x1FFFF80C" name="WRP_2_3" size="0x4"/>
  303. <AssignedBits>
  304. <Bit>
  305. <Name>WRP16</Name>
  306. <Description/>
  307. <BitOffset>0x0</BitOffset>
  308. <BitWidth>0x8</BitWidth>
  309. <Access>W</Access>
  310. <Values ByBit="true">
  311. <Val value="0x0">Write protection active on this sector</Val>
  312. <Val value="0x1">Write protection not active on this sector</Val>
  313. </Values>
  314. </Bit>
  315. <Bit>
  316. <Name>WRP24</Name>
  317. <Description/>
  318. <BitOffset>0x10</BitOffset>
  319. <BitWidth>0x8</BitWidth>
  320. <Access>W</Access>
  321. <Values ByBit="true">
  322. <Val value="0x0">Write protection active on this sector</Val>
  323. <Val value="0x1">Write protection not active on this sector</Val>
  324. </Values>
  325. </Bit>
  326. </AssignedBits>
  327. </Field>
  328. </Category>
  329. </Bank>
  330. <Bank interface="Bootloader">
  331. <Parameters address="0x1FFFF800" name="Bank 1" size="0x10"/>
  332. <Category>
  333. <Name>Read Out Protection</Name>
  334. <Field>
  335. <Parameters address="0x1FFFF800" name="USR_RDP" size="0x4"/>
  336. <AssignedBits>
  337. <Bit>
  338. <Name>RDP</Name>
  339. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  340. <BitOffset>0x0</BitOffset>
  341. <BitWidth>0x8</BitWidth>
  342. <Access>RW</Access>
  343. <Values>
  344. <Val value="0xA5">Level 0, no protection</Val>
  345. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  346. </Values>
  347. </Bit>
  348. </AssignedBits>
  349. </Field>
  350. </Category>
  351. <Category>
  352. <Name>User Configuration</Name>
  353. <Field>
  354. <Parameters address="0x1FFFF800" name="USR_RDP" size="0x4"/>
  355. <AssignedBits>
  356. <Bit>
  357. <Name>WDG_SW</Name>
  358. <Description/>
  359. <BitOffset>0x10</BitOffset>
  360. <BitWidth>0x1</BitWidth>
  361. <Access>RW</Access>
  362. <Values>
  363. <Val value="0x0">Hardware watchdog</Val>
  364. <Val value="0x1">Software watchdog</Val>
  365. </Values>
  366. </Bit>
  367. <Bit>
  368. <Name>nRST_STOP</Name>
  369. <Description/>
  370. <BitOffset>0x11</BitOffset>
  371. <BitWidth>0x1</BitWidth>
  372. <Access>RW</Access>
  373. <Values>
  374. <Val value="0x0">Reset generated when entering Stop mode</Val>
  375. <Val value="0x1">No reset generated</Val>
  376. </Values>
  377. </Bit>
  378. <Bit>
  379. <Name>nRST_STDBY</Name>
  380. <Description/>
  381. <BitOffset>0x12</BitOffset>
  382. <BitWidth>0x1</BitWidth>
  383. <Access>RW</Access>
  384. <Values>
  385. <Val value="0x0">Reset generated when entering Standby mode</Val>
  386. <Val value="0x1">No reset generated</Val>
  387. </Values>
  388. </Bit>
  389. </AssignedBits>
  390. </Field>
  391. </Category>
  392. <Category>
  393. <Name>User Data</Name>
  394. <Field>
  395. <Parameters address="0x1FFFF804" name="USR_DATA" size="0x4"/>
  396. <AssignedBits>
  397. <Bit>
  398. <Name>Data0</Name>
  399. <Description>User data 0 (8-bit)</Description>
  400. <BitOffset>0x0</BitOffset>
  401. <BitWidth>0x8</BitWidth>
  402. <Access>RW</Access>
  403. </Bit>
  404. <Bit>
  405. <Name>Data1</Name>
  406. <Description>User data 1 (8-bit)</Description>
  407. <BitOffset>0x10</BitOffset>
  408. <BitWidth>0x8</BitWidth>
  409. <Access>RW</Access>
  410. </Bit>
  411. </AssignedBits>
  412. </Field>
  413. </Category>
  414. <Category>
  415. <Name>Write Protection</Name>
  416. <Field>
  417. <Parameters address="0x1FFFF808" name="WRP_0_1" size="0x4"/>
  418. <AssignedBits>
  419. <Bit>
  420. <Name>WRP0</Name>
  421. <!--<Description>One bit of the user option bytes WRPx is used to protect 2 pages of 2 Kbytes in the main memory block. However, bit 7 of WRP3 write protects pages 62 to 511.</Description>-->
  422. <BitOffset>0x0</BitOffset>
  423. <BitWidth>0x8</BitWidth>
  424. <Access>RW</Access>
  425. <Values ByBit="true">
  426. <Val value="0x0">Write protection active on this sector</Val>
  427. <Val value="0x1">Write protection not active on this sector</Val>
  428. </Values>
  429. </Bit>
  430. <Bit>
  431. <Name>WRP8</Name>
  432. <Description/>
  433. <BitOffset>0x10</BitOffset>
  434. <BitWidth>0x8</BitWidth>
  435. <Access>RW</Access>
  436. <Values ByBit="true">
  437. <Val value="0x0">Write protection active on this sector</Val>
  438. <Val value="0x1">Write protection not active on this sector</Val>
  439. </Values>
  440. </Bit>
  441. </AssignedBits>
  442. </Field>
  443. <Field>
  444. <Parameters address="0x1FFFF80C" name="WRP_2_3" size="0x4"/>
  445. <AssignedBits>
  446. <Bit>
  447. <Name>WRP16</Name>
  448. <Description/>
  449. <BitOffset>0x0</BitOffset>
  450. <BitWidth>0x8</BitWidth>
  451. <Access>RW</Access>
  452. <Values ByBit="true">
  453. <Val value="0x0">Write protection active on this sector</Val>
  454. <Val value="0x1">Write protection not active on this sector</Val>
  455. </Values>
  456. </Bit>
  457. <Bit>
  458. <Name>WRP24</Name>
  459. <Description/>
  460. <BitOffset>0x10</BitOffset>
  461. <BitWidth>0x8</BitWidth>
  462. <Access>RW</Access>
  463. <Values ByBit="true">
  464. <Val value="0x0">Write protection active on this sector</Val>
  465. <Val value="0x1">Write protection not active on this sector</Val>
  466. </Values>
  467. </Bit>
  468. </AssignedBits>
  469. </Field>
  470. </Category>
  471. </Bank>
  472. </Peripheral>
  473. </Peripherals>
  474. </Device>
  475. </Root>