Wykres commitów

1304 Commity (977576215e64b9b138fff890f8fbf52d17572e4d)

Autor SHA1 Wiadomość Data
Gwenhael Goavec-Merou 738e48eed5 Do not issue JTAG reset on stlink-v1 2019-09-02 14:35:35 +02:00
Jerry Jacobs 4909dd808a README.md: Add notice of wanted project maintainer 2019-08-17 10:42:14 +02:00
WRR 156871d55e Add support for STM32G031 and STM32G041 chips. Including the 8-pin STM32G031J6 :D 2019-08-12 11:37:00 -07:00
MFaehling 44aab55ddc
Add aliased SRAM2 region in the L496 memory map
The SRAM2 on the L496 devices is aliased at 0x2004000. With this change, it's possible to read the SRAM2 contents at the aliased addresses.
2019-08-10 19:46:01 +02:00
William Ransohoff 8c8285f47e Add support for STM32G4 series 2019-07-26 20:31:24 -07:00
WRansohoff 9899ab9e67
Merge pull request #3 from texane/master
Merge recent changes from upstream
2019-07-26 10:48:10 -07:00
Benjamin Henrion f5d072f769
Merge pull request #1 from zoobab/debianubuntu
Add stlink-tools link for Debian and Ubuntu
2019-07-26 13:21:28 +02:00
Benjamin Henrion 728049b244
Add stlink-tools link for Debian and Ubuntu
Add stlink-tools link for Debian and Ubuntu
2019-07-26 13:19:32 +02:00
eupn 625f4cd572 WB55: fix flash verification error (#816)
* Clear previously written page number (if any)
* Remove unrelated change
2019-07-14 11:02:42 +02:00
WRansohoff 91cda2bb1b
Merge pull request #2 from texane/master
Update fork with recent upstream changes.
2019-07-02 09:36:17 -07:00
Vasiliy Zasukhin 84f63d25bd Add support for CS32F103C8T6 (#805)
CS32F103C8T6 is clone of STM32F103C8T6 but with incorrect core_id number.
2019-06-06 19:53:03 +02:00
Michael DL6AKU df3c2b0286 Allow for 64 Bytes serials (#809) 2019-06-06 19:50:22 +02:00
Slyshyk Oleksiy d040db5585 fixed few potential memory/resource leaks (#803)
also few cppcheck warnings
2019-05-13 16:58:30 +02:00
Slyshyk Oleksiy a3cb1a1569 build wor windows under Debian/Ubuntu (#802) 2019-05-11 19:41:57 +02:00
Eli Krumholz 189f253ce3 initial support for STM32L41X (#799) 2019-05-06 19:36:26 +02:00
WRansohoff cf677803d0 Fix apparent STM32G0 flashing issue. (#797)
* Add simple read/write support for STM32WB55 chips.

* Clean up and unify G0/WB erase/program operations.

* Fix apparent issue with STM32G0 flashing.
2019-04-26 08:00:30 +02:00
William Ransohoff 2117226105 Fix apparent issue with STM32G0 flashing. 2019-04-25 22:14:23 -07:00
WRansohoff 51960837c5
Merge pull request #1 from texane/master
Merge most recent version of STLink into the fork.
2019-04-25 22:03:52 -07:00
Kirill Zhumarin feb86618fa Support for "STM32+Audio" v2-1 firmware (#790)
* Add pid for "STM32+Audio" v2-1 firmware

* Add support for "STM32+Audio" v2-1 firmware,.

* Add udev rules for "STM32+Audio" firmware
2019-04-13 12:07:58 +02:00
Miklós Márton 224f6eee2a Add STLink V3SET VID:PIDs to the udev rules (#789) 2019-04-03 13:00:18 +02:00
WRansohoff 4ff515ef68 Add simple read/write support for STM32WB55 chips. (#786)
* Add simple read/write support for STM32WB55 chips.

* Clean up and unify G0/WB erase/program operations.
2019-03-31 18:41:57 +02:00
William Ransohoff d214716505 Clean up and unify G0/WB erase/program operations. 2019-03-31 09:31:34 -07:00
William Ransohoff d85cd81e2e Add simple read/write support for STM32WB55 chips. 2019-03-25 18:45:53 -07:00
Manuel Dipolt c6836b4ac9 Added support to write option bytes for the STM32G0 (#778)
* poc worked, writting stm32G070 option bytes

* Update README.md

adjust layout

* code review changes
2019-03-20 14:01:11 +01:00
Cerem Cem ASLAN 18ec7e239b fix typo (#779) 2019-03-15 19:34:39 +01:00
Cerem Cem ASLAN c9e0945755 Added howto for sending NRST signal through GDB (#776)
See https://github.com/texane/stlink/issues/774
2019-03-15 11:09:06 +01:00
Ronny Majani 522188db49 Added call to clear PG bit after Writing to Flash (#773) 2019-03-07 12:42:39 +01:00
aoand d13f946468 doc/compiling.md: fix package name "devscripts" (#775)
the command 'debuild' is (and always was) part of the devscripts package
2019-03-07 12:41:38 +01:00
Povilas Kanapickas 1165cf7127 gui: Fix relative path to the UI files needed by stlink-gui-local (#771) 2019-02-16 22:38:37 +01:00
Jerry Jacobs 3295ab4e5c Revert "Add support for CS32 micro-controller (#757)" (fixes #761)
This reverts commit 7651d2116f.
2019-02-12 21:07:35 +01:00
Slyshyk Oleksiy b9c315d990 win32: move usleep definition to unistd.h (#765) 2019-02-09 11:11:43 +01:00
Björn Mellström 8186d854ba Add support for mass erasing second bank on STM32F10x_XL (#767) 2019-02-09 11:10:15 +01:00
Jicksaw 30de1b30e7 Fix "unkown chip id", piped output and st-util -v (#763)
* Set SWD clock before using SWD (#107, #568 ?)

* Make st-util -v print more than default

* Flush output streams explicitly. Fix #665

On Win32 redirecting streams makes them buffered, therefore without
flushing there would be no output before exit. Stdout and stderr are
also often buffered differently, making them disordered.
2019-01-24 21:29:59 +01:00
Thomas Cenova af325bb989 This fixes the versioning when compiling from the repo checked out with git. (#762) 2019-01-24 21:27:08 +01:00
WRansohoff 0f1fc50429 Add preliminary support for some STM32G0 chips. (closes #759) (#760)
* Add preliminary support for some STM32G0 chips.

* Fix a bug in the 'which page to erase' logic.

When I flashed a program with more than one page, I noticed that this logic did not un-set previously-set 'PNG' bits. So it would erase page 1, then page 3, then page 3...
2019-01-24 21:25:25 +01:00
WRansohoff 6a9d390a72 Update STM32F3xx chip ID that covers a few different devices. (#758) 2019-01-13 09:04:21 +01:00
Victor Lamoine 7651d2116f Add support for CS32 micro-controller (#757) 2019-01-03 21:10:47 +01:00
Jiri Bilek 358a91395d Add O_BINARY option to open file. (#753)
See issue #752.
2018-12-21 12:54:56 +01:00
Dave Hylands 0a2b7a4ff0 Only do bank calculation on STM32L4 devices with dual banked flash (#751)
* Only do bank calculatio on SRM32L4 devices with dual banked flash

RM0394 covers the STM32L41xx, 42xx, 43xx, 44xx, 45xx, and 46xx. These
devices are all employ single banked flash and have chip id's
of 0x464 for the 41xx/42xx, 0x435 for 43xx/44xx, and 0x462 for 45xx/46xx
It's also worth noting that bit 21 of the FLASH_OPTR register is marked
as resevred for these chips, and isn't an indicator of dual banked
flash.

RM0392 covers the STM32L4x1, cpu_id 0x415 and can be dual banked.

RM0351 covers the STM32L4x5/4x6, cpu_ids 0x415 & 0x461 and can be dual
banked

RM0432 covers the STM32L4Rx/4Sx, cpu_id 0x470 and can be dual banked.

This PR modifies the calculate_L4_page functio to only factor bank
calculations for the devices above which can support dual banked flash.

* Converted tabs to spaces on added line
2018-12-14 20:31:23 +01:00
Jerry Jacobs a201d3e5bd
Update compiling.md
Fixes #748
2018-12-02 21:25:02 +01:00
Jerry Jacobs f87076fcbf
doc/man: Fix double dash issue (fixes #746) 2018-11-19 20:45:50 +01:00
Slyshyk Oleksiy e059ea7a55 Fix case when __FILE__ don't contain "/" nor "\\". (#745) 2018-10-30 17:56:36 +01:00
Gabriel Arjones 8c46827f54 Make udev rules and modprobe conf installation optional (#741) 2018-10-24 19:33:02 +02:00
Jerry Jacobs 7fafee24a5
Update README.md 2018-09-13 22:23:08 +02:00
Jerry Jacobs 3eab7b960f
Update ChangeLog.md 2018-09-13 22:20:46 +02:00
Jerry Jacobs 5edb9e1bb2
Update .version 2018-09-13 22:14:22 +02:00
Luc Hondareyte ae717b945d FreeBSD define LIBUSB_API_VERSION instead of LIBUSBX_API_VERSION. (#733) 2018-08-02 13:00:16 +02:00
donmr 27ce268a78 Mem write odd (#730)
* Use local variable for read_result instead of *ret, and fix
calculation of *ret for EOF case.

* Found a problem when reading an odd (%4) number of bytes at the end
of a file.  fread (on stm32) get them (say 3 bytes), then askes for
more.  do_semihosting gets a read return of 0 and tries to write that.
mem_write alters the address to be aligned and overwrites then 3 bytes
from the last read.

This change simply tells mem_write to do nothing if len is 0.

* Fix Issues from Fabien-Chouteau's review of my previous patch in isue #727.

* Revert change to mem_write() so it does not confuse fixes to do_semihosting().

* Add cast to avoid warning.

* Restore change to mem_write to return immeadiately if len == 0.
Add more comments on further possible issues and ways to handle them.
Using a branch to separate this change from others as it may need
more discussion and go on for a while...

* Remove cast of "-1" to uint32_t.  It's now compared to a ssize_t
and the compiler should be fine with that without any cast.
2018-08-01 11:05:31 +02:00
donmr ea98ab7bf2 Fix to cast in changes for SYS_READ. (#731)
* Remove cast of "-1" to uint32_t.  It's now compared to a ssize_t
and the compiler should be fine with that without any cast.
2018-08-01 11:03:35 +02:00
donmr 07a76b01ee Fixes to SYS_READ changes in PR #727 per review. (#729)
* Use local variable for read_result instead of *ret, and fix
calculation of *ret for EOF case.

* Found a problem when reading an odd (%4) number of bytes at the end
of a file.  fread (on stm32) get them (say 3 bytes), then askes for
more.  do_semihosting gets a read return of 0 and tries to write that.
mem_write alters the address to be aligned and overwrites then 3 bytes
from the last read.

This change simply tells mem_write to do nothing if len is 0.

* Fix Issues from Fabien-Chouteau's review of my previous patch in isue #727.

* Revert change to mem_write() so it does not confuse fixes to do_semihosting().

* Add cast to avoid warning.
2018-07-28 11:45:09 +02:00