Skip to content

Commit a605ef9

Browse files
authored
Merge pull request #3 from Rbb666/update
更新stlink-2.11.0驱动
2 parents f9d0e76 + effc116 commit a605ef9

File tree

122 files changed

+17653
-5324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+17653
-5324
lines changed

ST-LINK_gdbserver.exe

256 KB
Binary file not shown.

STLinkUpgrade.jar

1.22 MB
Binary file not shown.

native/win_x64/STLinkUSBDriver.dll

10.3 KB
Binary file not shown.

native/win_x64/STLinkUSBDriver.lib

0 Bytes
Binary file not shown.

native/win_x86/STLinkUSBDriver.dll

12.8 KB
Binary file not shown.

native/win_x86/STLinkUSBDriver.lib

0 Bytes
Binary file not shown.

tools/Data_Base/STM32_Prog_DB_0x413.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171
<Access>RW</Access>
7272
<!-- 512 Bytes single bank -->
7373
<Configuration>
74-
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x200"/>
74+
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x210"/>
7575
<Description/>
7676
<Organization>Single</Organization>
7777
<Allignement>0x4</Allignement>
7878
<Bank name="OTP">
7979
<Field>
80-
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x200"/>
80+
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x210"/>
8181
</Field>
8282
</Bank>
8383
</Configuration>
@@ -213,7 +213,7 @@
213213
</Category>
214214
</Bank>
215215
<Bank interface="Bootloader">
216-
<Parameters address="0x1FFFC000" name="Bank 1" size="0x8"/>
216+
<Parameters address="0x1FFFC000" name="Bank 1" size="0x10"/>
217217
<Category>
218218
<Name>Read Out Protection</Name>
219219
<Field>

tools/Data_Base/STM32_Prog_DB_0x415.xml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,21 @@
5555
</Configuration>
5656
</Interface>
5757
<!-- Bootloader Interface -->
58-
<Interface name="Bootloader"/>
58+
<Interface name="Bootloader">
59+
<!-- 1MB Dual Bank-->
60+
<!-- 512KB Dual Bank-->
61+
<Configuration number="0x5"> <!-- DBANK=0x1-->
62+
<DualBank>
63+
<ReadRegister address="0x1FFF7800" mask="0x200000" value="0x200000"/>
64+
</DualBank>
65+
</Configuration>
66+
<!-- 512KB Single Bank-->
67+
<Configuration number="0x6"> <!-- DBANK=0x0-->
68+
<DualBank>
69+
<ReadRegister address="0x1FFF7800" mask="0x200000" value="0x0"/>
70+
</DualBank>
71+
</Configuration>
72+
</Interface>
5973
</Configurations>
6074
<!-- Peripherals -->
6175
<Peripherals>
@@ -86,8 +100,10 @@
86100
<ErasedValue>0xFF</ErasedValue>
87101
<Access>RWE</Access>
88102
<FlashSize address="0x1FFF75E0" default="0x100000"/>
103+
<DBGMCU_CR address="0xE0042004" mask="0x007"/>
104+
<DBGMCU_APB1_FZ address="0xE0042008" mask="0x1800"/>
89105
<!-- 1MB dual Bank -->
90-
<Configuration config="0">
106+
<Configuration config="0,5,6">
91107
<Parameters address="0x08000000" name=" 1 Mbyte Embedded Flash" size="0x100000"/>
92108
<Description/>
93109
<Organization>Dual</Organization>
@@ -104,7 +120,7 @@
104120
</Bank>
105121
</Configuration>
106122
<!-- 512KB dual Bank -->
107-
<Configuration config="1">
123+
<Configuration config="1,5">
108124
<Parameters address="0x08000000" name=" 512 KBbyte Embedded Flash" size="0x80000"/>
109125
<Description/>
110126
<Organization>Dual</Organization>
@@ -121,7 +137,7 @@
121137
</Bank>
122138
</Configuration>
123139
<!-- 512KB Single Bank -->
124-
<Configuration config="2">
140+
<Configuration config="2,6">
125141
<Parameters address="0x08000000" name=" 512 KBbyte Embedded Flash" size="0x80000"/>
126142
<Description/>
127143
<Organization>Single</Organization>
@@ -133,7 +149,7 @@
133149
</Bank>
134150
</Configuration>
135151
<!-- 256KB dual Bank -->
136-
<Configuration config="3">
152+
<Configuration config="3,5">
137153
<Parameters address="0x08000000" name=" 256 KBbyte Embedded Flash" size="0x40000"/>
138154
<Description/>
139155
<Organization>Dual</Organization>
@@ -150,7 +166,7 @@
150166
</Bank>
151167
</Configuration>
152168
<!-- 256KB Single Bank -->
153-
<Configuration config="4">
169+
<Configuration config="4,6">
154170
<Parameters address="0x08000000" name=" 256 KBbyte Embedded Flash" size="0x40000"/>
155171
<Description/>
156172
<Organization>Single</Organization>
@@ -197,12 +213,12 @@
197213
<Allignement>0x4</Allignement>
198214
<Bank name="Bank 1">
199215
<Field>
200-
<Parameters address="0x1FFF7800" name="Bank1" occurence="0x1" size="0x24"/>
216+
<Parameters address="0x1FFF7800" name="Bank1" occurence="0x1" size="0x28"/>
201217
</Field>
202218
</Bank>
203219
<Bank name="Bank 2">
204220
<Field>
205-
<Parameters address="0x1FFFF808" name="Bank2" occurence="0x1" size="0x1C"/>
221+
<Parameters address="0x1FFFF800" name="Bank2" occurence="0x1" size="0x28"/>
206222
</Field>
207223
</Bank>
208224
</Configuration>
@@ -561,7 +577,7 @@
561577
</Category>
562578
</Bank>
563579
<Bank interface="Bootloader">
564-
<Parameters address="0x1FFF7800" name="Bank 1" size="0x24"/>
580+
<Parameters address="0x1FFF7800" name="Bank 1" size="0x28"/>
565581
<Category>
566582
<Name>Read Out Protection</Name>
567583
<Field>
@@ -702,6 +718,17 @@
702718
<Val value="0x1">Dual-bank boot enable</Val>
703719
</Values>
704720
</Bit>
721+
<Bit config="5">
722+
<Name>DualBank</Name>
723+
<Description/>
724+
<BitOffset>0x15</BitOffset>
725+
<BitWidth>0x1</BitWidth>
726+
<Access>RW</Access>
727+
<Values>
728+
<Val value="0x0">256 KB/512 KB Single-bank Flash: Contiguous addresses in Bank 1</Val>
729+
<Val value="0x1">256 KB/512 KB Dual-bank Flash</Val>
730+
</Values>
731+
</Bit>
705732
<Bit>
706733
<Name>nBOOT1</Name>
707734
<Description/>
@@ -825,7 +852,7 @@
825852
</Category>
826853
</Bank>
827854
<Bank interface="Bootloader">
828-
<Parameters address="0x1FFFF808" name="Bank 2" size="0x1C"/>
855+
<Parameters address="0x1FFFF800" name="Bank 2" size="0x28"/>
829856
<Category>
830857
<Name>PCROP Protection (Bank 2)</Name>
831858
<Field>

