]>
git.gag.com Git - fw/stlink/log
Michael Pratt [Mon, 9 Jul 2012 01:04:30 +0000 (21:04 -0400)]
Read Cortex M4F floating point registers
Since the ST-LINK does not seem to support reading these registers, I
have implemented functions that will manually request these registers
and add them to the reg struct.
As of now, these functions are just backend and are not integrated into
anything, however I have verified that they work with the STM32F407
DISCOVERY board.
Michael Pratt [Sun, 8 Jul 2012 19:52:00 +0000 (15:52 -0400)]
Merge remote-tracking branch 'upstream/master'
Michael Pratt [Sun, 8 Jul 2012 19:49:36 +0000 (15:49 -0400)]
Updated .gitignore to include test binaries
texane [Tue, 3 Jul 2012 13:20:23 +0000 (06:20 -0700)]
Merge pull request #99 from TheSeven/master
Fix misinterpreted monitor commands
Michael Sparmann [Tue, 3 Jul 2012 13:10:07 +0000 (15:10 +0200)]
Fix "monitor reset" gdb command being misinterpreted as "monitor resume"
by checking for the full word, not just the first two chars.
texane [Thu, 21 Jun 2012 05:16:23 +0000 (22:16 -0700)]
Merge pull request #98 from karlp/master
page count is wrong when writing to 32L
Karl Palsson [Thu, 3 May 2012 22:05:32 +0000 (22:05 +0000)]
Display proper final page write count for 32L
texane [Wed, 20 Jun 2012 19:40:45 +0000 (12:40 -0700)]
Merge pull request #97 from karlp/kill_examples
Kill examples and update the docs
Karl Palsson [Wed, 20 Jun 2012 19:35:46 +0000 (19:35 +0000)]
Update tutorial documentation to reflect current code.
Karl Palsson [Wed, 20 Jun 2012 19:16:40 +0000 (19:16 +0000)]
Update primary README with current documentation
Karl Palsson [Wed, 20 Jun 2012 19:01:27 +0000 (19:01 +0000)]
Examples have no place in stlink codebase.
They should be in a standalone repository, that can focus on clean,
easy to follow, well documented, well tested examples.
If you just want some example binaries that you can use to test your
installation is working, the libopencm3 project has various blink
projects for all the STM32 Discovery boards.
texane [Fri, 8 Jun 2012 14:57:31 +0000 (07:57 -0700)]
Merge pull request #93 from zyp/master
Added flash loader stub for F2/F4.
Vegard Storheil Eriksen [Thu, 7 Jun 2012 21:16:19 +0000 (23:16 +0200)]
Added flash loader stub for F2/F4.
texane [Thu, 7 Jun 2012 16:23:57 +0000 (09:23 -0700)]
Merge pull request #91 from UweBonnes/master
st-flash: Honor read size, when given and add \n to mesage when no STLINK found
Uwe Bonnes [Thu, 7 Jun 2012 16:13:43 +0000 (18:13 +0200)]
Add \n to WLOG when no STLINK found
Uwe Bonnes [Thu, 7 Jun 2012 16:03:23 +0000 (18:03 +0200)]
st-flash: Honor size, if given
texane [Sun, 3 Jun 2012 17:28:42 +0000 (10:28 -0700)]
Merge pull request #86 from szczys/master
Added support for the STM32F0-Discovery board
Mike Szczys [Sun, 3 Jun 2012 15:47:18 +0000 (10:47 -0500)]
Added STM32F0-Discovery board to the blink example code
Mike Szczys [Sun, 3 Jun 2012 15:44:48 +0000 (10:44 -0500)]
Added memory map for STM32F05xxx chips
Mike Szczys [Sun, 3 Jun 2012 15:39:34 +0000 (10:39 -0500)]
Corrected F0 DBGMCU_IDCODE register address
Fabien Le Mentec [Sun, 3 Jun 2012 06:40:27 +0000 (01:40 -0500)]
[ update ] F0 chip id
Fabien Le Mentec [Sat, 26 May 2012 14:48:48 +0000 (09:48 -0500)]
[ fix ] apply jserv@0xlab.org patch, 0001-trivial-documentation-fix-for-st-util-path
texane [Sat, 26 May 2012 14:33:01 +0000 (07:33 -0700)]
Merge pull request #84 from Tectu/master
Fixed option bytes
Tectu [Fri, 25 May 2012 15:05:44 +0000 (17:05 +0200)]
fixed option bytes amount
Fabien Le Mentec [Thu, 17 May 2012 06:39:16 +0000 (01:39 -0500)]
[ fix ] missing LIBUSB_CALL definition
texane [Thu, 17 May 2012 06:21:02 +0000 (23:21 -0700)]
Merge pull request #79 from WinterMute/mingw-mmap
Mingw mmap reimplementation
Dave Murphy [Wed, 16 May 2012 22:41:42 +0000 (23:41 +0100)]
use BSD timersub
Dave Murphy [Wed, 16 May 2012 22:31:07 +0000 (23:31 +0100)]
bump version
Dave Murphy [Wed, 16 May 2012 21:44:31 +0000 (22:44 +0100)]
add COPYING to repository to avoid license confusion
Dave Murphy [Wed, 16 May 2012 21:22:54 +0000 (22:22 +0100)]
fix whitespace
Dave Murphy [Wed, 16 May 2012 21:15:38 +0000 (22:15 +0100)]
reimplement mingw mmap
texane [Mon, 14 May 2012 15:18:46 +0000 (08:18 -0700)]
Merge pull request #77 from WinterMute/mingw
Changes to allow compiling for windows using mingw toolchains
Dave Murphy [Mon, 14 May 2012 11:35:30 +0000 (12:35 +0100)]
Merge branch 'master' into mingw
Dave Murphy [Mon, 14 May 2012 09:57:41 +0000 (10:57 +0100)]
ignore elf files in example
Dave Murphy [Mon, 14 May 2012 09:55:55 +0000 (10:55 +0100)]
bump stlink version
Dave Murphy [Sun, 13 May 2012 21:57:27 +0000 (22:57 +0100)]
use sys/time.h for mingw compatiblity, use LIBUSB_CALL modifier for callback
Dave Murphy [Sun, 13 May 2012 21:55:41 +0000 (22:55 +0100)]
cast to avoid pointer warning
Dave Murphy [Sun, 13 May 2012 21:54:26 +0000 (22:54 +0100)]
fix signedness warning
texane [Fri, 11 May 2012 18:14:04 +0000 (11:14 -0700)]
Merge pull request #76 from prattmic/master
Fixed issue #66
Michael Pratt [Fri, 11 May 2012 18:11:12 +0000 (14:11 -0400)]
Fixed issue #66 - Fixed the F4 memory map to include CCM RAM. https://github.com/texane/stlink/issues/66
Dave Murphy [Sun, 29 Apr 2012 18:44:51 +0000 (19:44 +0100)]
prototype main function properly
Dave Murphy [Sun, 29 Apr 2012 18:30:27 +0000 (19:30 +0100)]
wrap read/write socket functions on mingw
Dave Murphy [Sun, 29 Apr 2012 17:49:08 +0000 (18:49 +0100)]
allow use of %zx format specifier om mingw
Dave Murphy [Sun, 29 Apr 2012 17:48:26 +0000 (18:48 +0100)]
use WSAStartup on windows, replace bzero with memset
Dave Murphy [Sun, 29 Apr 2012 17:47:38 +0000 (18:47 +0100)]
undefine macros for socket redirection, fix warnings
Dave Murphy [Sun, 29 Apr 2012 17:45:37 +0000 (18:45 +0100)]
use correct headers
Dave Murphy [Sun, 29 Apr 2012 13:43:46 +0000 (14:43 +0100)]
build with mingw
Dave Murphy [Sun, 29 Apr 2012 13:09:06 +0000 (14:09 +0100)]
update ignores for generated files
Dave Murphy [Sat, 28 Apr 2012 21:55:23 +0000 (22:55 +0100)]
Changes for compiling with mingw32
add mmap & pread functions when compiling for systems that don't provide them
don't use libtoolize, stick with static libraries
Dave Murphy [Sat, 28 Apr 2012 01:13:58 +0000 (02:13 +0100)]
autoconfiscate
texane [Tue, 24 Apr 2012 05:16:12 +0000 (22:16 -0700)]
Merge pull request #73 from xgoat/master
Fix an unused parameter compiler warning
Rob Spanton [Mon, 23 Apr 2012 22:19:55 +0000 (23:19 +0100)]
Fix an unused parameter warning
test_sg.c's main doesn't use its argv parameter, and so the compiler
warns us this is the case. This patch stops it from warning us.
texane [Wed, 8 Feb 2012 17:00:42 +0000 (09:00 -0800)]
Merge pull request #61 from UweBonnes/master
Use stlink-usb also for STLINKV1, Rename flash to st-flash
Uwe Bonnes [Tue, 7 Feb 2012 20:48:46 +0000 (21:48 +0100)]
Rename "flash" to "st-flash"
Uwe Bonnes [Tue, 7 Feb 2012 20:43:43 +0000 (21:43 +0100)]
Revive the V1 pathes in stlink-usb. Tested with the STM32VL Discovery.
Uwe Bonnes [Tue, 7 Feb 2012 20:20:54 +0000 (21:20 +0100)]
Remove an outdated FIXME
texane [Sat, 4 Feb 2012 15:17:34 +0000 (07:17 -0800)]
Merge pull request #59 from UweBonnes/master
Distinguish L1/F2/F4 and let F2 program
Uwe Bonnes [Sat, 4 Feb 2012 14:49:11 +0000 (15:49 +0100)]
Report about more Chips tested
Uwe Bonnes [Sat, 4 Feb 2012 14:44:40 +0000 (15:44 +0100)]
Merge branch 'master' of git://github.com/texane/stlink
Conflicts:
src/stlink-common.c
Solved by propagating Karl's name change
Uwe Bonnes [Thu, 2 Feb 2012 21:53:20 +0000 (22:53 +0100)]
Merge branch 'master' of github.com:UweBonnes/stlink
Uwe Bonnes [Thu, 2 Feb 2012 21:49:33 +0000 (22:49 +0100)]
Fix the progress indicator for F2/F4 flash writing
Uwe Bonnes [Thu, 2 Feb 2012 21:36:13 +0000 (22:36 +0100)]
Assume maximum FLASH size for F2 as for F4 (broken Flash size register)
Verify F2 and F4 by using a decent block size
Uwe Bonnes [Thu, 2 Feb 2012 21:20:44 +0000 (22:20 +0100)]
For now, we can treat F2 as F4 for flashing
Uwe Bonnes [Thu, 2 Feb 2012 21:10:13 +0000 (22:10 +0100)]
For L1/F2/F4 we need the chip-id to distinguish, F1 needs core_id as common deniminator
Uwe Bonnes [Sun, 29 Jan 2012 13:21:26 +0000 (14:21 +0100)]
Give a different error when writing to flash or ram
texane [Thu, 2 Feb 2012 05:58:38 +0000 (21:58 -0800)]
Merge pull request #57 from karlp/th-pull-projfiles
Remove all project files from stlink.
Karl Palsson [Wed, 1 Feb 2012 23:54:02 +0000 (23:54 +0000)]
Remove all project files from stlink.
The project is made with Makefiles, so while the project files provided some convenience to some people, they were not in any
way portable or maintained. Removing them also allows other people to keep their own versions without having to deal with
shared conflicts.
Updated gitignore to reflec this.
Fabien Le Mentec [Wed, 1 Feb 2012 22:05:46 +0000 (16:05 -0600)]
Get st-util ack'ing the monitor request. Responds to
monitor reset -- reset the core
monitor resume -- get the core running but don't stop gdb executing commands
monitor halt -- halt the core
texane [Wed, 1 Feb 2012 21:42:54 +0000 (13:42 -0800)]
Merge pull request #56 from karlp/th-pull-documentation
Update documentation
texane [Wed, 1 Feb 2012 21:41:57 +0000 (13:41 -0800)]
Merge pull request #54 from karlp/th-pull-chipids
Unify chip id names, fix warnings
Karl Palsson [Wed, 1 Feb 2012 21:27:20 +0000 (21:27 +0000)]
Add pkg-config to the list of requirements.
Karl Palsson [Wed, 16 Nov 2011 02:44:01 +0000 (02:44 +0000)]
Update list of known working targets
Karl Palsson [Tue, 15 Nov 2011 01:42:47 +0000 (01:42 +0000)]
Remove the "merge in progress" notice
Karl Palsson [Wed, 1 Feb 2012 21:05:06 +0000 (21:05 +0000)]
Use proper modifiers for size_t printing.
Eliminates build warnings.
Karl Palsson [Wed, 1 Feb 2012 20:55:10 +0000 (20:55 +0000)]
Unify chipid naming convention.
Flag more duplicate variables that need to be removed/combined
texane [Tue, 31 Jan 2012 17:11:35 +0000 (09:11 -0800)]
Merge pull request #52 from UweBonnes/master
Fixes around F4
texane [Tue, 31 Jan 2012 17:11:04 +0000 (09:11 -0800)]
Merge pull request #51 from DanielO/master
Use pkg-config to find libusb
Uwe Bonnes [Tue, 31 Jan 2012 10:39:55 +0000 (11:39 +0100)]
Merge branch 'master' of github.com:UweBonnes/stlink
Daniel O'Connor [Tue, 31 Jan 2012 06:19:45 +0000 (16:49 +1030)]
Use pkg-config to find libusb CFLAGS and LDFLAGS.
Uwe Bonnes [Mon, 30 Jan 2012 12:32:18 +0000 (13:32 +0100)]
Limit reading from RAM to the SRAM Size
Uwe Bonnes [Sun, 29 Jan 2012 13:21:26 +0000 (14:21 +0100)]
Give a different error when writing to flash or ram
Uwe Bonnes [Sat, 28 Jan 2012 03:46:22 +0000 (04:46 +0100)]
CoreIF for F2/F4 is not different, use CPUID to distinguish. F4 errata seems to give wrong workaround
Uwe Bonnes [Fri, 27 Jan 2012 19:26:32 +0000 (20:26 +0100)]
Fix writing to SRAM on F1. Blocksize greater 0x1800 stalls STLINKV2. V1 needs to be checked!
Uwe Bonnes [Tue, 24 Jan 2012 12:21:47 +0000 (13:21 +0100)]
Fix mass erase of F4
Uwe Bonnes [Fri, 20 Jan 2012 16:25:01 +0000 (17:25 +0100)]
F1 set_flash_cr_strt unconditionally set the PER bit and so mass erase didn't work
texane [Thu, 19 Jan 2012 20:59:27 +0000 (12:59 -0800)]
Merge pull request #49 from UweBonnes/master
Allow to write to ram and start loaded programs.
Uwe Bonnes [Thu, 19 Jan 2012 14:45:51 +0000 (15:45 +0100)]
A blank STM32L151 refused half-page writing. Fall back to half-word writing in
that case. Report advance in half-word writing. Setting stack and PC give
access error so automatic start fails too and hardware needs to be hard-reset
to start
Uwe Bonnes [Thu, 19 Jan 2012 13:59:02 +0000 (14:59 +0100)]
Make stlink_erase_flash_mass device dependant and implement mass erase for L1
by consecutive page erase
Allow to erase the device with the flash
Uwe Bonnes [Thu, 19 Jan 2012 13:17:22 +0000 (14:17 +0100)]
When loading a file to SRAM or Flash, set the Stack pointer with the initial
SP value and the Program counter with the reset value from the Vector
table. Then run reset function
Uwe Bonnes [Thu, 19 Jan 2012 13:07:14 +0000 (14:07 +0100)]
Allow to write to sram from the command line
Uwe Bonnes [Thu, 19 Jan 2012 12:55:00 +0000 (13:55 +0100)]
Store the masked chip_id in the stlink structure. Should fix unexpected
behaviour with L1 and F2
Uwe Bonnes [Thu, 19 Jan 2012 12:47:23 +0000 (13:47 +0100)]
Use stlink_r|w_debug32 for single word access in the gdbserver too
le mentec fabien [Wed, 18 Jan 2012 15:58:54 +0000 (09:58 -0600)]
[fix] format warning on 32 bits
Uwe Bonnes [Wed, 18 Jan 2012 09:52:01 +0000 (10:52 +0100)]
Merge branch 'master' of git://github.com/texane/stlink
Conflicts:
gdbserver/Makefile
Uwe Bonnes [Tue, 17 Jan 2012 20:55:10 +0000 (21:55 +0100)]
Add dependancy from stlink.a
Uwe Bonnes [Tue, 17 Jan 2012 20:43:58 +0000 (21:43 +0100)]
As write_buffer_to_sram() can now handles arbitrary size, use flash_pgsz chunks for writing F1 and reduce output
Uwe Bonnes [Tue, 17 Jan 2012 20:28:36 +0000 (21:28 +0100)]
Enable half_page write for STM32L
Uwe Bonnes [Tue, 17 Jan 2012 20:24:01 +0000 (21:24 +0100)]
In write_buffer_to_sram() write as much as possible with write_mem32
Uwe Bonnes [Tue, 17 Jan 2012 20:17:02 +0000 (21:17 +0100)]
write_mem8 with more than 0x40 bytes gives unexpected results
Uwe Bonnes [Tue, 17 Jan 2012 14:44:17 +0000 (15:44 +0100)]
Some L1 flash address was off by 0x10, but is never used