Wykres commitów

1503 Commity (3f20a25cc0330b3a3e8093a93bba99d91227bbed)

Autor SHA1 Wiadomość Data
Chen Guokai 489a37e3c7 Document error fix 2020-04-25 18:13:08 +08:00
Chen Guokai 36bb77dd6f Cleanroom for flashloaders done 2020-04-25 15:25:27 +08:00
Chen Guokai 43ddace8f5 Merge branch 'develop' of https://github.com/hsupu/stlink into develop 2020-04-25 14:15:54 +08:00
xp 15e2e1d811 fix align 2020-04-25 14:08:58 +08:00
nightwalker-87 ade7118910 Merge branch 'develop' into pkg 2020-04-24 16:39:01 +02:00
nightwalker-87 5a1efc01f7 Updated cmake settings
- Distinguish test binaries from binaries
- Build all binaries to /bin subfolder
- Added comments to explain settings
- Moved header files for logging and mmap
2020-04-24 15:01:28 +02:00
Chen Guokai e30dcb4aad Merge branch 'develop' of https://github.com/hsupu/stlink into develop 2020-04-24 17:22:52 +08:00
xp 8bbedab020 fix typo 2020-04-24 17:21:32 +08:00
Chen Guokai 11bb057da8 Fix merge conflicts for cleanroom 2020-04-24 17:06:42 +08:00
xp 8aaf95abf6 rewrite flashloaders as clean room doc 2020-04-24 16:59:47 +08:00
Chen Guokai dfac4481c4 Merge branch 'develop' of https://github.com/chenguokai/stlink into develop 2020-04-24 16:46:09 +08:00
xp 43085438f2 update 2020-04-24 16:39:59 +08:00
Chen Guokai f8a2927797 Merge branch 'develop' of https://github.com/hsupu/stlink into develop 2020-04-24 14:48:55 +08:00
xp 14518803dd bugfix 2020-04-24 14:31:52 +08:00
Chen Guokai eb93492a91 Merge branch 'develop' of https://github.com/hsupu/stlink into develop 2020-04-24 14:11:14 +08:00
xp 44e2a4fdbd rewrite as clean room doc 2020-04-24 13:45:00 +08:00
nightwalker-87 22f44856ab Updated compiling manual
- Removed requirement for 7zip on Windows
- Added note on GNUInstallDir presets (#557)
2020-04-24 01:08:02 +02:00
nightwalker-87 3e3f782e5e Updated pkgconfig
(Closes #944)
2020-04-23 22:52:00 +02:00
nightwalker-87 39f22639ef Updated license file for deb package 2020-04-23 11:04:38 +02:00
nightwalker-87 5db2dc4c04 cmake replaces 7zip for package extraction
The exctraction of the libusb library archive on windows no longer 
requires an external unarchiver.
2020-04-23 11:03:15 +02:00
Oleksiy Slyshyk 7b42b3afa4 Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-22 13:45:17 +03:00
nightwalker-87 b53a207da4
Merge pull request #945 from chenguokai/issue663
Enhanced output for error msg "addr not a multiple of pagesize, not supported"
2020-04-22 12:21:10 +02:00
Oleksiy Slyshyk 07ec1998c5 Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-22 13:11:53 +03:00
Xim 180bb70cee
Merge branch 'develop' into issue663 2020-04-22 18:06:35 +08:00
Miklos Marton 0a91936b26 Merge remote-tracking branch 'upstream/develop' into add_stlink_v3_support 2020-04-22 12:00:57 +02:00
nightwalker-87 eac7eb687e
Merge pull request #942 from Glaeqen/glaeqen-msvc-guide
Added compilation guideline for MSVC toolchain
2020-04-22 11:56:36 +02:00
nightwalker-87 027c4b4cd1
Merge pull request #941 from grevaillot/to_merge/option2
[refactoring] Cleanup for option bytes and flash settings
2020-04-22 11:47:29 +02:00
Oleksiy Slyshyk 5b65b80e1f Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-22 12:38:03 +03:00
nightwalker-87 8de09dca2a
Merge pull request #934 from grevaillot/to_merge/gdbserver-v1v2
st-util: removed now useless v1/v2 STLink version stuff
2020-04-22 11:35:29 +02:00
Guillaume Revaillot 5e0fd8b61c doc: remove stlink version parameter selectors doc and examples 2020-04-22 11:15:58 +02:00
Guillaume Revaillot ad0e52540e doc: update doc to mention STLINK_DEVICE and --probe parameters if
applicable in all man files
2020-04-22 11:15:51 +02:00
Chen Guokai e9facddc3c Add more note about flash page size 2020-04-22 17:10:27 +08:00
Guillaume Revaillot 8e69625531 write option byte: final refactor
now that all flash family methods are aligned, refactor
main method to avoid duplicated lock/unlock, add info traces, and
map methods based on familly instead of a small subset of selected
devices.

nb1: f0/f1 support is still missing

nb2: option read/write is still conditioned by presence of option_base
and option_size in chipid.c, but adding more chips should only be
a matter of adding these two informations.
2020-04-22 10:36:41 +02:00
Guillaume Revaillot f29e1a6a03 common: warn on unsupported access.
should only happen currently after adding a new flash family.
2020-04-22 10:36:41 +02:00
Guillaume Revaillot 853468d174 common: whitespace fixes 2020-04-22 10:36:41 +02:00
Guillaume Revaillot a69a6fb681 use defines 2020-04-22 10:36:41 +02:00
Guillaume Revaillot c4d9936976 common: implement flash check error for l0 and f0 2020-04-22 10:36:41 +02:00
Guillaume Revaillot f23de8741a update l0/l1 option code:
merge l0/l1, code is the same except flash base, add wait states and relock
2020-04-22 10:36:41 +02:00
Guillaume Revaillot 70043c426c update gx option code: use helpers. 2020-04-22 10:36:41 +02:00
Guillaume Revaillot 9e53550d24 update l4 option code to use helpers, based on l496.
use generic unlock for l4, rename l496 to l4x, add wait flash busy,
complete chip id for l476 (and other)
2020-04-22 10:36:41 +02:00
Guillaume Revaillot 2cff67a59b update f2 and f4 option read/write code routines
1) no need to unlock option flash to read it.

"The option byte are always read-accessible and write-protected by default."

current device specific option read code now only differs from generic read code
by reading option bytes in the flash option byte register instead of option base.

2) f4 and f2 have similar registers : use the same write code, with flash/option lock
helpers. add flash busy wait and relock at end of access.