tools/Data_Base/STM32_Prog_DB_0x419.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<ErasedValue>0xFF</ErasedValue>
102102
<Access>RWE</Access>
103103
<FlashSize address="0x1FFF7A22" default="0x200000"/>
104+
<BootloaderVersion address="0x1FFF76DE"/>
104105
<!-- 1024KB Single Bank -->
105106
<Configuration config="0,1,6">
106107
<Parameters address="0x08000000" name=" 2048 Kbytes Embedded Flash" size="0x200000"/>
@@ -179,13 +180,13 @@
179180
<Access>RW</Access>
180181
<!-- 512 Bytes single bank -->
181182
<Configuration>
182-
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x200"/>
183+
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x210"/>
183184
<Description/>
184185
<Organization>Single</Organization>
185186
<Allignement>0x4</Allignement>
186187
<Bank name="OTP">
187188
<Field>
188-
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x200"/>
189+
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x210"/>
189190
</Field>
190191
</Bank>
191192
</Configuration>

tools/Data_Base/STM32_Prog_DB_0x421.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@
8585
<Access>RW</Access>
8686
<!-- 512 Bytes single bank -->
8787
<Configuration>
88-
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x200"/>
88+
<Parameters address="0x1FFF7800" name=" 512 Bytes Data OTP" size="0x210"/>
8989
<Description/>
9090
<Organization>Single</Organization>
9191
<Allignement>0x4</Allignement>
9292
<Bank name="OTP">
9393
<Field>
94-
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x200"/>
94+
<Parameters address="0x1FFF7800" name="OTP" occurence="0x1" size="0x210"/>
9595
</Field>
9696
</Bank>
9797
</Configuration>

0 commit comments

Comments
 (0)