Fabien Le Mentec
dff4936459
[update] missing author
2011-10-14 14:44:58 -05:00
Fabien Le Mentec
8feefbbc0d
Merge remote branch 'karl/stm32l' into local/stlinkv2
2011-10-14 14:43:42 -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
Dmitry Bravikov
d99d1038a2
random port
2011-10-14 03:31:45 +08:00
Dmitry Bravikov
dbda7343d4
added installation, added ST_LINK autodetection
2011-10-14 03:31:34 +08:00
Fabien Le Mentec
346d22c5b6
[missing] stlink-hw.h
2011-10-14 03:31:04 +08:00
Uwe Bonnes
dc71d50b2c
Add missing functionality stlinkv2
...
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-13 19:25:04 +00:00
Uwe Bonnes
37f3d97e05
Implement _stlink_usb_write_mem32|8
...
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-13 19:25:02 +00:00
Uwe Bonnes
173831d592
Add a buffer to hold the command
...
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-13 19:24:53 +00:00
Uwe Bonnes
011f4e3e83
Add a pointer how to wrap USB SG commands
...
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-13 18:54:17 +00:00
Karl Palsson
59162a0b5c
More debug in prepration for working out writemem32
2011-10-12 21:24:33 +00:00
Karl Palsson
8ff74b175e
Add commentary on test methods?
2011-10-12 21:05:44 +00:00
Karl Palsson
1135f17d28
Add comments on register magic numbers.
2011-10-12 20:54:03 +00:00
Karl Palsson
bd3472751b
Support arm core cpuid register decoding
2011-10-12 20:40:24 +00:00
Karl Palsson
f85a173c46
Make stlink_core_id return the core id.
...
Instead of requiring manual extraction from the q_buf
2011-10-12 20:36:43 +00:00
Karl Palsson
75e544a724
Fix compiler warnings from missing includes
2011-10-12 19:57:54 +00:00
Karl Palsson
921b32cf58
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!
2011-10-12 19:56:19 +00:00
Karl Palsson
292989e2f9
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>
2011-10-12 19:19:29 +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
Uwe Bonnes
f4ab7d6bb3
More files to ignore
...
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
2011-10-12 18:50:27 +00:00
Karl Palsson
2d9063a36f
Add some comments on cells containing identified transfers
2011-10-12 01:48:04 +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
d12da44c74
Support version decoding on both platforms
2011-10-12 00:01:46 +00:00
Karl Palsson
c327578c7d
Use defined VID/PIDs instead of magic numbers
2011-10-11 23:41:49 +00:00
Karl Palsson
05c3c496a6
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...
2011-10-11 23:12:03 +00:00
Karl Palsson
fbc56ea055
.gitignore files are nice
2011-10-08 18:52:38 +00:00
Karl Palsson
b444dd7b7d
Add a netbeans project setup
...
Has two run configs, one for the gdb server, and one for the command line
tools and library build.
2011-10-08 18:51:16 +00:00
Karl Palsson
1b2e65ae06
remove the keypress to exit the app
2011-10-08 18:50:45 +00:00
Karl Palsson
4e95d10aa8
move debugging output to common code
2011-10-07 20:21:37 +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
a87def9593
Remove stm32l directory now that code is merged.
...
Keep the documentation, that will still be useful...
2011-10-07 19:45:41 +00:00
Karl Palsson
baf9829fd2
Fix the missing mode calls.
...
Start cleaning up the debug output a little
2011-10-07 19:41:55 +00:00
Karl Palsson
7151f2cb0f
Debugging is helpful!
2011-10-07 19:41:55 +00:00
Karl Palsson
48651ef66a
udev rules for non-root access, plus a symlink
2011-10-07 19:41:55 +00:00
Karl Palsson
d31396111d
Pluggable backends for libsg or libusb
...
Compiles, but not fully tested yet.
2011-10-07 19:41:18 +00:00
Karl Palsson
93ea941dff
Remove duplicate endianness
2011-10-07 02:17:36 +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
Karl Palsson
8be7cea215
Swap build.sh for a real Makefile
2011-10-01 23:22:57 +00:00
Karl Palsson
c34ccc3e51
Tweak stm32l version to start using shared headers
2011-09-29 22:06:54 +00:00
Fabien Le Mentec
c6a9d26805
[missing] stlink-hw.h
2011-09-29 17:04:07 -05:00
Fabien Le Mentec
98f58e7d92
[update] minor, tests
2011-09-11 17:33:25 -05:00
Fabien Le Mentec
da1ec442af
[update] readmem32
2011-09-11 12:26:58 -05:00
Fabien Le Mentec
6d87fce636
[add] usblyzer outputs
2011-09-11 12:00:46 -05:00
Fabien Le Mentec
21add718cb
[update] notes
2011-09-11 11:36:03 -05:00
Fabien Le Mentec
8f7c75d393
[add] notes
2011-09-11 11:01:00 -05:00
Fabien Le Mentec
a6f42631bd
[fix, update] magic bytes, more commands. step mode make resets the chip
2011-09-11 09:22:17 -05:00
Fabien Le Mentec
8946ce99e5
[fix, update] more commands
2011-09-11 08:28:34 -05:00
Fabien Le Mentec
1d5859db8c
[add] read_memory usblyzer output
2011-09-11 08:27:49 -05:00
Fabien Le Mentec
6e98918137
[update] submit_wait timeout
2011-09-11 00:58:24 -05:00