Wykres commitów

17 Commity (22d0777df9f4987bd60ddf6bba5ef64ac0628d8a)

Autor SHA1 Wiadomość Data
Karl Palsson e8bae670d2 Fix compilation for 32bit machines
%Ld works for size_t only on 64 bit, the correct conversion is %zd
2011-11-01 21:26:05 +00: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 c37975c157 remove swallowing of ctrl-c
No idea why this was added, but it's not necessary for anything I've found.
2011-10-22 15:53:03 +00:00
Karl Palsson 2f7b70f1a8 Add option parsing and help
Supports setting the gdb listen port
Supports setting which version of stlink to use
Supports setting the device to use (in case autoprobing doesn't work)
2011-10-22 15:20:21 +00:00
Karl Palsson 9bc72d4519 Merge upstream texane/master 2011-10-22 02:11:04 +00:00
Fabien Le Mentec f01fc0c4f1 [fix] GDB port fixed to 4242 until better command line parsing. leave DFU mode. 2011-10-14 16:08:44 -05:00
Fabien Le Mentec ea11de2d8b [fix] GDB listening port, temporary. needs better command line parsing. 2011-10-14 15:55:17 -05:00
Fabien Le Mentec 6463c75a4b [fix] gdb-server unused variable 2011-10-14 15:02:06 -05:00
Karl Palsson 1d8b0c600b Merge remote branch 'karlgithub/master' into mystm32l
Conflicts:
	build/Makefile
	gdbserver/gdb-server.c

This merges in the bulk of bravikov's work on the command line and automatic sensible defaults for
the gdb server
2011-10-13 20:13:31 +00:00
Karl Palsson 59162a0b5c More debug in prepration for working out writemem32 2011-10-12 21:24:33 +00:00
Uwe Bonnes af225b39c9 The Flash Size Register is different for the different chips, so add it to the chip parameters
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-12 19:16:56 +00:00
Uwe Bonnes 36812d6e32 Explain source of CHIP ID and add new devices
Modified by karlp to merge the two 0x416 devices
Modified to add F1 to the F1 devices and sort by device id

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-12 19:08:21 +00:00
Karl Palsson 371b100cb0 Fix stm32l readmem32.
As noted, the usb transfer only has a 1 byte length, but it also has a different mode
to enter.

Tidied up and removed more duplicate and hard coded code, tried to add some notes on
where the magic came from.

No idea where the chip ids came from, I can't find them in the datasheets anywhere.
2011-10-12 01:45:28 +00:00
Karl Palsson 8f4e7c64dc build gdbserver with new library
Has a line hardcoding it to the the usb backend.  I don't have a stm32vl board :(
2011-10-07 20:17:48 +00:00
Karl Palsson d060c3c040 Initial commit of workable stm32l debug
Move towards a standard libstlink, with backends for libusb (stm32l discovery) and scsi
passthrough (stm32vl discovery) and a common front end.

Verified that stm32l branch works much the same, but more to go for stm32vl.
2011-10-06 23:22:33 +00:00