]>
git.gag.com Git - fw/stlink/log
Jerry Jacobs [Mon, 16 May 2016 14:08:27 +0000 (16:08 +0200)]
Merge pull request #416 from texane/stlink_gui_fix_warning_overflow
stlink_gui: Fix compiler warning on overflow
Jerry Jacobs [Mon, 16 May 2016 13:55:34 +0000 (15:55 +0200)]
stlink_gui: Fix compiler warning on overflow
Jerry Jacobs [Mon, 16 May 2016 13:47:02 +0000 (15:47 +0200)]
Merge pull request #415 from texane/chipid_refactor
Move chipid defines and deduplicate chipid params code
Jerry Jacobs [Mon, 16 May 2016 08:21:04 +0000 (10:21 +0200)]
Move chipid defines and deduplicate chipid params code
Jerry Jacobs [Mon, 16 May 2016 07:52:26 +0000 (09:52 +0200)]
Merge pull request #414 from raron/master
Add L0 Category 2 device (chip id: 0x425), fixes #380
Áron RADICS [Mon, 16 May 2016 01:52:46 +0000 (03:52 +0200)]
Add L0 Category 2 device (chip id: 0x425)
Jerry Jacobs [Fri, 13 May 2016 10:16:16 +0000 (12:16 +0200)]
Update ISSUE_TEMPLATE.md
texane [Wed, 11 May 2016 16:56:26 +0000 (18:56 +0200)]
Fixing NULL to char assignment
Jerry Jacobs [Wed, 11 May 2016 16:54:41 +0000 (18:54 +0200)]
README.md: Document build dependencies, fixes #362
Jerry Jacobs [Wed, 11 May 2016 16:32:16 +0000 (18:32 +0200)]
Merge pull request #410 from texane/travis-build-gui
Reorganize stlink-gui and update README, add building gui with Travis
Jerry Jacobs [Wed, 11 May 2016 05:33:41 +0000 (07:33 +0200)]
Reorganize stlink-gui and update README, add building gui with Travis CI on linux
texane [Mon, 9 May 2016 09:13:53 +0000 (11:13 +0200)]
Merge pull request #408 from tomdeboer/STML1_Fix
Fixing and merging of STM32L0 and STM32L1 loaders
Tom de Boer [Mon, 9 May 2016 08:55:57 +0000 (10:55 +0200)]
Formatted comments and stm32lx.s
Tom de Boer [Mon, 9 May 2016 08:51:15 +0000 (10:51 +0200)]
Piotr Haber [Mon, 9 May 2016 06:45:50 +0000 (08:45 +0200)]
merge L0 and L1 flash loader
Piotr Haber [Fri, 6 May 2016 07:08:31 +0000 (09:08 +0200)]
fix for L0 flash loader
Piotr Haber [Mon, 9 May 2016 06:22:11 +0000 (08:22 +0200)]
Revert "Merge pull request #407 from tomdeboer/STML1_Fix"
This reverts commit
a591a30f85a3e6b152f94cd5cc1eb5ae113a3517 , reversing
changes made to
0bb22e9ed6c2c0899fc31ee71dcbc59f1211d893 .
Tom de Boer [Fri, 6 May 2016 11:47:00 +0000 (13:47 +0200)]
Fixed the STM32L-problem according to @gluedig
See https://github.com/texane/stlink/issues/390#issuecomment-
217382832
texane [Fri, 6 May 2016 15:27:06 +0000 (17:27 +0200)]
Merge pull request #407 from tomdeboer/STML1_Fix
Fix for broken STML0 and STML1
Tom de Boer [Fri, 6 May 2016 11:47:00 +0000 (13:47 +0200)]
Fix for broken STML0 and STML1
Commits
907383da8ef95fedc630cdf7cf102d44ae229200 and
e43a737c3c9ffe56045181b306509c942fd9998a were causing issues for people with STML0's and STML1's. This commit reverses the changes in these two commits.
texane [Fri, 6 May 2016 06:14:16 +0000 (08:14 +0200)]
Merge pull request #406 from gluedig/L0x_cat5_merge
Add support for L0x Category 5 devices
Piotr Haber [Thu, 24 Mar 2016 09:03:31 +0000 (10:03 +0100)]
Add support for L0x Category 5 devices
Jerry Jacobs [Thu, 5 May 2016 18:02:30 +0000 (20:02 +0200)]
Update LICENSE with stlink contributors and notice license in README
Jerry Jacobs [Thu, 5 May 2016 17:49:16 +0000 (19:49 +0200)]
README.md: Recover removed symlink to README
Jerry Jacobs [Thu, 5 May 2016 12:46:42 +0000 (14:46 +0200)]
Reorganize files:
* Header files moved into include/stlink
* doc/tutorial.{pdf/tex} converted to markdown for rendering by github and easy editing
* Remove `stlink-` suffix from some C source files and move into `src/tools`
Jerry Jacobs [Thu, 5 May 2016 13:19:22 +0000 (15:19 +0200)]
Add ChangeLog.md before bump to v1.2.0
Jerry Jacobs [Thu, 5 May 2016 10:55:58 +0000 (12:55 +0200)]
stlink-usb: Rewrite warning libusb_claim_interface, to be more human friendly. Fixes as discussed in #303
Jerry Jacobs [Thu, 5 May 2016 10:52:58 +0000 (12:52 +0200)]
CMake: Dont use pkg-config to find libusb on Mac OSX, rewrite to CMake find module (tested on homebrew only)
Jerry Jacobs [Tue, 3 May 2016 19:09:21 +0000 (21:09 +0200)]
ISSUE_TEMPLATE.md, fix typo
Jerry Jacobs [Tue, 3 May 2016 19:08:19 +0000 (21:08 +0200)]
Add github ISSUE_TEMPLATE.md
texane [Mon, 2 May 2016 16:01:19 +0000 (18:01 +0200)]
Merge pull request #405 from xor-gate/travis-add-autotools-build
Travis add autotools build
Jerry Jacobs [Mon, 2 May 2016 15:11:56 +0000 (17:11 +0200)]
Merge remote-tracking branch 'upstream/master' into travis-add-autotools-build
* upstream/master:
st-info: --probe: Due to already claimed stlink one of them was zero. Fixes #401.
Jerry Jacobs [Mon, 2 May 2016 15:01:53 +0000 (17:01 +0200)]
TravisCI: Add building with autotools, catches bugs early as seen by issue #403
texane [Mon, 2 May 2016 15:05:30 +0000 (17:05 +0200)]
Merge pull request #404 from xor-gate/fix-st-info-probe-last-empty
st-info: --probe: Due to already claimed stlink one of them was zero
Jerry Jacobs [Mon, 2 May 2016 14:47:23 +0000 (16:47 +0200)]
st-info: --probe: Due to already claimed stlink one of them was zero. Fixes #401.
texane [Sun, 1 May 2016 07:03:10 +0000 (09:03 +0200)]
fix: remove st_probe variables from automake
texane [Sat, 30 Apr 2016 06:51:56 +0000 (08:51 +0200)]
update README
texane [Fri, 29 Apr 2016 08:45:57 +0000 (10:45 +0200)]
Merge pull request #400 from xor-gate/st-info-add-openocd-hla-serial
st-info: Add support for OpenOCD hla_serial printing
Jerry Jacobs [Fri, 29 Apr 2016 07:44:22 +0000 (09:44 +0200)]
st-info: Add support for OpenOCD hla_serial printing
texane [Sun, 24 Apr 2016 07:25:51 +0000 (09:25 +0200)]
Fix issue #399: Some Nucleo devices (L476RG) do not return a valid serial
texane [Sat, 16 Apr 2016 06:05:28 +0000 (08:05 +0200)]
Merge pull request #398 from xor-gate/refactoring
Refactoring some code, merge st-probe and fixup #318 serial print
texane [Sat, 16 Apr 2016 06:04:03 +0000 (08:04 +0200)]
Merge pull request #397 from xor-gate/st-probe-libusb-fix
st-probe: Fix hang when user has no libusb access
Jerry Jacobs [Fri, 15 Apr 2016 21:35:11 +0000 (23:35 +0200)]
stlink_open_usb: Fix issue where serial is not cached when serial is not compared in search
Jerry Jacobs [Fri, 15 Apr 2016 21:09:45 +0000 (23:09 +0200)]
* Merge st-probe tool into st-info
* Fixup #318 serial print in stlink probe with trailing zeros
* Refactor stlink-usb.h with some doxygen-style comments
* Refactor some pieces of stlink_open_usb
Jerry Jacobs [Fri, 15 Apr 2016 20:20:22 +0000 (22:20 +0200)]
Fix hang when user has no libusb access because of plugdev under e.g linux.
Add some better sanity checking when using libusb_open and cleanup accordingly.
Fixes hang (debian 8, amd64, libusb 1.0.19):
libusb: warning [add_to_flying_list] failed to arm first timerfd (errno 9)
libusb: warning [libusb_close] internal signalling write failed, closing anyway
texane [Fri, 15 Apr 2016 14:24:56 +0000 (16:24 +0200)]
Merge pull request #396 from xor-gate/cmake-fixes
Add -fPIC compiler flag, remove st-info from libstlink.a
Jerry Jacobs [Fri, 15 Apr 2016 13:53:35 +0000 (15:53 +0200)]
Add -fPIC compiler flag, remove st-info from libstlink.a which is already specified by the st-info tool
texane [Fri, 8 Apr 2016 07:06:30 +0000 (09:06 +0200)]
Merge pull request #395 from halt-hammerzeit/master
Styling
Nikolay [Fri, 8 Apr 2016 00:26:30 +0000 (03:26 +0300)]
driver README minor edits
Nikolay [Fri, 8 Apr 2016 00:16:59 +0000 (03:16 +0300)]
renaming the README file to README.md
Nikolay [Fri, 8 Apr 2016 00:12:48 +0000 (03:12 +0300)]
Beautify + El Capitan confirmation
texane [Thu, 7 Apr 2016 11:58:39 +0000 (13:58 +0200)]
Merge pull request #393 from xor-gate/cmake-better-cflags
cmake: Extend cflags and add Debug build type to be debuggable with gdb
Jerry Jacobs [Thu, 7 Apr 2016 11:01:32 +0000 (13:01 +0200)]
Merge with master
texane [Thu, 7 Apr 2016 10:22:10 +0000 (12:22 +0200)]
Merge pull request #394 from xor-gate/st-probe-busy-segfault
st-probe: Fix segfault when programmer is already busy
texane [Thu, 7 Apr 2016 10:20:44 +0000 (12:20 +0200)]
Merge pull request #392 from xor-gate/travis
travis: Initial continues integration build on linux and osx
Jerry Jacobs [Thu, 7 Apr 2016 10:08:05 +0000 (12:08 +0200)]
st-probe: Fix segfault when programmer is already busy and null pointers are in the list
Jerry Jacobs [Thu, 7 Apr 2016 09:58:16 +0000 (11:58 +0200)]
cmake: Add -ggdb flag when CMAKE_BUILD_TYPE=Debug, add more usefull and stricter compiler flags when supported
Jerry Jacobs [Thu, 7 Apr 2016 08:01:20 +0000 (10:01 +0200)]
travis: Initial continues integration build on linux and osx
* Fixup README to render HTML from Markdown
* Fixup CMakeLists.txt to have a lower working minimum version
* Add .travis.yml and .travis.sh for autobuild
texane [Wed, 6 Apr 2016 15:43:55 +0000 (17:43 +0200)]
Merge pull request #391 from xor-gate/st-probe
st-probe: Initial working stlink_probe_* API and CLI tool
Jerry Jacobs [Wed, 6 Apr 2016 12:35:57 +0000 (14:35 +0200)]
st-probe: Initial working stlink_probe_* API and CLI tool
texane [Sat, 2 Apr 2016 16:52:07 +0000 (18:52 +0200)]
Merge pull request #389 from tobbad/master
Trace the read data in stlink_read_debug32 and not the address of the…
Tobias Badertscher [Sat, 2 Apr 2016 16:18:39 +0000 (18:18 +0200)]
Trace the read data in stlink_read_debug32 and not the address of the variable.
texane [Sat, 2 Apr 2016 14:37:29 +0000 (16:37 +0200)]
Merge pull request #388 from tobbad/master
Proper writing of page 0 of second bank for stm32l476xe.
Tobias Badertscher [Sat, 2 Apr 2016 13:19:27 +0000 (15:19 +0200)]
Proper writing of page 0 of second bank for stm32l476xe.
texane [Sun, 20 Mar 2016 06:19:26 +0000 (07:19 +0100)]
Merge pull request #386 from l29ah/texane-master
avoid reading from NULL
Sergey Alirzaev [Sun, 20 Mar 2016 02:28:07 +0000 (05:28 +0300)]
avoid reading from NULL
texane [Thu, 17 Mar 2016 18:27:14 +0000 (19:27 +0100)]
fix: FLASH_F4_CR_LOCK
texane [Wed, 16 Mar 2016 19:27:37 +0000 (20:27 +0100)]
fix: chip_id now a pointer, dereference
fabien.lementec [Wed, 16 Mar 2016 10:33:57 +0000 (11:33 +0100)]
fix: stlink_version return code
texane [Mon, 14 Mar 2016 16:20:16 +0000 (17:20 +0100)]
Merge pull request #384 from mcoquelin-stm32/cleanups
Cleanups
Maxime Coquelin [Mon, 14 Mar 2016 14:09:22 +0000 (15:09 +0100)]
stlink-common: Ensure flash type is properly declared in device params
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Mon, 14 Mar 2016 13:53:32 +0000 (14:53 +0100)]
stlink-common: Fix STM32L4 loader write count to reflect 64bits granularity
The stm32l4 loader expects a count of 32 bits words while its granularity is
really 64 bits.
This patch fixes this to simplify count calculation in run_flash_loader().
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Mon, 14 Mar 2016 13:22:54 +0000 (14:22 +0100)]
stlink-common: Update STM32L0/1 loaders to return remaining count in r2
All the loaders returns remaining work count in r2, except stm32l0/1.
Make these loaders behaving as the others to simplify run_flash_loader() code.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Mon, 14 Mar 2016 12:32:48 +0000 (13:32 +0100)]
stlink-common: Update STM32L0 and STM32L1 loader ABI
This patch invert source and destination registers in the stm32l0 and stm32l1
loaders, so that it follows the same ABI as other stm32 loaders.
Doing that, the run_flash_loader() function can be simplified a little.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Mon, 14 Mar 2016 12:01:23 +0000 (13:01 +0100)]
stlink-common: Simplify run_flash_loader()
This patch simplifies run_flash_loader() function in preparation for error
propagation from backends.
Doing this, we have less call sites for stlink API.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Fri, 11 Mar 2016 17:51:15 +0000 (18:51 +0100)]
stlink-common: Introduce type of flash controller enum
Having a type of flash information has some advantages:
- Make the code easier to read
- Make adding family derivatives easier (only add a new entry in header file)
- Make the backends error propagation easier to implement (less places to fix)
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Fri, 11 Mar 2016 15:57:34 +0000 (16:57 +0100)]
st-flash: Improve error handling
Now that libusb errors are propagated up to stlink API, we can handle these
errors.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Fri, 11 Mar 2016 14:27:56 +0000 (15:27 +0100)]
stlink-common: Make stlink API propagate backend errors
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Fri, 11 Mar 2016 10:16:41 +0000 (11:16 +0100)]
Make the backends propagate errors
As the libusb returns errors, make the backends propagates them so that
callers can decide to continue or stop task execution.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Thu, 10 Mar 2016 15:39:26 +0000 (16:39 +0100)]
stlink_target_voltage: Check for libusb error
_stlink_usb_target_voltage already returns an error value.
If value return is positive, this is a voltage, if negative this is an error.
Check the return on callers side to inform there is an error in reading the
voltage, instead of notifying of a too low voltage.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Thu, 10 Mar 2016 15:26:48 +0000 (16:26 +0100)]
stlink_core_id: No need to return core_id value
This rework is done in order to prepare for propagating errors returned by
libusb.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Maxime Coquelin [Thu, 10 Mar 2016 15:15:57 +0000 (16:15 +0100)]
read_debug32: Use a pointer instead of returning the value
This rework is done in order to prepare for propagating errors returned by
libusb.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
texane [Fri, 11 Mar 2016 21:33:06 +0000 (22:33 +0100)]
Merge pull request #383 from xor-gate/cmake-add-st-info
Add st-info to CMakeLists.txt
Jerry Jacobs [Fri, 11 Mar 2016 21:13:09 +0000 (22:13 +0100)]
Add st-info to CMakeLists.txt
texane [Sat, 27 Feb 2016 18:17:19 +0000 (19:17 +0100)]
be quicker about determining erased byte pattern when flashing, more readable code
texane [Sat, 27 Feb 2016 18:12:27 +0000 (19:12 +0100)]
Merge pull request #377 from gtalusan/master
be quicker about determining erased byte pattern when flashing
George Talusan [Sat, 27 Feb 2016 16:41:39 +0000 (11:41 -0500)]
be quicker about determining erased byte pattern when flashing
texane [Tue, 23 Feb 2016 05:52:15 +0000 (06:52 +0100)]
Merge pull request #376 from gtalusan/master
make st-flash clean up on sigint/term/segv, make gdb-server clean up on sigsegv.
George Talusan [Tue, 23 Feb 2016 01:07:43 +0000 (20:07 -0500)]
make st-flash clean up on sigint/term/segv, make gdb-server clean up on sigsegv.
texane [Mon, 22 Feb 2016 17:43:35 +0000 (18:43 +0100)]
Merge pull request #375 from gtalusan/master
make usb backend status check work, remove some dead code
George Talusan [Mon, 22 Feb 2016 16:41:48 +0000 (11:41 -0500)]
make usb backend status check work, remove some dead code
texane [Fri, 19 Feb 2016 17:33:24 +0000 (18:33 +0100)]
Merge pull request #374 from gtalusan/master
use libusb synchronous api
George Talusan [Fri, 19 Feb 2016 16:11:31 +0000 (11:11 -0500)]
use libusb synchronous api
texane [Fri, 19 Feb 2016 06:12:11 +0000 (07:12 +0100)]
Merge pull request #371 from gtalusan/master
remove empty byte truncation from stlink_fread
texane [Fri, 19 Feb 2016 06:10:00 +0000 (07:10 +0100)]
Merge pull request #372 from gtalusan/gdb-bigread
clamp gdb memory reads to 0x1800
George Talusan [Fri, 19 Feb 2016 05:04:44 +0000 (00:04 -0500)]
clamp gdb memory reads to 0x1800
George Talusan [Fri, 19 Feb 2016 03:56:27 +0000 (22:56 -0500)]
remove empty byte truncation from stlink_fread
fabien.lementec [Mon, 15 Feb 2016 13:55:09 +0000 (14:55 +0100)]
Added STM32F051R8T6
texane [Wed, 3 Feb 2016 22:45:52 +0000 (23:45 +0100)]
Merge pull request #370 from brunowonka/STM32L4_flash_fix
Stm32 l4 flash fix
Bruno Dal Bo [Wed, 3 Feb 2016 21:10:54 +0000 (13:10 -0800)]
clean SR flags before programming CR