Wykres commitów

2222 Commity (develop)

Autor SHA1 Wiadomość Data
nightwalker-87 e6589dbd54
Merge pull request #1439 from ciakval/feature/L4Q5CG
[feature] Added support for STM32L4Q5CG
2024-11-09 16:51:37 +01:00
Jan Remes c2095ef435 flash_loader: add support for STM32L4Px_Qx chips
Signed-off-by: Jan Remes <jan.remes@mycroftmind.com>
2024-10-29 15:19:36 +01:00
Jan Remes b6d46ce3d1 config/chips: fix SRAM size for STM32L4Px_Qx chips
According to the datasheet[1] and the reference manual[2] the STM32L4Px
and STM32L4Qx chips have 320 KiB of SRAM, not 640 KiB.

[1]: https://www.st.com/resource/en/datasheet/stm32l4q5cg.pdf
[2]: https://www.st.com/resource/en/reference_manual/rm0432-stm32l4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

Signed-off-by: Jan Remes <jan.remes@mycroftmind.com>
2024-10-29 15:16:19 +01:00
nightwalker-87 bfcc1e2628 Merge branch 'testing' into 'develop' 2024-10-03 23:24:18 +02:00
nightwalker-87 226e533761 General project update
- Fixed whitespace formatting
- Updated CHANGELOG.md
- Updated version_support.md
- Updated minimum build requirements:
   cmake > 3.16.3 / libusb > 1.0.23 / libgtk-dev > 3.24.18 / C17
- Minor formatting and grammar fixes
2024-10-03 23:13:42 +02:00
nightwalker-87 685c41affc
Merge pull request #1429 from sansyse/bugfix-1428-option_parsing
Fixed option parsing errors
2024-10-03 21:35:17 +02:00
nightwalker-87 275d7eb9d6
Merge pull request #1421 from runelauridsen/windows-relative-chip-path
Make path to .chip files relative to installation directory on Windows
2024-10-03 21:10:16 +02:00
nightwalker-87 9f15769d4a
Merge pull request #1427 from jg1uaa/testing
Fixed compilation error -Wshorten-64-to-32 in stlink-lib/usb.c
2024-10-03 21:02:20 +02:00
nightwalker-87 a548e8304a
Merge pull request #1426 from jsnowy/fixUninstall
Replaced deprecated cmd to fix package uninstall
2024-10-03 20:58:08 +02:00
Sten 4832a96bd1 [bugfix]: #1428
- Added '-V' and '-F' option to the getopt_long() optstring.
    - Marked -F/--freq option with required argument.
    - Added NULL pointer checks to helper function arg_parse_freq().
