]>
git.gag.com Git - fw/stlink/log
Fabien Le Mentec [Fri, 14 Oct 2011 20:55:17 +0000 (15:55 -0500)]
[fix] GDB listening port, temporary. needs better command line parsing.
Fabien Le Mentec [Fri, 14 Oct 2011 20:47:08 +0000 (15:47 -0500)]
[fix] remove invalid free
Fabien Le Mentec [Fri, 14 Oct 2011 20:38:54 +0000 (15:38 -0500)]
[fix] missing parse_version in sg transport layer
Fabien Le Mentec [Fri, 14 Oct 2011 20:02:06 +0000 (15:02 -0500)]
[fix] gdb-server unused variable
Fabien Le Mentec [Fri, 14 Oct 2011 19:51:16 +0000 (14:51 -0500)]
[fix] warnings
Fabien Le Mentec [Fri, 14 Oct 2011 19:44:58 +0000 (14:44 -0500)]
[update] missing author
Fabien Le Mentec [Fri, 14 Oct 2011 19:43:42 +0000 (14:43 -0500)]
Merge remote branch 'karl/stm32l' into local/stlinkv2
Uwe Bonnes [Thu, 13 Oct 2011 21:59:24 +0000 (23:59 +0200)]
Fix a signedness warning
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Karl Palsson [Thu, 13 Oct 2011 20:13:31 +0000 (20:13 +0000)]
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
Dmitry Bravikov [Wed, 5 Oct 2011 18:42:23 +0000 (02:42 +0800)]
random port
Dmitry Bravikov [Wed, 5 Oct 2011 10:15:44 +0000 (18:15 +0800)]
added installation, added ST_LINK autodetection
Fabien Le Mentec [Thu, 29 Sep 2011 22:04:07 +0000 (06:04 +0800)]
[missing] stlink-hw.h
Uwe Bonnes [Thu, 13 Oct 2011 17:27:38 +0000 (19:27 +0200)]
Add missing functionality stlinkv2
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Uwe Bonnes [Thu, 13 Oct 2011 14:33:29 +0000 (16:33 +0200)]
Implement _stlink_usb_write_mem32|8
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Uwe Bonnes [Thu, 13 Oct 2011 14:32:19 +0000 (16:32 +0200)]
Add a buffer to hold the command
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Uwe Bonnes [Thu, 13 Oct 2011 14:28:54 +0000 (16:28 +0200)]
Add a pointer how to wrap USB SG commands
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Karl Palsson [Wed, 12 Oct 2011 21:24:33 +0000 (21:24 +0000)]
More debug in prepration for working out writemem32
Karl Palsson [Wed, 12 Oct 2011 21:05:44 +0000 (21:05 +0000)]
Add commentary on test methods?
Karl Palsson [Wed, 12 Oct 2011 20:54:03 +0000 (20:54 +0000)]
Add comments on register magic numbers.
Karl Palsson [Wed, 12 Oct 2011 20:40:24 +0000 (20:40 +0000)]
Support arm core cpuid register decoding
Karl Palsson [Wed, 12 Oct 2011 20:36:43 +0000 (20:36 +0000)]
Make stlink_core_id return the core id.
Instead of requiring manual extraction from the q_buf
Karl Palsson [Wed, 12 Oct 2011 19:57:54 +0000 (19:57 +0000)]
Fix compiler warnings from missing includes
Karl Palsson [Wed, 12 Oct 2011 19:56:19 +0000 (19:56 +0000)]
Support "force debug" command, required by gdb server
usb implementation provided by Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Glued together again by me. With this change, gdbserver actually enters debug and gdbserver
stays open!
Karl Palsson [Wed, 12 Oct 2011 19:19:29 +0000 (19:19 +0000)]
Add Uwe Bonnes to the AUTHORS list
He sent me some patches which I've included here recently.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Uwe Bonnes [Wed, 12 Oct 2011 11:51:19 +0000 (13:51 +0200)]
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>
Uwe Bonnes [Wed, 12 Oct 2011 11:36:13 +0000 (13:36 +0200)]
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>
Uwe Bonnes [Wed, 12 Oct 2011 07:56:20 +0000 (09:56 +0200)]
More files to ignore
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Karl Palsson [Wed, 12 Oct 2011 01:48:04 +0000 (01:48 +0000)]
Add some comments on cells containing identified transfers
Karl Palsson [Wed, 12 Oct 2011 01:45:28 +0000 (01:45 +0000)]
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.
Karl Palsson [Wed, 12 Oct 2011 00:01:46 +0000 (00:01 +0000)]
Support version decoding on both platforms
Karl Palsson [Tue, 11 Oct 2011 23:41:49 +0000 (23:41 +0000)]
Use defined VID/PIDs instead of magic numbers
Karl Palsson [Tue, 11 Oct 2011 23:12:03 +0000 (23:12 +0000)]
USB_traces is an open office spreadsheet of all csv files
This can make it a little easier to visualize than the raw csv files...
Karl Palsson [Sat, 8 Oct 2011 18:52:38 +0000 (18:52 +0000)]
.gitignore files are nice
Karl Palsson [Sat, 8 Oct 2011 18:51:16 +0000 (18:51 +0000)]
Add a netbeans project setup
Has two run configs, one for the gdb server, and one for the command line
tools and library build.
Karl Palsson [Sat, 8 Oct 2011 18:50:45 +0000 (18:50 +0000)]
remove the keypress to exit the app
Karl Palsson [Fri, 7 Oct 2011 20:21:37 +0000 (20:21 +0000)]
move debugging output to common code
Karl Palsson [Fri, 7 Oct 2011 20:17:48 +0000 (20:17 +0000)]
build gdbserver with new library
Has a line hardcoding it to the the usb backend. I don't have a stm32vl board :(
Karl Palsson [Fri, 7 Oct 2011 19:45:41 +0000 (19:45 +0000)]
Remove stm32l directory now that code is merged.
Keep the documentation, that will still be useful...
Karl Palsson [Fri, 7 Oct 2011 19:36:38 +0000 (19:36 +0000)]
Fix the missing mode calls.
Start cleaning up the debug output a little
Karl Palsson [Fri, 7 Oct 2011 19:32:19 +0000 (19:32 +0000)]
Debugging is helpful!
Karl Palsson [Fri, 7 Oct 2011 18:53:14 +0000 (18:53 +0000)]
udev rules for non-root access, plus a symlink
Karl Palsson [Fri, 7 Oct 2011 02:47:37 +0000 (02:47 +0000)]
Pluggable backends for libsg or libusb
Compiles, but not fully tested yet.
Karl Palsson [Fri, 7 Oct 2011 02:17:36 +0000 (02:17 +0000)]
Remove duplicate endianness
Karl Palsson [Thu, 6 Oct 2011 23:22:33 +0000 (23:22 +0000)]
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.
Karl Palsson [Sat, 1 Oct 2011 23:22:57 +0000 (23:22 +0000)]
Swap build.sh for a real Makefile
Karl Palsson [Thu, 29 Sep 2011 22:06:54 +0000 (22:06 +0000)]
Tweak stm32l version to start using shared headers
Fabien Le Mentec [Thu, 29 Sep 2011 22:04:07 +0000 (17:04 -0500)]
[missing] stlink-hw.h
Fabien Le Mentec [Sun, 11 Sep 2011 22:33:25 +0000 (17:33 -0500)]
[update] minor, tests
Fabien Le Mentec [Sun, 11 Sep 2011 17:26:58 +0000 (12:26 -0500)]
[update] readmem32
Fabien Le Mentec [Sun, 11 Sep 2011 17:00:46 +0000 (12:00 -0500)]
[add] usblyzer outputs
Fabien Le Mentec [Sun, 11 Sep 2011 16:36:03 +0000 (11:36 -0500)]
[update] notes
Fabien Le Mentec [Sun, 11 Sep 2011 16:01:00 +0000 (11:01 -0500)]
[add] notes
Fabien Le Mentec [Sun, 11 Sep 2011 14:22:17 +0000 (09:22 -0500)]
[fix, update] magic bytes, more commands. step mode make resets the chip
Fabien Le Mentec [Sun, 11 Sep 2011 13:28:34 +0000 (08:28 -0500)]
[fix, update] more commands
Fabien Le Mentec [Sun, 11 Sep 2011 13:27:49 +0000 (08:27 -0500)]
[add] read_memory usblyzer output
Fabien Le Mentec [Sun, 11 Sep 2011 05:58:24 +0000 (00:58 -0500)]
[update] submit_wait timeout
Fabien Le Mentec [Sat, 10 Sep 2011 17:55:19 +0000 (12:55 -0500)]
[update] more test. stalling randomly... problem with linux usb stack?
Fabien Le Mentec [Sat, 10 Sep 2011 17:30:43 +0000 (12:30 -0500)]
[fix] bad endpoints used
Fabien Le Mentec [Sat, 10 Sep 2011 16:25:21 +0000 (11:25 -0500)]
[update] basic testing code using libusb
Fabien Le Mentec [Sat, 10 Sep 2011 14:58:35 +0000 (09:58 -0500)]
[add] sltink device connection from windows, usblyzer output
texane [Fri, 15 Jul 2011 13:58:05 +0000 (06:58 -0700)]
Merge pull request #9 from whitequark/master
Support for data watchpoints and larger flashes
Peter Zotov [Thu, 14 Jul 2011 19:44:09 +0000 (23:44 +0400)]
Allow for bigger flash block sizes (code by Geoffrey Brown).
Peter Zotov [Thu, 14 Jul 2011 19:40:59 +0000 (23:40 +0400)]
Implement data watchpoints (code by Geoffrey Brown).
Fabien Le Mentec [Tue, 28 Jun 2011 05:34:56 +0000 (00:34 -0500)]
[update] add Karl Palsson to AUTHORS
texane [Tue, 28 Jun 2011 05:22:07 +0000 (22:22 -0700)]
Merge pull request #6 from whitequark/master
Bugfixes
texane [Tue, 28 Jun 2011 05:18:46 +0000 (22:18 -0700)]
Merge pull request #8 from karlp/master
Allow building on amd64
Karl Palsson [Mon, 27 Jun 2011 22:29:27 +0000 (22:29 +0000)]
Build on amd64 architecture.
printf("%x") -> printf("%zx") when using size_t
Fabien Le Mentec [Sun, 5 Jun 2011 17:35:09 +0000 (12:35 -0500)]
[fix] make_memory_map should receive flash_size as uint32_t
texane [Sun, 5 Jun 2011 17:14:10 +0000 (10:14 -0700)]
Merge pull request #5 from nullsub/master
Compile on Ubuntu 10.10 and 11.04
nullsub [Wed, 1 Jun 2011 14:18:59 +0000 (07:18 -0700)]
Added instruction for Ubuntu
Peter Zotov [Thu, 19 May 2011 14:38:02 +0000 (18:38 +0400)]
make_memory_map should receive flash_size as uint32_t.
texane [Mon, 18 Apr 2011 20:37:25 +0000 (15:37 -0500)]
[remove] setting up modprobe rules README section
texane [Mon, 18 Apr 2011 20:23:59 +0000 (15:23 -0500)]
[missing] stlink.modprobe.conf
texane [Mon, 18 Apr 2011 18:29:24 +0000 (13:29 -0500)]
[patch] bug fixes and documentation improvements by Greg Alexander
Peter Zotov [Fri, 8 Apr 2011 15:08:15 +0000 (19:08 +0400)]
Use real flash size from system ROM.
Peter Zotov [Fri, 8 Apr 2011 15:08:02 +0000 (19:08 +0400)]
Compare chip IDs correctly.
Peter Zotov [Fri, 8 Apr 2011 14:59:31 +0000 (18:59 +0400)]
Updated memory maps.
Peter Zotov [Mon, 4 Apr 2011 15:10:04 +0000 (19:10 +0400)]
Added udev rules file.
Peter Zotov [Mon, 4 Apr 2011 08:58:54 +0000 (12:58 +0400)]
Add real core identification. Now stlink may debug devices other than STM32F100RB on Discovery.
Peter Zotov [Mon, 4 Apr 2011 08:22:40 +0000 (12:22 +0400)]
Add support for remote reset commands.
Peter Zotov [Thu, 17 Feb 2011 13:45:03 +0000 (16:45 +0300)]
Remove useless message.
Peter Zotov [Thu, 17 Feb 2011 13:44:20 +0000 (16:44 +0300)]
Fix multi-page flash writing.
Peter Zotov [Wed, 16 Feb 2011 11:28:20 +0000 (14:28 +0300)]
Reset CPU before and after flash writing.
Peter Zotov [Wed, 16 Feb 2011 11:18:56 +0000 (14:18 +0300)]
Update README.
Peter Zotov [Wed, 16 Feb 2011 11:04:32 +0000 (14:04 +0300)]
Reduce latency a bit.
Peter Zotov [Wed, 16 Feb 2011 09:34:46 +0000 (12:34 +0300)]
Write flash correctly.
Peter Zotov [Wed, 16 Feb 2011 00:56:29 +0000 (03:56 +0300)]
Implement hardware breakpoints.
Peter Zotov [Wed, 16 Feb 2011 00:55:58 +0000 (03:55 +0300)]
Update memory map.
Peter Zotov [Tue, 15 Feb 2011 23:07:25 +0000 (02:07 +0300)]
Fix alignment when uploading data to flash.
Peter Zotov [Tue, 15 Feb 2011 21:21:38 +0000 (00:21 +0300)]
Fix continue command.
Peter Zotov [Tue, 15 Feb 2011 21:01:12 +0000 (00:01 +0300)]
Implemented flash writing.
Peter Zotov [Tue, 15 Feb 2011 19:35:19 +0000 (22:35 +0300)]
Implement FlashErase GDB command.
Peter Zotov [Tue, 15 Feb 2011 18:50:34 +0000 (21:50 +0300)]
Implement query command and add memory map.
Peter Zotov [Tue, 15 Feb 2011 16:48:36 +0000 (19:48 +0300)]
Add optional -DDEBUG to Makefile.
Peter Zotov [Tue, 15 Feb 2011 16:47:57 +0000 (19:47 +0300)]
Bind to localhost.
Peter Zotov [Tue, 15 Feb 2011 16:47:45 +0000 (19:47 +0300)]
Use SO_REUSEADDR socket option to allow binding after ^C.
Peter Zotov [Tue, 15 Feb 2011 16:47:18 +0000 (19:47 +0300)]
Don't exit after kill gdb command; re-listen instead.
Peter Zotov [Tue, 15 Feb 2011 02:15:28 +0000 (05:15 +0300)]
Add working GDB remote debug server.
texane [Fri, 14 Jan 2011 16:49:59 +0000 (10:49 -0600)]
[fix] unknown bug, must use 0x40 instead of pgsize when writing flash
texane [Fri, 14 Jan 2011 16:25:05 +0000 (10:25 -0600)]
[add] disasm script