Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified lib/stlink/bin/CubeProgrammer_API.dll
Binary file not shown.
Binary file modified lib/stlink/bin/FileManager.dll
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x427.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x429.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x437.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x450.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x452.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x469.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x470.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x471.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x484.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x485.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x492.stldr
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x494_FUS_Operator.bin
Binary file not shown.
Binary file modified lib/stlink/bin/FlashLoader/0x495_FUS_Operator.bin
Binary file not shown.
Binary file modified lib/stlink/bin/HSM_P11_Lib.dll
Binary file not shown.
Binary file modified lib/stlink/bin/Qt5Core.dll
Binary file not shown.
Binary file modified lib/stlink/bin/Qt5SerialPort.dll
Binary file not shown.
Binary file modified lib/stlink/bin/Qt5Xml.dll
Binary file not shown.
Binary file modified lib/stlink/bin/STLinkUSBDriver.dll
Binary file not shown.
Binary file modified lib/stlink/bin/STM32_Programmer_CLI.exe
Binary file not shown.
Binary file modified lib/stlink/bin/libeay32.dll
Binary file not shown.
Binary file removed lib/stlink/bin/libgcc_s_seh-1.dll
Binary file not shown.
Binary file modified lib/stlink/bin/libstdc++-6.dll
Binary file not shown.
Binary file modified lib/stlink/bin/libwinpthread-1.dll
Binary file not shown.
Binary file modified lib/stlink/bin/mfc120.dll
Binary file not shown.
Binary file modified lib/stlink/bin/msvcp120.dll
Binary file not shown.
Binary file removed lib/stlink/bin/msvcr100.dll
Binary file not shown.
Binary file modified lib/stlink/bin/msvcr120.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/stlink/bin/stlibp11_SAM.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Global]
OutputFolder=C:\Users\Jos�Sim�es/STMicroelectronics/STM32CubeProgrammer/
InputFolder=C:\Users\Jos�Sim�es/STMicroelectronics/STM32CubeProgrammer/HSM/data/
InputFolder=HSM/data/

