Wykres commitów

585 Commity (dae71f4a8e8a24753cfbcaa984fa67c84c0f7a90)

Autor SHA1 Wiadomość Data
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
texane d3cb66a882 Merge pull request #84 from Tectu/master
Fixed option bytes
2012-05-26 07:33:01 -07:00
Tectu 105b293a15 fixed option bytes amount 2012-05-25 17:05:44 +02:00
Fabien Le Mentec fc85ba71f1 [ fix ] missing LIBUSB_CALL definition 2012-05-17 01:39:16 -05:00
texane bfa09149d4 Merge pull request #79 from WinterMute/mingw-mmap
Mingw mmap reimplementation
2012-05-16 23:21:02 -07:00
Dave Murphy 299c5d272f use BSD timersub 2012-05-16 23:41:42 +01:00
Dave Murphy 4080a3ecbb bump version 2012-05-16 23:31:07 +01:00
Dave Murphy 89016d1d86 add COPYING to repository to avoid license confusion 2012-05-16 22:44:31 +01:00
Dave Murphy 5bbef2f18b fix whitespace 2012-05-16 22:22:54 +01:00
Dave Murphy 8e4efc3602 reimplement mingw mmap 2012-05-16 22:15:38 +01:00
texane d2c78b96e0 Merge pull request #77 from WinterMute/mingw
Changes to allow compiling for windows using mingw toolchains
2012-05-14 08:18:46 -07:00
Dave Murphy 620a63c3ed Merge branch 'master' into mingw 2012-05-14 12:35:30 +01:00
Dave Murphy c0eb32267c ignore elf files in example 2012-05-14 10:57:41 +01:00
Dave Murphy 802049ed7d bump stlink version 2012-05-14 10:55:55 +01:00
Dave Murphy 80d6035828 use sys/time.h for mingw compatiblity, use LIBUSB_CALL modifier for callback 2012-05-13 22:57:27 +01:00
Dave Murphy 947c1409e3 cast to avoid pointer warning 2012-05-13 22:55:41 +01:00
Dave Murphy d02326726a fix signedness warning 2012-05-13 22:54:26 +01:00
texane 5cb053d227 Merge pull request #76 from prattmic/master
Fixed issue #66
2012-05-11 11:14:04 -07:00
Michael Pratt b61a06a8b7 Fixed issue #66 - Fixed the F4 memory map to include CCM RAM. https://github.com/texane/stlink/issues/66 2012-05-11 14:11:12 -04:00
Dave Murphy c6b6f4c51d prototype main function properly 2012-04-29 19:44:51 +01:00
Dave Murphy 49bafd8739 wrap read/write socket functions on mingw 2012-04-29 19:30:27 +01:00
Dave Murphy c5b021c6ab allow use of %zx format specifier om mingw 2012-04-29 18:49:08 +01:00