Wykres commitów

57 Commity (a99a626e6948b684515fe068e7b01b53b74c4678)

Autor SHA1 Wiadomość Data
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
nightwalker-87 e90ad8c26b
Merge branch 'develop' into chipid_cleanup 2022-01-16 19:57:36 +01:00
nightwalker-87 7509295222 [refactoring] Clean-up for headers & defines
- Removed additional extern "C" linkage specs
- Removed commented sections
- Moved out further device specific defines
- Renamed defines STM32_CHIP_ID_*
2022-01-16 19:31:22 +01:00
nightwalker-87 c854df5edd Updated MCU core-ids 2022-01-15 01:58:42 +01:00
Antoine Faure 74957efc9d Factorize address checks 2022-01-14 16:14:17 +13:00
Antoine Faure 8667990506 Allow to completely erase a page when size is not aligned 2022-01-13 11:41:14 +13:00
nightwalker-87 115f7c846a Transition to new enum stm32_chipids 2022-01-09 23:53:30 +01:00
nightwalker-87 9b07c1dc19 Transition to new enum stm32_flash_type 2022-01-09 22:55:56 +01:00
nightwalker-87 5cde863c03 Switch-over to new chip-files 2022-01-09 21:52:55 +01:00
nightwalker-87 14498bb3c0 Restructuring of STM32 definitions
- Moved enum stlink_stm32_chipids to stm32.h
- Moved additional MCU defines to stlink.h
- Minor formatting improvements
- Commented comparison for old/new chipid db
2022-01-09 16:39:54 +01:00
Antoine Faure 42790f3f16 st-flash erase addr size 2022-01-07 10:44:31 +13:00
nightwalker-87 e62b9e1f2a [refactoring] Clean-up & update for chipid files
- F0, F1, F2, F3, F4, F7
- G0, G4
- H7
- L0, L5, U5
- WB, WL
2022-01-06 19:30:49 +01:00
Grzegorz Szymaszek 929af2b047
Add a constant for the valid flash types range
Add a STLINK_FLASH_TYPE_MAX constant that can be used to check if a
flash type (an integer) is in the range of valid enum stlink_flash_type
values.
2021-07-30 10:14:17 +02:00
anton cab9fc4210 Improved command error messages 2021-05-22 23:40:36 +05:00
anton 03ad4a434d Added checking the command execution status 2021-05-17 00:20:54 +05:00
anton 22fba0249f Cleaned up code, made minor fixes 2021-05-15 22:32:57 +05:00
nightwalker-87 c115ab2e0f General Project Update
- Formatting fixes
- Commented CI build setting for Ubuntu 16.04
- Updated CHANGELOG.md
2021-04-24 14:16:29 +02:00
anton 6bd99d4b55 flash_loader: fixed interrupt masking 2021-04-06 22:03:52 +05:00
anton ee43e3b357 Unification of the reset function 2021-04-06 21:13:54 +05:00
anton 4334ce48b2 flash_loader: added reset of IWDG
If IWDG is enabled by hardware, then IWDG cannot be disabled by software
2021-04-04 13:35:22 +05:00
anton b0192478c8 Added disabling the DMA channels 2021-04-04 13:35:00 +05:00
anton ee2c9f508e Core ID reading rework 2021-03-23 22:33:00 +05:00
Tarek BOCHKATI 9ed3d46c24 fix for stlink old DFU serial number
omit the hla serial aka 'openocd serial'
Only one valid serial is used which matches the serial as displayed
in STM32CubeProgrammer and official ST tools.

Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2021-03-18 19:17:48 +01:00
John Hall cbd2633e64 Fixing binary compatibility with the stlink structure. 2020-12-07 11:10:19 -08:00
John Hall d5c63c3b11 Moving has_dual_bank into the flags field. 2020-12-07 11:06:59 -08:00
John Hall d1a9fd85e0 Moved register definitions to common reg.h file. 2020-12-07 10:12:23 -08:00
John Hall 3e9e2bb38a Adding back flag. 2020-12-06 11:01:02 -08:00
John Hall 373eee2cfe Adding back has_dual_bank.
Replacing flags field with has_swo_tracing.
2020-12-05 10:25:14 -08:00
nightwalker-87 2b54a11265
Merge branch 'develop' into st-trace 2020-12-05 13:13:45 +01:00
nightwalker-87 b47f083736
Merge pull request #1071 from Ant-ON/try_h7_debug
[feature] Improved support for STM32H7
2020-12-05 11:48:44 +01:00
John Hall ac104ebabe Allowed configuring trace frequency. 2020-12-01 13:47:04 -08:00
John Hall 4f762501c2 Using debug instead of write.
Fixing buffer semantics.
2020-12-01 12:08:29 -08:00
John Hall 793088f438 Updating to use chip flags instead of multiple boolean values. 2020-12-01 10:25:55 -08:00
John Hall 3188fb48d1 Updating to use register names to make code more readable. 2020-11-30 19:39:43 -08:00
John Hall 568b0d130a Adding backend code to start/stop tracing and to read the incoming data. 2020-11-27 09:37:50 -08:00
Ant-ON 54000d67ac H7 add support dual bank, mass erase and new chips 2020-11-09 13:41:51 +05:00
Ant-ON 43019fcde9 Fix change SWD frequency of stlink v3 2020-11-05 19:34:22 +05:00
Ant-ON ddd39354b5 Trying to use a soft reset before starting debugging 2020-11-03 14:49:19 +05:00
Ant-ON a7ea06d7d9 Remove duplicate register definitions 2020-11-03 10:23:07 +05:00
Ant-ON 4d07eb363d Split flash write function to optimize gdb flash loading 2020-11-02 21:52:13 +05:00
Timothy Lee e5dcb5048c [feature] support STM32F4 option bytes 2020-10-27 20:28:48 +11:00