Wykres commitów

706 Commity (06fd9c4b700e681e04ec78f5664fd55674f94b6f)

Autor SHA1 Wiadomość Data
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
Wojciech A. Koszek aa66f4ed87 Bring the support for STM32 F3 Discovery board (ARM Techcon 2012)
Support was tested by attaching USB cable to USB ST-LINK USB port, starting

	./st-util

Which resulted in proper device recognition:

	2012-11-03T23:11:25 INFO src/stlink-common.c: Device connected is: F3 device, id 0x10016422
	2012-11-03T23:11:25 INFO src/stlink-common.c: SRAM size: 0xa000 bytes (40 KiB), Flash: 0x40000 bytes (256 KiB) in pages of 2048 bytes
	Chip ID is 00000422, Core ID is  2ba01477.

Then from GDB, after "target remove localhost:4242", I tested reads:

	x/w 0x20000000

And writes:

	set {int}0x20000000 1

And ELF loading:

	(gdb) load main
	Loading section .text, size 0x10 lma 0x20000000
	Start address 0x20000000, load size 16
	Transfer rate: 410 bytes/sec, 16 bytes/write.

And verified dissasembly (in my case--with Thumb mode) with objdump -d <elf>
output:

	(gdb) set arm force-mode thumb
	(gdb) x/7i 0x20000000
	=> 0x20000000:	push	{r7}
	   0x20000002:	sub	sp, #12
	   0x20000004:	add	r7, sp, #0
	   0x20000006:	ldr	r3, [r7, #4]
	   0x20000008:	add.w	r3, r3, #1
	   0x2000000c:	str	r3, [r7, #4]
	   0x2000000e:	b.n	0x20000006
2012-11-03 23:20:17 -07:00
texane 3494c116ec Merge pull request #111 from Senseg/master
Experimental support for STM32F0-Discovery
2012-10-18 04:58:04 -07:00
Pekka Nikander e8b15c0e78 Add support for STM32F0-Discovery 2012-10-05 15:34:36 +03:00
Pekka Nikander bfc368c57e src/stlink-common.c: Improve error reporting 2012-10-05 15:32:48 +03:00
Pekka Nikander f0256c69cb src/stlink-common.[ch]: Another fix on white spaces, unifying coding style 2012-10-05 15:30:28 +03:00
texane 94de0f180e Merge pull request #109 from Senseg/master
Commit to fix white spaces and unify coding style.
2012-10-04 00:31:05 -07:00
Pekka Nikander 8604e0b625 src/stlink-common.c: Fix white spaces, unify coding style 2012-10-04 09:20:18 +03:00
texane b5ece811c3 Merge pull request #108 from jkent/master
Workaround for nRST not being asserted via on the F4-Discovery's st-link/v2...
2012-09-19 10:35:56 -07:00
Jeff Kent ff1a7aa50b workaround for asserting nRST, issue "monitor jtag_reset" from gdb 2012-09-19 12:22:28 -05:00
texane 6a92b0f686 Merge pull request #106 from thotsch/master
Added kext for OS X 10.8
2012-08-22 06:41:30 -07:00
Thomas Gärtner e197cd8e2e Added kext for os x 10.8
I added a kext for mountain lion to osx.tar.gz and modified install.sh
to use the right one or fail if no suitable kext is available.
2012-08-22 15:33:19 +02:00
texane bd11354391 Merge pull request #105 from prattmic/master
Fix watchpoint support
2012-08-19 09:30:43 -07:00
Michael Pratt 684d76afa0 Fix watchpoint support
Setting of watchpoints was nested inside of a case statement, so it
would only run for that case, even though it supports all cases.
2012-08-19 12:19:25 -04:00
texane f4a83ff395 Merge pull request #102 from prattmic/master
Fix the stlink-sg backend to leave space for new functions
2012-07-09 09:29:53 -07:00
Michael Pratt ca0f89c20b Fix build warning 2012-07-09 11:08:55 -04:00
Michael Pratt f300f74a0c Fix the stlink-sg backend to leave space for new functions 2012-07-09 11:06:50 -04:00
texane fde8b6b24e Merge pull request #101 from prattmic/master
Add support for all core registers on the STM32F4DISCOVERY, including floating point registers.
2012-07-08 23:23:53 -07:00
Michael Pratt c6274f026b Write to extra (FP, etc) registers from GDB
The extra registers added in my previous commit can now be modified from
within GDB.  Since the ST-LINK does not support accessing these
registers, a workaround was used from reading an writing to them.

That is, the Debug Core Register Selector Register (DCRSR) can be written
with the register requested, and it will be read/written to/from the
Debug Core Register Data Register (DCRDR).  The standard ST-LINK memory
access functions are used to make these accesses.

A target descriptor XML file is sent to GDB from the server, which tells
GDB which registers exist on the target.

This is only supported for the STM32F4, and has only been tested on the
STM32F4DISCOVERY.  I tested st-util on an STM32L-DISCOVERY and my
changes did not seem to interfere with its operation.
2012-07-09 01:00:53 -04:00
Michael Pratt b1e65ea367 Extra registers integration with GDB
The support for extra registers has been added to GDB.  Now all core
registers can be read from GDB.  Write support has not yet been added.
2012-07-08 23:04:35 -04:00
Michael Pratt a71f48db10 Read Cortex M4F floating point registers
Since the ST-LINK does not seem to support reading these registers, I
have implemented functions that will manually request these registers
and add them to the reg struct.

As of now, these functions are just backend and are not integrated into
anything, however I have verified that they work with the STM32F407
DISCOVERY board.
2012-07-08 21:04:30 -04:00
texane b9eeab4003 Merge pull request #100 from prattmic/master
Update .gitignore for test binaries
2012-07-08 12:58:37 -07:00
Michael Pratt f8d3b170f9 Merge remote-tracking branch 'upstream/master' 2012-07-08 15:52:00 -04:00
Michael Pratt e8601c816a Updated .gitignore to include test binaries 2012-07-08 15:49:36 -04:00
texane bbd45a33fc Merge pull request #99 from TheSeven/master
Fix misinterpreted monitor commands
2012-07-03 06:20:23 -07:00
Michael Sparmann 5b6eb51bd2 Fix "monitor reset" gdb command being misinterpreted as "monitor resume"
by checking for the full word, not just the first two chars.
2012-07-03 15:10:07 +02:00
texane f69c34921a Merge pull request #98 from karlp/master
page count is wrong when writing to 32L
2012-06-20 22:16:23 -07:00
Karl Palsson 406ac42502 Display proper final page write count for 32L 2012-06-21 00:16:48 +00:00
texane e82def787e Merge pull request #97 from karlp/kill_examples
Kill examples and update the docs
2012-06-20 12:40:45 -07:00
Karl Palsson 37aa61a74d Update tutorial documentation to reflect current code. 2012-06-20 19:35:46 +00:00
Karl Palsson b48db26a32 Update primary README with current documentation 2012-06-20 19:16:40 +00:00
Karl Palsson 75c434ef2d Examples have no place in stlink codebase.
They should be in a standalone repository, that can focus on clean,
easy to follow, well documented, well tested examples.

If you just want some example binaries that you can use to test your
installation is working, the libopencm3 project has various blink
projects for all the STM32 Discovery boards.
2012-06-20 19:01:27 +00:00
texane e49bcb357a Merge pull request #93 from zyp/master
Added flash loader stub for F2/F4.
2012-06-08 07:57:31 -07:00
Vegard Storheil Eriksen 8151bf5c4a Added flash loader stub for F2/F4. 2012-06-08 16:44:11 +02:00
texane 10924baac1 Merge pull request #91 from UweBonnes/master
st-flash: Honor read size, when given and add \n to mesage when no STLINK found
2012-06-07 09:23:57 -07:00
Uwe Bonnes 0e7ee109f6 Add \n to WLOG when no STLINK found 2012-06-07 18:17:29 +02:00
Uwe Bonnes cfb1e86252 st-flash: Honor size, if given 2012-06-07 18:03:23 +02:00
texane 7155c59191 Merge pull request #86 from szczys/master
Added support for the STM32F0-Discovery board
2012-06-03 10:28:42 -07:00
Mike Szczys bdb1a498df Added STM32F0-Discovery board to the blink example code 2012-06-03 10:47:18 -05:00
Mike Szczys 8975f92574 Added memory map for STM32F05xxx chips 2012-06-03 10:44:48 -05:00
Mike Szczys 9ccb398ab7 Corrected F0 DBGMCU_IDCODE register address 2012-06-03 10:39:34 -05:00
Fabien Le Mentec 14db250dcc [ update ] F0 chip id 2012-06-03 01:40:27 -05:00
Fabien Le Mentec a303d9fe7a [ fix ] apply jserv@0xlab.org patch, 0001-trivial-documentation-fix-for-st-util-path 2012-05-26 09:48:48 -05:00