Wykres commitów

12 Commity (afb487cfb627762590ee1acf750a77417cf73e18)

Autor SHA1 Wiadomość Data
Karl Palsson afb487cfb6 Remove -sg's private version decoding
Remove duplication of stlink version decoding, and put the decoded version information
into the stlink object itself.
2011-11-03 00:36:31 +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 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 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 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 baf9829fd2 Fix the missing mode calls.
Start cleaning up the debug output a little
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