david-beinder
f6650ab6f9
Implement WB05, WB06/07, WB09, WL3x
2025-04-16 23:43:39 +02:00
gnarf
44ae84aff6
wip: add BKER definition for G4
2025-03-03 13:32:21 +01:00
nightwalker-87
f2ad364ea9
Restructuring of stlink-lib
...
- Sourcefiles for STLINK programmer handling
- Clean-up for stlink functions
2025-01-13 00:11:48 +01:00
nightwalker-87
ed5ea0d549
Aligned naming for flash and option bytes #defines
2025-01-12 18:42:49 +01:00
nightwalker-87
b9bef5c3dc
Restructuring of stlink-lib
...
- Renamed #defines in stm32_register.h
- Updated note on ldconfig in compiling.md
- Minor formatting fixes
2025-01-12 17:32:54 +01:00
nightwalker-87
8654988ad2
Restructuring of stlink-lib
2025-01-12 12:46:30 +01:00
nightwalker-87
11e357ae2a
General project update
...
- Updated version_support
- Updated tutorial
- Updated CHANGELOG
- Updated list of contributors
- Fixed parsing of unit prefixes (Closes #1445 )
- Updated list of supported devices
- Added support for STM32C051/71/91 chips
- Added support for STM32U031/73/83 chips (Closes #1436 )
2025-01-08 21:48:43 +01: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
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
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
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
816730f4f7
[refactoring] Clean-up & bugfix for st-trace
2023-12-24 19:15:03 +01:00
nightwalker-87
e7f41b2965
Support for STLINK/v2 & /v3 max trace buffers
2023-12-24 12:08:08 +01:00
nightwalker-87
135a5472d9
Reverted commit ba335a47
...
"STM32F76xxx: Added flashing in dual bank mode"
2023-12-24 00:01:35 +01:00
nightwalker-87
ba335a47ab
STM32F76xxx: Added flashing in dual bank mode
...
(Closes #1174 )
2023-11-27 22:00:27 +01:00
nightwalker-87
ed558c9ac7
Merge branch 'develop' into develop
2023-11-23 20:12:57 +01:00
nightwalker-87
e212349460
Merge pull request #1354 from rcubee/c0
...
Added support for STM32C0x1.
2023-11-23 20:10:31 +01:00
Marcelo Barros de Almeida
e286f243ef
Fixing support for U5 chips (original U5x5.chip was not handling all U5 chips )
2023-11-14 00:27:19 -03:00
rcubee
99a2be4d28
initial commit
2023-11-11 17:27:05 +01:00
Mirko
e122764f21
forgot to include this
2023-11-08 22:58:05 +00:00
nightwalker-87
8fad9be9d0
[refactoring] Clean-up for stlink-lib
...
- Moved declarations for read/write functions to read_write.h .
- Checked & revised header includes
- Changed some datatypes for write_buffer_to_sram() to avoid explicit
casting.
2023-06-25 15:45:33 +02:00
nightwalker-87
2c337615c9
[refactoring] Clean-up for stlink-flash & -info
...
- Ensure proper function declaration
- Checked & revised header includes
2023-06-11 14:29:23 +02:00
nightwalker-87
5d3f3ec7f4
Set flash_type for STM32H5 devices
2023-06-10 21:37:01 +02:00
nightwalker-87
755c20c08e
Replace data types with fixed width typedefs (C99)
...
- Unified variable type: size_t --> uint32_t
- Removed unnecessary explicit casts
- Minor formatting fixes
2023-06-10 20:07:19 +02:00
nightwalker-87
be2e7e3883
[refactoring] Clean-up for stlink-lib
...
- Ensure proper function declaration
- Moved some functions to related modules
- Checked & revised header includes
- Renamed "md5" to "lib_md5"
- New source file "md5"
2023-06-09 01:28:22 +02:00
nightwalker-87
c8eaebc58e
Improvents for library documentation
...
- Renamed header file reg.h to register.h
- Added unified header comments for files
- [doc] flash_loader.h: // Static functions
2023-06-07 22:44:59 +02:00
nightwalker-87
5e85fd0639
Replace data types with fixed width typedefs (C99)
...
- Unified variable types (Closes #909 )
short --> int16_t
unsigned short --> uint16_t
int --> int32_t
unsigned int --> uint32_t
long --> int32_t
unsigned long --> uint32_t
long long --> int64_t
unsigned long long --> uint64_t
- Added missing header includes
2023-05-08 02:05:55 +02:00
nightwalker-87
b1c4de647c
Naming convention for header includes
2023-05-03 14:02:26 +02:00
nightwalker-87
5621d541d9
Resorted #defines in stm32flash.h
2023-05-03 13:55:19 +02:00
nightwalker-87
800c8616fb
Unified #define names for STM32 devices
2023-04-30 22:32:59 +02:00
nightwalker-87
7c2c953ff6
Unified chipid enum naming for L0 series
2023-04-30 19:21:17 +02:00
nightwalker-87
ab286988b4
Corrected preprocessor header includes
2023-04-30 18:52:14 +02:00
nightwalker-87
8af1dcb71e
Minor changes & fixes
...
- Simplified listing of supported devices
- Corrected #define STM32L5_PWR_CR1_VOS
- Check the return code of stlink_read_debug32
- Fix for flash register reading on L5x2 devices
2023-04-04 23:32:51 +02:00
nightwalker-87
186e38a0fa
Minor fixes & additions
...
- [doc] Update on OS version support
- Minor fixes for G0-series from #1293
- [doc] Added core-IDs for WB/WL-series
- [doc] Correction for G0/L0-series core-IDs
- Set option_size to 128 B for G0-series (#1194 )
2023-03-18 21:53:27 +01:00
nightwalker-87
2ff79959f4
Minor fixes & additions
...
- Corrected flash_pagesize for STM32U5
- Updated STM32 core IDs
- Added chip-id file for STM32H5 devices
2023-03-18 21:19:15 +01:00
nightwalker-87
b60a035404
Initial support for STM32 L5 & U5 devices
...
(References: #1005 #1096 #1247 )
2023-01-01 13:32:14 +01:00
nightwalker-87
dfff59d39f
Added support for STM32L4Q5 ( Closes #1224 )
2022-12-31 14:49:39 +01:00
nightwalker-87
194e6e9c6b
General project clean-up
...
- Removed orphaned old dev-documentation
- Rearranged src files belonging to stlink-lib
- Revised & sorted option byte source code
- Updated devices_boards.md
2022-12-28 22:21:47 +01:00
Gwenhael Goavec-Merou
c94b74e56a
stm32l1: fix flash, dbgmcu and rcc registers
2022-08-25 19:18:57 +02:00
Alex Klimaj
77fff346aa
Add writing and reading STM32WL option bytes
2022-02-16 12:34:37 -07:00
nightwalker-87
0011064797
Rolled-back deletion of recent changes
2022-01-30 15:47:55 +01:00
nightwalker-87
a41dd17852
Merge branch 'develop' into chipid_cleanup-common-c-refactor
2022-01-30 15:10:00 +01:00
nightwalker-87
e2dcf074d5
Fixed defines (CHIPID + COREID) & duplicates
2022-01-29 19:33:19 +01:00
nightwalker-87
d9e79fe295
Merge branch 'develop' into common-c-refactor
2022-01-28 22:07:34 +01:00
hydroconstructor
618a03a5df
common c refactor
...
Try to resolve conflicts with chipid_cleanup branch
2022-01-29 00:36:16 +04:00
hydroconstructor
fecd2baeae
Refactoring common.c
...
Added forgotten defines
2022-01-21 23:26:44 +04:00
nightwalker-87
8d96e769f3
Updated device parametres
...
- Human-readable FLASH_TYPE in .chip files
- Added enum for STM32_CORE_IDs
2022-01-20 23:19:10 +01:00
hydroconstructor
e5ff479d48
#1216 refactoring of common.c
...
File divided to some parts. Functions with "flash" in names extracted to common_flash.c, with "option" extracted to option.c etc.
Removed unnecessary headers.
Removed one single function which was used nowhere.
And so on.
Project built under Windows and seems to be working.
2022-01-20 12:54:14 +04:00
nightwalker-87
80b05c547e
Updated MCU core-ids
2022-01-17 00:39:57 +01:00