Wykres commitów

648 Commity (e73a5341028e95b5762f4d4db35c2f4b68a69cf3)

Autor SHA1 Wiadomość Data
texane 5197b84473 Merge pull request #162 from bms20/master
Support for small F0 devices
2013-06-14 08:35:30 -07:00
Breton M. Saunders 5553cd1674 Added support for small f0 devices with core id 0x444 2013-06-14 16:13:33 +01:00
texane 422c8b5132 Merge pull request #159 from jonasdn/check-for-ui-file
stlink-gui: add check for existence of UI file
2013-06-12 23:17:51 -07:00
Jonas Danielsson cb8e6c65f9 stlink-gui: add check for existence of UI file 2013-06-13 08:03:21 +02:00
texane 69e1266888 Merge pull request #156 from jonasdn/gtk-gui
Gtk gui
2013-06-10 08:59:10 -07:00
Jonas Danielsson 688d6565fb autoconf: add --with-gtk option to enable gui 2013-06-10 16:48:31 +02:00
Jonas Danielsson bffa1b5259 gui: add initial gtk implementation 2013-06-10 16:48:31 +02:00
texane 992a9c2e89 Merge pull request #151 from kevlar26/master
Ensure USB device search succeeds if the matched device is at index 0.
2013-05-07 05:57:46 -07:00
kevin 4e09a06bfc Ensure that the USB device search succeeds if the matched device is at index 0. 2013-05-07 13:33:58 +01:00
texane 3e0acd0540 Merge pull request #150 from nekromant/master
serial terminal support
2013-05-06 00:27:53 -07:00
Andrew 'Necromant' Andrianov 32e2fceec6 st-term: handle two signals and fixups
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
2013-05-06 09:54:10 +04:00
Andrew 'Necromant' Andrianov d59be1f427 working st-term proof-of-concept. Period.
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
2013-05-06 08:59:25 +04:00
Andrew 'Necromant' Andrianov 74138a7f93 Add STlink terminal draft
Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
2013-05-06 01:50:35 +04:00
texane 044b6dc7d6 Merge pull request #148 from AleCher/master
Environment STLINK_DEVICE allow to choose usb device
2013-04-23 05:54:14 -07:00
Alexey Cherevatenko 90d380e8d1 Environment STLINK_DEVICE allow to choose ST_LINK 2013-04-23 15:17:09 +03:00
texane 29d03e95b4 Merge pull request #143 from mower7/master
Added SIGTERM handler
2013-04-16 09:52:21 -07:00
texane 86ad03e774 Merge pull request #142 from yurovsky/master
minor cleanup
2013-04-13 23:21:21 -07:00
Andrey Yurovsky 821a21482f Don't use magic numbers for chip_id field
The chip IDs are defined up top and those macros are used throughout the
code so let's remove the magic numbers in .chip_id so that everything is
using the macros.

No functionality changes, just a find/replace.
2013-04-13 22:32:09 -07:00
Jack Peel 04c142c69b Add SIGTERM signal handler to also call cleanup
When stopping st-util under Eclipse as an external tool the st-util
	receives a SIGTERM signal, and would not return the device to
	usb mass storage mode.  This change now calls cleanup in the SIGTERM handler too!!
2013-04-05 17:55:19 -07:00
texane 4cea62e454 Merge pull request #141 from mower7/master
A little mode tweaking for the STM32L Medium Density Devies
2013-04-05 09:12:06 -07:00
Jack Peel 55b9ecd36c Add support for the STM32L1 Medium density device flash size calculation
In devices before "Rev X" the flash size register is 0 so we assume 128k
Note that "Rev X" is a LATER revision than "Rev Y" and others that might
seem like they are later!
2013-04-05 09:06:26 -07:00
texane 3cfabe5c3a Merge pull request #140 from mower7/master
Adding Support for STM32L1xx Medium and High density devices
2013-04-03 22:29:20 -07:00
Jack Peel e5772dffbf Add Support for STM32L1xx Medium Plus and High density Devices
Using reference RM0038 Rev 7
		The flash size register moved
		and the values in the registers changed their meaning
		Note that Medium Plus and High density deives have the
		same device ID, but only the Medium Plus definition is
		used in the code (the High comes along for free)
