STM32_Prog_DB_0x458.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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>0x458</DeviceID>
  5. <Vendor>STMicroelectronics</Vendor>
  6. <Type>MCU</Type>
  7. <CPU>Cortex-M4</CPU>
  8. <Name>STM32F410</Name>
  9. <Series>STM32F4</Series>
  10. <Description>ARM 32-bit Cortex-M4 based device</Description>
  11. <Configurations>
  12. <!-- JTAG_SWD Interface -->
  13. <Interface name="JTAG_SWD">
  14. <Configuration number="0x0">
  15. <SPRMode reference="0x0"> <ReadRegister address="0x40023C14" mask="0x80000000" value="0x0"/> </SPRMode>
  16. </Configuration>
  17. <Configuration number="0x1">
  18. <SPRMode reference="0x1"> <ReadRegister address="0x40023C14" mask="0x80000000" value="0x80000000"/> </SPRMode>
  19. </Configuration>
  20. </Interface>
  21. <!-- Bootloader Interface -->
  22. <Interface name="Bootloader">
  23. <Configuration number="0x0">
  24. <SPRMode reference="0x0"> <ReadRegister address="0x1FFFC008" mask="0x8000" value="0x0"/> </SPRMode>
  25. </Configuration>
  26. <Configuration number="0x1">
  27. <SPRMode reference="0x1"> <ReadRegister address="0x1FFFC008" mask="0x8000" value="0x8000"/> </SPRMode>
  28. </Configuration>
  29. </Interface>
  30. </Configurations>
  31. <!-- Peripherals -->
  32. <Peripherals>
  33. <!-- Embedded SRAM -->
  34. <Peripheral>
  35. <Name>Embedded SRAM</Name>
  36. <Type>Storage</Type>
  37. <Description/>
  38. <ErasedValue>0x00</ErasedValue>
  39. <Access>RWE</Access>
  40. <!-- 32 KB 0x8000-->
  41. <Configuration>
  42. <Parameters address="0x20000000" name="SRAM" size="0x8000"/>
  43. <Description/>
  44. <Organization>Single</Organization>
  45. <Bank name="Bank 1">
  46. <Field>
  47. <Parameters address="0x20000000" name="SRAM" occurence="0x1" size="0x8000"/>
  48. </Field>
  49. </Bank>
  50. </Configuration>
  51. </Peripheral>
  52. <!-- Embedded Flash -->
  53. <Peripheral>
  54. <Name>Embedded Flash</Name>
  55. <Type>Storage</Type>
  56. <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>
  57. <ErasedValue>0xFF</ErasedValue>
  58. <Access>RWE</Access>
  59. <FlashSize address="0x1FFF7A22" default="0x20000"/>
  60. <!-- 128K Single Bank -->
  61. <Configuration>
  62. <Parameters address="0x08000000" name=" 128 Kbytes Embedded Flash" size="0x20000"/>
  63. <Description/>
  64. <Organization>Single</Organization>
  65. <Allignement>0x4</Allignement>
  66. <Bank name="Bank 1">
  67. <Field>
  68. <Parameters address="0x08000000" name="sector0" occurence="0x4" size="0x4000"/>
  69. </Field>
  70. <Field>
  71. <Parameters address="0x08010000" name="sector4" occurence="0x1" size="0x10000"/>
  72. </Field>
  73. </Bank>
  74. </Configuration>
  75. </Peripheral>
  76. <!-- OTP -->
  77. <Peripheral>
  78. <Name>OTP</Name>
  79. <Type>Storage</Type>
  80. <Description>The Data OTP memory block. It contains the one time programmable bits.</Description>
  81. <ErasedValue>0xFF</ErasedValue>
  82. <Access>RW</Access>
  83. <!-- 512 Bytes single bank -->
  84. <Configuration>
  85. <Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x210"/>
  86. <Description/>
  87. <Organization>Single</Organization>
  88. <Allignement>0x4</Allignement>
  89. <Bank name="OTP">
  90. <Field>
  91. <Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x210"/>
  92. </Field>
  93. </Bank>
  94. </Configuration>
  95. </Peripheral>
  96. <!-- Mirror Option Bytes -->
  97. <Peripheral>
  98. <Name>MirrorOptionBytes</Name>
  99. <Type>Storage</Type>
  100. <Description>Mirror Option Bytes contains the extra area.</Description>
  101. <ErasedValue>0xFF</ErasedValue>
  102. <Access>RW</Access>
  103. <!-- 16 Bytes single bank -->
  104. <Configuration>
  105. <Parameters address="0x1FFFC000" name=" 16 Bytes Data MirrorOptionBytes" size="0x10"/>
  106. <Description/>
  107. <Organization>Single</Organization>
  108. <Allignement>0x4</Allignement>
  109. <Bank name="MirrorOptionBytes">
  110. <Field>
  111. <Parameters address="0x1FFFC000" name="MirrorOptionBytes" occurence="0x1" size="0x10"/>
  112. </Field>
  113. </Bank>
  114. </Configuration>
  115. </Peripheral>
  116. <!-- Option Bytes -->
  117. <Peripheral>
  118. <Name>Option Bytes</Name>
  119. <Type>Configuration</Type>
  120. <Description/>
  121. <Access>RW</Access>
  122. <Bank interface="JTAG_SWD">
  123. <Parameters address="0x40023C14" name="Bank 1" size="0x8"/>
  124. <Category>
  125. <Name>Read Out Protection</Name>
  126. <Field>
  127. <Parameters address="0x40023C14" name="RDP" size="0x4"/>
  128. <AssignedBits>
  129. <Bit>
  130. <Name>RDP</Name>
  131. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  132. <BitOffset>0x8</BitOffset>
  133. <BitWidth>0x8</BitWidth>
  134. <Access>RW</Access>
  135. <Values>
  136. <Val value="0xAA">Level 0, no protection</Val>
  137. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  138. <Val value="0xCC">Level 2, chip protection</Val>
  139. </Values>
  140. </Bit>
  141. </AssignedBits>
  142. </Field>
  143. </Category>
  144. <Category>
  145. <Name>PCROP Protection</Name>
  146. <Field>
  147. <Parameters address="0x40023C14" name="FLASH_OPTCR" size="0x4"/>
  148. <AssignedBits>
  149. <Bit reference="SPRMode">
  150. <Name>SPRMOD</Name>
  151. <Description>Selection of protection mode for nWPRi bits.</Description>
  152. <BitOffset>0x1F</BitOffset>
  153. <BitWidth>0x1</BitWidth>
  154. <Access>RW</Access>
  155. <Values>
  156. <Val value="0x0">PCROP disabled. nWPRi bits used for Write protection on sector i</Val>
  157. <Val value="0x1">PCROP enabled. nWPRi bits used for PCROP protection on sector i</Val>
  158. </Values>
  159. </Bit>
  160. </AssignedBits>
  161. </Field>
  162. </Category>
  163. <Category>
  164. <Name>BOR Level</Name>
  165. <Field>
  166. <Parameters address="0x40023C14" name="FLASH_OPTCR" size="0x4"/>
  167. <AssignedBits>
  168. <Bit>
  169. <Name>BOR_LEV</Name>
  170. <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>
  171. <BitOffset>0x2</BitOffset>
  172. <BitWidth>0x2</BitWidth>
  173. <Access>RW</Access>
  174. <Values>
  175. <Val value="0x0">BOR Level 3 reset threshold level from 2.70 to 3.60 V</Val>
  176. <Val value="0x1">BOR Level 2 reset threshold level from 2.40 to 2.70 V</Val>
  177. <Val value="0x2">BOR Level 1 reset threshold level from 2.10 to 2.40 V</Val>
  178. <Val value="0x3">BOR OFF reset threshold level from 1.80 to 2.10 V</Val>
  179. </Values>
  180. </Bit>
  181. </AssignedBits>
  182. </Field>
  183. </Category>
  184. <Category>
  185. <Name>User Configuration</Name>
  186. <Field>
  187. <Parameters address="0x40023C14" name="FLASH_OPTCR" size="0x4"/>
  188. <AssignedBits>
  189. <Bit>
  190. <Name>WDG_SW</Name>
  191. <Description/>
  192. <BitOffset>0x5</BitOffset>
  193. <BitWidth>0x1</BitWidth>
  194. <Access>RW</Access>
  195. <Values>
  196. <Val value="0x0">Hardware watchdog</Val>
  197. <Val value="0x1">Software watchdog</Val>
  198. </Values>
  199. </Bit>
  200. <Bit>
  201. <Name>nRST_STOP</Name>
  202. <Description/>
  203. <BitOffset>0x6</BitOffset>
  204. <BitWidth>0x1</BitWidth>
  205. <Access>RW</Access>
  206. <Values>
  207. <Val value="0x0">Reset generated when entering Stop mode</Val>
  208. <Val value="0x1">No reset generated</Val>
  209. </Values>
  210. </Bit>
  211. <Bit>
  212. <Name>nRST_STDBY</Name>
  213. <Description/>
  214. <BitOffset>0x7</BitOffset>
  215. <BitWidth>0x1</BitWidth>
  216. <Access>RW</Access>
  217. <Values>
  218. <Val value="0x0">Reset generated when entering Standby mode</Val>
  219. <Val value="0x1">No reset generated</Val>
  220. </Values>
  221. </Bit>
  222. </AssignedBits>
  223. </Field>
  224. </Category>
  225. <Category>
  226. <Name>Write Protection</Name>
  227. <Field>
  228. <Parameters address="0x40023C14" name="FLASH_OPTCR" size="0x4"/>
  229. <AssignedBits>
  230. <Bit config="0">
  231. <Name>WRP0</Name>
  232. <Description/>
  233. <BitOffset>0x10</BitOffset>
  234. <BitWidth>0x5</BitWidth>
  235. <Access>RW</Access>
  236. <Values ByBit="true">
  237. <Val value="0x0">Write protection active</Val>
  238. <Val value="0x1">Write protection not active</Val>
  239. </Values>
  240. </Bit>
  241. <Bit config="1">
  242. <Name>WRP0</Name>
  243. <Description/>
  244. <BitOffset>0x10</BitOffset>
  245. <BitWidth>0x5</BitWidth>
  246. <Access>RW</Access>
  247. <Values ByBit="true">
  248. <Val value="0x0">PCROP protection not active on sector i</Val>
  249. <Val value="0x1">PCROP protection active on sector i</Val>
  250. </Values>
  251. </Bit>
  252. </AssignedBits>
  253. </Field>
  254. </Category>
  255. </Bank>
  256. <Bank interface="Bootloader">
  257. <Parameters address="0x1FFFC000" name="Bank 1" size="0x10"/>
  258. <Category>
  259. <Name>Read Out Protection</Name>
  260. <Field>
  261. <Parameters address="0x1FFFC000" name="RDP" size="0x4"/>
  262. <AssignedBits>
  263. <Bit>
  264. <Name>RDP</Name>
  265. <Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
  266. <BitOffset>0x8</BitOffset>
  267. <BitWidth>0x8</BitWidth>
  268. <Access>RW</Access>
  269. <Values>
  270. <Val value="0xAA">Level 0, no protection</Val>
  271. <Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
  272. <Val value="0xCC">Level 2, chip protection</Val>
  273. </Values>
  274. </Bit>
  275. </AssignedBits>
  276. </Field>
  277. </Category>
  278. <Category>
  279. <Name>PCROP Protection</Name>
  280. <Field>
  281. <Parameters address="0x1FFFC008" name="FLASH_OPTCR" size="0x4"/>
  282. <AssignedBits>
  283. <Bit reference="SPRMode">
  284. <Name>SPRMOD</Name>
  285. <Description>Selection of protection mode for nWPRi bits.</Description>
  286. <BitOffset>0xF</BitOffset>
  287. <BitWidth>0x1</BitWidth>
  288. <Access>RW</Access>
  289. <Values>
  290. <Val value="0x0">PCROP disabled. nWPRi bits used for Write protection on sector i</Val>
  291. <Val value="0x1">PCROP enabled. nWPRi bits used for PCROP protection on sector i</Val>
  292. </Values>
  293. </Bit>
  294. </AssignedBits>
  295. </Field>
  296. </Category>
  297. <Category>
  298. <Name>BOR Level</Name>
  299. <Field>
  300. <Parameters address="0x1FFFC000" name="USER" size="0x4"/>
  301. <AssignedBits>
  302. <Bit>
  303. <Name>BOR_LEV</Name>
  304. <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>
  305. <BitOffset>0x2</BitOffset>
  306. <BitWidth>0x2</BitWidth>
  307. <Access>RW</Access>
  308. <Values>
  309. <Val value="0x0">BOR Level 3 reset threshold level from 2.70 to 3.60 V</Val>
  310. <Val value="0x1">BOR Level 2 reset threshold level from 2.40 to 2.70 V</Val>
  311. <Val value="0x2">BOR Level 1 reset threshold level from 2.10 to 2.40 V</Val>
  312. <Val value="0x3">BOR OFF reset threshold level from 1.80 to 2.10 V</Val>
  313. </Values>
  314. </Bit>
  315. </AssignedBits>
  316. </Field>
  317. </Category>
  318. <Category>
  319. <Name>User Configuration</Name>
  320. <Field>
  321. <Parameters address="0x1FFFC000" name="USER" size="0x4"/>
  322. <AssignedBits>
  323. <Bit>
  324. <Name>WDG_SW</Name>
  325. <Description/>
  326. <BitOffset>0x5</BitOffset>
  327. <BitWidth>0x1</BitWidth>
  328. <Access>RW</Access>
  329. <Values>
  330. <Val value="0x0">Hardware watchdog</Val>
  331. <Val value="0x1">Software watchdog</Val>
  332. </Values>
  333. </Bit>
  334. <Bit>
  335. <Name>nRST_STOP</Name>
  336. <Description/>
  337. <BitOffset>0x6</BitOffset>
  338. <BitWidth>0x1</BitWidth>
  339. <Access>RW</Access>
  340. <Values>
  341. <Val value="0x0">Reset generated when entering Stop mode</Val>
  342. <Val value="0x1">No reset generated</Val>
  343. </Values>
  344. </Bit>
  345. <Bit>
  346. <Name>nRST_STDBY</Name>
  347. <Description/>
  348. <BitOffset>0x7</BitOffset>
  349. <BitWidth>0x1</BitWidth>
  350. <Access>RW</Access>
  351. <Values>
  352. <Val value="0x0">Reset generated when entering Standby mode</Val>
  353. <Val value="0x1">No reset generated</Val>
  354. </Values>
  355. </Bit>
  356. </AssignedBits>
  357. </Field>
  358. </Category>
  359. <Category>
  360. <Name>Write Protection</Name>
  361. <Field>
  362. <Parameters address="0x1FFFC008" name="WRP1" size="0x4"/>
  363. <AssignedBits>
  364. <Bit config="0">
  365. <Name>WRP0</Name>
  366. <Description/>
  367. <BitOffset>0x0</BitOffset>
  368. <BitWidth>0x5</BitWidth>
  369. <Access>RW</Access>
  370. <Values ByBit="true">
  371. <Val value="0x0">Write protection active</Val>
  372. <Val value="0x1">Write protection not active</Val>
  373. </Values>
  374. </Bit>
  375. <Bit config="1">
  376. <Name>WRP0</Name>
  377. <Description/>
  378. <BitOffset>0x0</BitOffset>
  379. <BitWidth>0x5</BitWidth>
  380. <Access>RW</Access>
  381. <Values ByBit="true">
  382. <Val value="0x0">PCROP protection not active on sector i</Val>
  383. <Val value="0x1">PCROP protection active on sector i</Val>
  384. </Values>
  385. </Bit>
  386. </AssignedBits>
  387. </Field>
  388. </Category>
  389. </Bank>
  390. </Peripheral>
  391. </Peripherals>
  392. </Device>
  393. </Root>