Uwe Bonnes
edea824055
Give a different error when writing to flash or ram
2012-02-02 22:51:49 +01:00
Uwe Bonnes
a1a949fa55
Limit reading from RAM to the SRAM Size
2012-01-30 13:32:18 +01:00
Uwe Bonnes
8c36e07cbe
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
2012-01-19 16:10:43 +01:00
Uwe Bonnes
4c206c3b7c
Allow to write to sram from the command line
2012-01-19 14:07:14 +01:00
Uwe Bonnes
7eb080490c
Move reset/load_param in the open functions, as requested by Karl
2011-12-18 23:35:20 +01:00
Uwe Bonnes
9ef6d28cb5
Modify shutdown seqeunce. Now a F107 in sleep mode reacts on the reset pin after running stlink
2011-12-13 18:41:07 +01:00
Uwe Bonnes
5eda4566d6
Determine the device parameters explicit after running
...
stlink_reset(). Otherwise a sleeping device (WFI) doesn't return the
parameters.
2011-12-13 17:48:54 +01:00
Uwe Bonnes
face2e7bab
Add explicit dependancy on the stlink archive
2011-12-10 18:22:51 +01:00
Uwe Bonnes
bcee01d705
Chevck first for NULL before writing anything to the alloceted structure
2011-12-10 17:17:25 +01:00
Uwe Bonnes
2edd0530a6
Only call strtoul when there is an argument that strtoul can work on
2011-12-10 17:15:48 +01:00
le mentec fabien
e9586c100e
[update] apply patches from marpe@mimuw.edu.pl for flash tool: verbosity, run after programm\
2011-11-22 09:39:58 -06:00
Karl Palsson
83a5eb2ed3
Merge branch 'tmaster' into future
...
This branch should work for F1 and F4 devices. It has currently been tested
with F1 value line, (a VL discovery board) programmed via gdb via both an
stlinkv1 and an stlinkv2.
F4 has _not_ yet been tested on this branch
Conflicts:
.gitignore
doc/tutorial/tutorial.pdf
example/blink/main.c
gdbserver/Makefile
gdbserver/gdb-server.c
src/stlink-common.c
src/stlink-common.h
src/stlink-usb.c
2011-11-15 00:57:09 +00:00
Karl Palsson
b55b75c3b9
Remove final reference to old sg/usb compilation flags
2011-11-14 23:01:03 +00:00
jnosky
67db39b0b3
Changed size argument to hex
...
Address was hex, size was decimal. Now uniform to be hex
2011-11-14 16:16:57 -05:00
Fabien Le Mentec
0ff09f90ce
[merge] merge jnosky/master
2011-11-12 02:25:02 -06:00
Karl Palsson
6cc3375151
Merge branch 'master' of github.com:karlp/stlink
2011-11-11 22:59:44 +00:00
Karl Palsson
e9a205ff98
Finish removing sg-utils dependencies.
...
The code deps were removed, but the flags stayed in some makefiles.
2011-11-11 15:38:09 +00:00
Karl Palsson
c98c487fa5
Merge branch 'master' of https://github.com/texane/stlink
...
Conflicts:
Makefile
doc/tutorial/tutorial.pdf
example/blink/Makefile
flash/main.c
src/stlink-common.c
src/stlink-usb.c
Mostly whitespace conflicts it seems.
2011-11-04 02:51:15 +00:00
Karl Palsson
388606716e
Update tutorial docs and flash writing/reading
2011-11-04 02:23:17 +00:00
jnosky
0fbdd62e61
Fixed flash utility for STM32F4
...
Can write entire 1MB of flash
2011-10-29 18:17:46 -04:00
Fabien Le Mentec
224966f637
[update] factorize flash writing code. use core_id to identify.
2011-10-23 03:12:23 -05:00
Chris Samuelson
207a5b7c6a
Merge branch 'master' of github.com:csamuelson/stlink
2011-10-22 21:25:56 -05:00
Chris Samuelson
59a7e8b470
Place -lusb-1.0 as the last of the linker options
2011-10-22 21:23:53 -05:00
Fabien Le Mentec
70f04de7fc
[update] retry write once on failure
2011-10-22 17:34:05 -05:00
Karl Palsson
d7e37a684a
Replace all logging
...
I needed some sanity...
2011-10-22 20:32:02 +00:00
Karl Palsson
42d2da531f
flag out the only scsi specific code
...
Also flag out some places where code appears unused.
2011-10-22 19:09:31 +00:00
Karl Palsson
076f1086fa
Remove all #ifdefs for sg-utils.
...
We're starting on integration from github.com/afaerber
So, instead of scanning all the usb devices, just open what we want.
2011-10-22 18:05:24 +00:00
Karl Palsson
9bc72d4519
Merge upstream texane/master
2011-10-22 02:11:04 +00:00
Ned Konz
105e266a05
Allowed CONFIG_USE_LIBSG=0 to suppress STLink/V1 compilation
...
This will let people with Macintosh OS/X computers compile and use stlink with STLink/V2 devices, as libsg3 is not available for that platform.
2011-10-20 19:21:43 -07:00
Ned Konz
152989ba1c
Added usage prompt to flash utility
2011-10-19 18:55:56 -07:00
Ned Konz
d0e853ff2b
Fixed compile of flash program
2011-10-19 18:39:26 -07:00
Fabien Le Mentec
2ec1e2b25d
[fix] read_mem32 needs to add +1 to len
2011-10-17 16:21:29 -05:00
Fabien Le Mentec
8abe4682dd
[fix] flash tool. not working for stm32l, ok with stm32vl
2011-10-17 14:52:57 -05:00
le mentec fabien
ffe5d1f31a
[update] add read command to flash tool
2011-10-17 04:00:02 -05:00
Fabien Le Mentec
ce9f2666e9
[update] flash tool, missing SWD mode entering and core reset
2011-10-16 16:29:28 -05:00
Fabien Le Mentec
c16a18e5b3
[add] flash memory loader tool
2011-10-16 15:36:11 -05:00