Dave Murphy
802049ed7d
bump stlink version
2012-05-14 10:55:55 +01:00
Dave Murphy
80d6035828
use sys/time.h for mingw compatiblity, use LIBUSB_CALL modifier for callback
2012-05-13 22:57:27 +01:00
Dave Murphy
947c1409e3
cast to avoid pointer warning
2012-05-13 22:55:41 +01:00
Dave Murphy
d02326726a
fix signedness warning
2012-05-13 22:54:26 +01:00
texane
5cb053d227
Merge pull request #76 from prattmic/master
...
Fixed issue #66
2012-05-11 11:14:04 -07:00
Michael Pratt
b61a06a8b7
Fixed issue #66 - Fixed the F4 memory map to include CCM RAM. https://github.com/texane/stlink/issues/66
2012-05-11 14:11:12 -04:00
Dave Murphy
c6b6f4c51d
prototype main function properly
2012-04-29 19:44:51 +01:00
Dave Murphy
49bafd8739
wrap read/write socket functions on mingw
2012-04-29 19:30:27 +01:00
Dave Murphy
c5b021c6ab
allow use of %zx format specifier om mingw
2012-04-29 18:49:08 +01:00
Dave Murphy
2559ab0c30
use WSAStartup on windows, replace bzero with memset
2012-04-29 18:48:26 +01:00
Dave Murphy
6db2766e3f
undefine macros for socket redirection, fix warnings
2012-04-29 18:47:38 +01:00
Dave Murphy
24171a2fd8
use correct headers
2012-04-29 18:46:49 +01:00
Dave Murphy
7ed5be2963
build with mingw
2012-04-29 14:43:46 +01:00
Dave Murphy
414ca992d7
update ignores for generated files
2012-04-29 14:09:06 +01:00
Dave Murphy
691e9af28d
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
2012-04-28 22:55:23 +01:00
Dave Murphy
087a3596c3
autoconfiscate
2012-04-28 02:13:58 +01:00
texane
419b33f6ef
Merge pull request #73 from xgoat/master
...
Fix an unused parameter compiler warning
2012-04-23 22:16:12 -07:00
Rob Spanton
b014aebd63
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.
2012-04-23 23:21:29 +01:00
texane
b0a477d2a7
Merge pull request #61 from UweBonnes/master
...
Use stlink-usb also for STLINKV1, Rename flash to st-flash
2012-02-08 09:00:42 -08:00
Uwe Bonnes
41c5ef21ab
Rename "flash" to "st-flash"
2012-02-07 21:48:46 +01:00
Uwe Bonnes
957b9c504f
Revive the V1 pathes in stlink-usb. Tested with the STM32VL Discovery.
2012-02-07 21:43:43 +01:00
Uwe Bonnes
c2d09105f5
Remove an outdated FIXME
2012-02-07 21:20:54 +01:00
texane
a4547c31a7
Merge pull request #59 from UweBonnes/master
...
Distinguish L1/F2/F4 and let F2 program
2012-02-04 07:17:34 -08:00
Uwe Bonnes
e919d94870
Report about more Chips tested
2012-02-04 15:49:11 +01:00
Uwe Bonnes
7d9f4129ab
Merge branch 'master' of git://github.com/texane/stlink
...
Conflicts:
src/stlink-common.c
Solved by propagating Karl's name change
2012-02-04 15:44:40 +01:00
Uwe Bonnes
5cd3ad39ba
Merge branch 'master' of github.com:UweBonnes/stlink
2012-02-02 22:53:20 +01:00
Uwe Bonnes
1324914806
Fix the progress indicator for F2/F4 flash writing
2012-02-02 22:52:43 +01:00
Uwe Bonnes
02357a8b27
Assume maximum FLASH size for F2 as for F4 (broken Flash size register)
...
Verify F2 and F4 by using a decent block size
2012-02-02 22:52:34 +01:00
Uwe Bonnes
cbd0cf0918
For now, we can treat F2 as F4 for flashing
2012-02-02 22:52:20 +01:00
Uwe Bonnes
cc461e9bc9
For L1/F2/F4 we need the chip-id to distinguish, F1 needs core_id as common deniminator
2012-02-02 22:51:49 +01:00
Uwe Bonnes
edea824055
Give a different error when writing to flash or ram
2012-02-02 22:51:49 +01:00
texane
e28a8f53a8
Merge pull request #57 from karlp/th-pull-projfiles
...
Remove all project files from stlink.
2012-02-01 21:58:38 -08:00
Karl Palsson
9153dd5c08
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.
2012-02-01 23:56:42 +00:00
Fabien Le Mentec
18d6fe4893
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
2012-02-01 16:05:46 -06:00
texane
a12ffa5a7d
Merge pull request #56 from karlp/th-pull-documentation
...
Update documentation
2012-02-01 13:42:54 -08:00
texane
0d96e87c0b
Merge pull request #54 from karlp/th-pull-chipids
...
Unify chip id names, fix warnings
2012-02-01 13:41:57 -08:00
Karl Palsson
13035018f2
Add pkg-config to the list of requirements.
2012-02-01 21:34:58 +00:00
Karl Palsson
ce603be200
Update list of known working targets
2012-02-01 21:20:58 +00:00
Karl Palsson
3355fb6a08
Remove the "merge in progress" notice
2012-02-01 21:20:48 +00:00
Karl Palsson
7c4d7aa559
Use proper modifiers for size_t printing.
...
Eliminates build warnings.
2012-02-01 21:05:06 +00:00
Karl Palsson
f38ff8f912
Unify chipid naming convention.
...
Flag more duplicate variables that need to be removed/combined
2012-02-01 20:55:10 +00:00
texane
9aeeca2687
Merge pull request #52 from UweBonnes/master
...
Fixes around F4
2012-01-31 09:11:35 -08:00
texane
3096a8a29f
Merge pull request #51 from DanielO/master
...
Use pkg-config to find libusb
2012-01-31 09:11:04 -08:00
Uwe Bonnes
9e842c3aa5
Merge branch 'master' of github.com:UweBonnes/stlink
2012-01-31 11:39:55 +01:00
Daniel O'Connor
5e5d1fa747
Use pkg-config to find libusb CFLAGS and LDFLAGS.
2012-01-31 16:49:45 +10:30
Uwe Bonnes
a1a949fa55
Limit reading from RAM to the SRAM Size
2012-01-30 13:32:18 +01:00
Uwe Bonnes
19b8c64540
Give a different error when writing to flash or ram
2012-01-29 14:21:26 +01:00
Uwe Bonnes
b95e4aa8a4
CoreIF for F2/F4 is not different, use CPUID to distinguish. F4 errata seems to give wrong workaround
2012-01-28 04:46:22 +01:00
Uwe Bonnes
a85ebd90b2
Fix writing to SRAM on F1. Blocksize greater 0x1800 stalls STLINKV2. V1 needs to be checked!
2012-01-27 20:26:32 +01:00
Uwe Bonnes
ce813d328b
Fix mass erase of F4
2012-01-24 13:21:47 +01:00