2013-04-03 16:43:13 -07:00
Fabien Le Mentec 8df5b3be5e [ update ] bind gdb server on INADDR_ANY, as requested by thomas@popp.ws 2013-04-01 15:36:52 -05:00
texane d1635e8013 Merge pull request #138 from 6thimage/master
Fix for programming STM32L152
2013-03-22 06:52:33 -07:00
Ian Griffiths 0b2c105687 Limited DMA clearing to STM32F4, removed fatal error for flash loading.
Commit 0ed3907 added the clearing of DMA registers that was preventing
programming (see issue #74), however it uses hardcoded addresses of the
DMA registers on the STM32F4. This seems to prevent the flashing and
verification on STM32L1, as the registers only partly cover the range
zeroed. So the DMA clearing has been limited to the STM32F4
microcontroller.

Additionally, sometimes, typically directly after erases, a 'flash
loader run error' will occur that terminates the writing. This is not
necessary, as the writing is successfully performed by page writing
(line 1581 onwards of stlink-common.c), and so has been returned to a
error message (see issue #112). There is a comment on line 1574 (added by
Uwe Bonnes in commit 0164043f) that this may happen on blank devices,
and so the fatal error message is the incorrect response.
2013-03-22 13:39:00 +00:00
Ian Griffiths 69fecdca63 Added lock state check to stlink_erase_flash_page.
On the STM32L152 processor, the erase fails for the first page as the
lock is already disabled (with the unlocking code causing the lock to
become re-enabled). This commit adds checking of the lock state and will
only unlock if necessary.
2013-03-20 13:01:49 +00:00
texane 5be889e3fe Merge pull request #135 from prattmic/signal_cleanup
Add SIGINT handler for stlink cleanup
2013-03-06 13:44:48 -08:00
Michael Pratt 2216d28452 Add SIGINT handler for stlink cleanup
SIGINT causes st-util to immediately exit, without closing the open
stlink.  This leaves devices (at least the F4 Discovery) in a state
where they are unable to reset.  st-util could still connect and control
them, but a power cycle was required before they could reset on their
own.

A signal handler is added for SIGINT, which performs cleanup and closing
of the open stlink device, allowing it to function normally on
disconnect.
2013-03-06 16:34:32 -05:00
texane a9b8226d87 Merge pull request #133 from prattmic/master
Move persistence flag to st_state_t
2013-03-06 11:52:25 -08:00
Michael Pratt 4d1ee4d97e Move persistence flag to st_state_t
It makes sense for it to be with all other state data.  This meant
passing the entire state struct into serve.
2013-03-06 14:23:17 -05:00
texane 7adf723a44 Merge pull request #132 from prattmic/master
Add gdb-server persistence
2013-03-06 10:39:14 -08:00
Michael Pratt 9bed540624 Add persistence support to gdb-server
When started with -m, or connected with 'target extended-remote', the
GDB server will not terminate upon disconnection from GDB, instead it
will begin listening for conenctions again.

Starting with extended-remote also has the advantage of allowing 'run'
to be used to reset the target and begin again.  Unfortunately, 'start'
is not working properly, as it does not send a reset packet (R), so it
complains when it tries to access memory before it is connected to the
target.
2013-03-06 12:52:12 -05:00
Michael Pratt 3569970998 Revert "[ merge ] patch from fischermi@t-online.de, GDB server endless loop"
This reverts commit 1c2828cc91.
2013-03-06 12:03:27 -05:00
texane bbecbc1e81 Merge pull request #128 from schodet/unaligned-read
Fix byte count when doing unaligned memory read, fix issue #127
2013-02-12 11:13:54 -08:00
Nicolas Schodet 44445dd7b0 Fix byte count when doing unaligned memory read, fix issue #127
- when start is adjusted, count should also be adjusted,
 - then, count is rounded to the next multiple of word size.
2013-02-12 19:38:46 +01:00
texane 4cfc1f61e9 Merge pull request #122 from sheaff/master
STM32F4 flash while using DMA potential fix
2013-01-09 22:26:09 -08:00
A Sheaff 0ed390771c Clears DMA config registers for Discovery F4 board
to allow flash programming.  See texane/stlink issue #74.
2013-01-09 17:00:52 -05:00
texane d66a7007ec Merge pull request #121 from WinterMute/64bit_win_fix
64bit win fix
2013-01-06 09:20:41 -08:00
Dave Murphy 23884e8b42 bump version 2013-01-06 16:00:57 +00:00
Dave Murphy f22b91b57a file needs to be Binary for windows
O_BINARY only defined on windows
2013-01-06 15:59:57 +00:00
Dave Murphy da129b2ccd fix write_flash size of len for 64bit 2013-01-06 15:33:48 +00:00
Dave Murphy 79b413ca5b bump version 2012-12-31 23:11:46 +00:00
Dave Murphy 9034a8a7b2 Merge branch 'master' of git://github.com/texane/stlink 2012-12-31 23:09:50 +00:00
Dave Murphy acbfa3ad6f bump version 2012-12-31 23:09:30 +00:00
Fabien Le Mentec 1c2828cc91 [ merge ] patch from fischermi@t-online.de, GDB server endless loop 2012-12-27 07:00:46 -06:00
Fabien Le Mentec 7505f99b2a [ merge ] patch from jgobat@gmail.com, add STM32F373 support 2012-11-28 12:48:50 -06:00
Fabien Le Mentec 08872f834d [ merge ] Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> patches 2012-11-25 09:50:44 -06:00
lementec 7942914971 [ merge ] STM32_CHIPIP_F3 patch from Geoffrey Brown 2012-11-15 17:37:00 +01:00
texane c4183b6772 Merge pull request #114 from wkoszek/master
Support for STM32 F3 Discovery board (ARM Techcon 2012)
2012-11-03 23:45:47 -07:00