2024-09-30 16:45:17 +02:00
SASANO Takayoshi ec4c7fad1f stlink-lib/usb.c: fix -Wshorten-64-to-32 error 2024-09-16 19:14:02 +09:00
jsnowy 0931135f89
Merge branch 'testing' into fixUninstall 2024-09-15 23:23:45 +08:00
jsnowy 3b47f22293 Replace deprecated cmd to Fix Uninstall 2024-09-15 21:48:39 +08:00
runelauridsen 4990b66194 Make path to .chip files relative to installation directory on Windows 2024-08-23 08:29:02 +02:00
nightwalker-87 e4931097f8 General Project Update
- Fixed compatibility with gcc-14 [-Werror=calloc-transposed-args]
- Updated compiling instructions and build script for Windows (Closes #1364) (Closes #1410)
- Updated CHANGELOG.md
- Minor formatting fixes
2024-08-11 16:53:39 +02:00
nightwalker-87 1f0b95c364
Merge pull request #1420 from d4ilyrun/g0/erase_bank2
[STM32Gx]: Added erase support for multi-bank products
2024-08-11 14:28:47 +02:00
nightwalker-87 07f3118ddc
Merge pull request #1419 from Jon-Salmon/STM32_U585_OTP
[STM32U575/585]: Added support for OTP bytes
2024-08-11 14:25:17 +02:00
Léo DUBOIN bff61510b1 STM32Gx: flash: clear programming mode before erasing
As described in 3.3.8, if erasing while another mode's "enable" bit
is set, a programming sequence error will be raised. This change
makes sure this will not happen for an erase operation.
2024-08-11 11:14:41 +02:00
Léo DUBOIN 589e2446a1 STM32Gx: flash: Set BKER bit for multi-bank products before erasing
Products of the Gx series with more than 128K of flash use 2 banks.
In this case we need to specify which bank to erase using the BKER bit.

Reference: 3.7.5 - BKER
2024-08-11 11:14:41 +02:00
Jon Salmon 76e9af49a4
Support OTP bytes on STM32U575/585 2024-08-05 12:26:26 +01:00
nightwalker-87 51df4dd58c
Merge pull request #1417 from xlz/lxiang-h7-opt
Fixed STM32H7 option byte programming
2024-08-02 20:31:38 +02:00
nightwalker-87 f5da718c84
Merge pull request #1416 from xlz/testing
Fixed STM32H7 FLASH_OPTCR unlock sequence
2024-08-02 20:26:52 +02:00
nightwalker-87 35e6e9a5e5
Merge pull request #1414 from salyzyn/testing
Restored support for STM32G4 Cat4 device STM32G491
2024-08-02 20:21:13 +02:00
Lingzhu Xiang 5e958ddcec Fix STM32H7 option byte programming
THe previous option_base at 0x5200201c cannot be used for
programming the option bytes.

The option bytes are programmed at 0x52002020 (FLASH_OPTSR_PRG).
2024-07-23 14:29:29 +08:00
Lingzhu Xiang 42b3a10962 Fix STM32H7 FLASH_OPTCR unlock sequence
In STM32H7, the FLASH option key register (FLASH_OPTKEYR)
mapped at 0x008 and 0x108 is the same register and cannot be
unlocked twice.
2024-07-23 12:48:30 +08:00
nightwalker-87 d7103ffd06
Merge pull request #1413 from ankurraji/ankurraji_option_bytes_read_write_support_STM32L41x_L42x
[feature] Support for setting option bytes to STM32L41x_L42x (according to RM0394)
2024-07-17 22:33:55 +02:00
nightwalker-87 68629c050e
Merge pull request #1411 from hyves42/gui_improvements
[feature] Improvements for stlink-gui
2024-07-17 22:30:14 +02:00
Mark Salyzyn 96e1da63a6 Support Category 4 device (stm32g491)
Category 4 devices are 2K block size and do not have banks

Closes #1403
2024-07-15 12:08:07 -04:00
Ankur Raj 63d9fe2f35 Improve : added base address and size according to RM0394 2024-07-10 17:45:21 +02:00
hyves42 896a77a696 Add command line arguments to open a file at startup 2024-07-08 21:21:01 +02:00
hyves42 3d5b49b042 Add a 'Reset' button to gui 2024-07-08 18:28:38 +02:00
hyves42 1405e58059 In 'Flash device' dialog, put focus on the OK button 2024-07-04 17:38:30 +02:00
hyves42 7b55ed933e When opening hex files, start dialog from the last used location 2024-07-04 17:38:30 +02:00
nightwalker-87 32ce4bf88a Fixed bug in function static bool read_trace( ).
(Closes #1400)
2024-05-30 20:37:06 +02:00
nightwalker-87 a70c994964 Fixed flash_pagesize for STM32H7A chips
(Closes #1369)
2024-05-29 22:48:25 +02:00
nightwalker-87 a7fa1ae47c
Merge pull request #1397 from hannesweisbach/mass-erase
[feature] --mass-erase for st-flash write commands
2024-05-29 21:37:31 +02:00
nightwalker-87 794f889f55
Merge branch 'testing' into mass-erase 2024-05-29 21:33:09 +02:00
nightwalker-87 3520d735d7
Merge pull request #1395 from AJ528/develop
Added a graceful way to terminate st-util
2024-05-29 21:29:26 +02:00
nightwalker-87 f47c69714f Changed data types to fixed width types & formatting fixes
- stlink_serial( )
- stlink_probe_usb( )
2024-05-29 21:27:27 +02:00
nightwalker-87 91d7033dca
Merge pull request #1392 from Ilgrim/develop
Modifications to allow building of toolset in OpenBSD
2024-05-29 19:32:30 +02:00
Hannes Weisbach 1fbf1d9563 feat: --mass-erase for st-flash write commands
Force a flash mass erase instead a flash sector erase when programming the
flash by providing a '--mass-erase' flag for the 'write' and 'erase' commands.

Signed-off-by: Hannes Weisbach <weisbach@neosat.de>
2024-05-24 08:46:16 +02:00
nightwalker-87 3655871f8d General Project Update
- Updated CONTRIBUTING.md
- Updated list of supported devices (Closes #1398)
2024-05-19 00:04:17 +02:00
nightwalker-87 dce9d6e820
Merge pull request #1390 from Rocky04/fix_f4_sram_memory_map
Dynamic SRAM size for F4 memory map
2024-05-13 23:01:53 +02:00
AJ528 b67a6c33ca because signum is now being used, the line "(void)signum;" is no longer needed 2024-05-13 14:17:42 -05:00
ratman528 0c72598193 add a graceful way to terminate st-util 2024-05-11 12:37:26 -05:00
Ilgrim 0cb07935fc Making some modifications for be able to build these tools in OpenBSD 2024-05-08 21:53:48 +02:00
Rocky04 44c02d9c8c Dynamic SRAM size for F4 memory map
- Instead of using a fixed size of 128 KB for the SRAM memory map for F4 chips it now uses the definied SRAM size from the chip configuration
2024-05-02 09:55:05 +00:00
nightwalker-87 765ebda199
Merge pull request #1389 from florrant/stlink-v3pwr
[feature] Added support for STLINK-V3PWR
2024-04-26 19:08:05 +02:00
florrant Sazerac 2fea7597a3 Add support for stlink-v3pwr 2024-04-26 07:21:13 +02:00
nightwalker-87 5508663270
Merge pull request #1387 from bauen1/fix-gdb-osabi
st-util: supply osabi to gdb
2024-04-21 20:31:52 +02:00