[Info]
IC.Label=SAM
Expand Down
Binary file modified lib/stlink/bin/stlibp11_SAM.dll
Binary file not shown.
Binary file modified lib/stlink/bin/xerces-c_3_1.dll
Binary file not shown.
Binary file removed lib/stlink/bin/zlib1.dll
Binary file not shown.
8 changes: 5 additions & 3 deletions lib/stlinkLinux/Data_Base/STM32_Prog_DB_0x415.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
<!-- 512KB Dual Bank-->
<Configuration number="0x5"> <!-- DBANK=0x1-->
<DualBank>
<ReadRegister address="0x1FFF7815" mask="0x200000" value="0x200000"/>
<ReadRegister address="0x1FFF7800" mask="0x200000" value="0x200000"/>
</DualBank>
</Configuration>
<!-- 512KB Single Bank-->
<Configuration number="0x6"> <!-- DBANK=0x0-->
<DualBank>
<ReadRegister address="0x1FFF7815" mask="0x200000" value="0x0"/>
<ReadRegister address="0x1FFF7800" mask="0x200000" value="0x0"/>
</DualBank>
</Configuration>
</Interface>
Expand Down Expand Up @@ -100,8 +100,10 @@
<ErasedValue>0xFF</ErasedValue>
<Access>RWE</Access>
<FlashSize address="0x1FFF75E0" default="0x100000"/>
<DBGMCU_CR address="0xE0042004" mask="0x007"/>
<DBGMCU_APB1_FZ address="0xE0042008" mask="0x1800"/>
<!-- 1MB dual Bank -->
<Configuration config="0,5">
<Configuration config="0,5,6">
<Parameters address="0x08000000" name=" 1 Mbyte Embedded Flash" size="0x100000"/>
<Description/>
<Organization>Dual</Organization>
Expand Down
1 change: 1 addition & 0 deletions lib/stlinkLinux/Data_Base/STM32_Prog_DB_0x419.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
<ErasedValue>0xFF</ErasedValue>
<Access>RWE</Access>
<FlashSize address="0x1FFF7A22" default="0x200000"/>
<BootloaderVersion address="0x1FFF76DE"/>
<!-- 1024KB Single Bank -->
<Configuration config="0,1,6">
<Parameters address="0x08000000" name=" 2048 Kbytes Embedded Flash" size="0x200000"/>
Expand Down
1 change: 1 addition & 0 deletions lib/stlinkLinux/Data_Base/STM32_Prog_DB_0x425.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<ErasedValue>0x00</ErasedValue>
<Access>RWE</Access>
<FlashSize address="0x1FF8007C" default="0x8000"/>
<BootloaderVersion address="0x1FF00FFE"/>
<!-- 128KB single Bank -->
<Configuration>
<Parameters address="0x08000000" name="32 Kbytes Embedded Flash" size="0x8000"/>
Expand Down
244 changes: 10 additions & 234 deletions lib/stlinkLinux/Data_Base/STM32_Prog_DB_0x427.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
<BitOffset>0x0</BitOffset>
<BitWidth>0x8</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0xAA">Level 0, no protection</Val>
<Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
Expand All @@ -161,7 +161,7 @@
<Description>Sector protection mode selection option byte.</Description>
<BitOffset>0x8</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0x0">WRPx bit defines sector write protection</Val>
<Val value="0x1">WRPx bit defines sector read/write (PCROP) protection</Val>
Expand All @@ -180,7 +180,7 @@
<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>
<BitOffset>0x10</BitOffset>
<BitWidth>0x4</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
Expand Down Expand Up @@ -210,7 +210,7 @@
<Description/>
<BitOffset>0x14</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0x0">Hardware independant watchdog</Val>
<Val value="0x1">Software independant watchdog</Val>
Expand All @@ -221,7 +221,7 @@
<Description/>
<BitOffset>0x15</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0x0">Reset generated when entering Stop mode</Val>
<Val value="0x1">No reset generated</Val>
Expand All @@ -232,7 +232,7 @@
<Description/>
<BitOffset>0x16</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values>
<Val value="0x0">Reset generated when entering Standby mode</Val>
<Val value="0x1">No reset generated</Val>
Expand All @@ -251,7 +251,7 @@
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x20</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
Expand All @@ -262,7 +262,7 @@
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x20</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection not active</Val>
Expand All @@ -278,7 +278,7 @@
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x20</BitWidth>
<Access>R</Access>
<Access>RW</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
Expand All @@ -289,231 +289,7 @@
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x20</BitWidth>
<Access>R</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection not active</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
</Category>
</Bank>
<Bank interface="JTAG_SWD">
<Parameters address="0x1FF80000" name="Bank 2" size="0x88"/>
<Category>
<Name>Read Out Protection</Name>
<Field>
<Parameters address="0x1FF80000" name="RDP" size="0x4"/>
<AssignedBits>
<Bit>
<Name>RDP</Name>
<Description>Read protection option byte. The read protection is used to protect the software code stored in Flash memory.</Description>
<BitOffset>0x0</BitOffset>
<BitWidth>0x8</BitWidth>
<Access>W</Access>
<Values>
<Val value="0xAA">Level 0, no protection</Val>
<Val value="0xBB">or any value other than 0xAA and 0xCC: Level 1, read protection</Val>
<Val value="0xCC">Level 2, chip protection</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
</Category>
<Category>
<Name>PCROP Protection</Name>
<Field>
<Parameters address="0x1FF80000" name="SPRMOD" size="0x4"/>
<AssignedBits>
<Bit reference="SPRMode">
<Name>SPRMOD</Name>
<Description>Sector protection mode selection option byte.</Description>
<BitOffset>0x8</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>W</Access>
<Values>
<Val value="0x0">WRPx bit defines sector write protection</Val>
<Val value="0x1">WRPx bit defines sector write/read (PCROP) protection</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
</Category>
<Category>
<Name>BOR Level</Name>
<Field>
<Parameters address="0x1FF80004" name="USER" size="0x4"/>
<AssignedBits>
<Bit>
<Name>BOR_LEV</Name>
<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>
<BitOffset>0x0</BitOffset>
<BitWidth>0x4</BitWidth>
<Access>W</Access>
<Values>
<Val value="0x0">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x1">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x2">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x3">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x4">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x5">BOR Level OFF, reset level threshold the 1.45 V-1.55 V</Val>
<Val value="0x6">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
<Val value="0x7">BOR Level OFF, reset level threshold for 1.45 V-1.55 V</Val>
<Val value="0x8">BOR Level 1, reset level threshold for 1.69 V-1.8 V</Val>
<Val value="0x9">BOR Level 2, reset level threshold for 1.94 V-2.1 V</Val>
<Val value="0xA">BOR Level 3, reset level threshold for 2.3 V-2.49 V</Val>
<Val value="0xB">BOR Level 4, reset level threshold for 2.54 V-2.74 V</Val>
<Val value="0xC">BOR Level 5, reset level threshold for 2.77 V-3.0 V</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
</Category>
<Category>
<Name>User Configuration</Name>
<Field>
<Parameters address="0x1FF80004" name="USER" size="0x4"/>
<AssignedBits>
<Bit>
<Name>IWDG_SW</Name>
<Description/>
<BitOffset>0x4</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>W</Access>
<Values>
<Val value="0x0">Hardware independant watchdog</Val>
<Val value="0x1">Software independant watchdog</Val>
</Values>
</Bit>
<Bit>
<Name>nRST_STOP</Name>
<Description/>
<BitOffset>0x5</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>W</Access>
<Values>
<Val value="0x0">Reset generated when entering Stop mode</Val>
<Val value="0x1">No reset generated</Val>
</Values>
</Bit>
<Bit>
<Name>nRST_STDBY</Name>
<Description/>
<BitOffset>0x6</BitOffset>
<BitWidth>0x1</BitWidth>
<Access>W</Access>
<Values>
<Val value="0x0">Reset generated when entering Standby mode</Val>
<Val value="0x1">No reset generated</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
</Category>
<Category>
<Name>Write Protection</Name>
<Field>
<Parameters address="0x1FF80008" name="WRP1" size="0x8"/>
<AssignedBits>
<Bit config="0">
<Name>WRP0</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
</Values>
</Bit>
<Bit config="1">
<Name>WRP0</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection active</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
<Field>
<Parameters address="0x1FF8000C" name="WRP1" size="0x8"/>
<AssignedBits>
<Bit config="0">
<Name>WRP16</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
</Values>
</Bit>
<Bit config="1">
<Name>WRP16</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection active</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
<Field>
<Parameters address="0x1FF80010" name="WRP2" size="0x8"/>
<AssignedBits>
<Bit config="0">
<Name>WRP32</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
</Values>
</Bit>
<Bit config="1">
<Name>WRP32</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection not active</Val>
</Values>
</Bit>
</AssignedBits>
</Field>
<Field>
<Parameters address="0x1FF80014" name="WRP2" size="0x8"/>
<AssignedBits>
<Bit config="0">
<Name>WRP48</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Values ByBit="true">
<Val value="0x0">Write protection not active</Val>
<Val value="0x1">Write protection active</Val>
</Values>
</Bit>
<Bit config="1">
<Name>WRP48</Name>
<Description/>
<BitOffset>0x0</BitOffset>
<BitWidth>0x10</BitWidth>
<Access>W</Access>
<Access>RW</Access>
<Values ByBit="true">
<Val value="0x0">read/Write protection active</Val>
<Val value="0x1">read/Write protection not active</Val>
Expand Down
Loading