3) add f446 option info to chip id
2020-04-22 10:36:41 +02:00
Guillaume Revaillot 29cfb7deb6 common: add some l0/l1 support in helpers
give l0/l1 some love - l0/l1 are a bit specific regarding keys,
bits, and lock registers.

Also make handling of f0/f1 explicit: ultimate goal is to have some
sanity check and clear codepath in that code in case some new target
is added - and that the whole code uses these helpers.

some work should be done to refactor a bit the flash register mapping
based on family, but not yet.

lo lock
2020-04-22 10:36:41 +02:00
Guillaume Revaillot 4a2881413a common: add some flash option lock/unlock helpers 2020-04-22 10:36:41 +02:00
Chen Guokai 1752c123b4 Fix issue 663 with enhanced error output 2020-04-22 15:02:23 +08:00
Miklós Márton 09ea99aea5 Add support for STLink V3
Flash programming is broken
2020-04-21 23:11:33 +02:00
Oleksiy Slyshyk 784cecb88a Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-21 21:18:55 +03:00
nightwalker-87 9373f13393 Updated CHANGELOG.md 2020-04-21 15:55:39 +02:00
Oleksiy Slyshyk 4b84dbfe85 Merge branch 'develop' of https://github.com/texane/stlink into develop 2020-04-21 16:50:55 +03:00
nightwalker-87 60be843f00
Merge pull request #943 from grevaillot/to_merge/probe_unconnected_target
handle probed STlink programmer with unconnected target properly
2020-04-21 15:42:27 +02:00
Oleksiy Slyshyk ef8c23d88e Merge branch 'develop' of https://github.com/texane/stlink into develop
# Conflicts:
#	cmake/modules/Findlibusb.cmake
2020-04-21 16:11:58 +03:00