Wykres commitów

183 Commity (b1e65ea367a450e8a37584cdee334562149b2a7c)

Autor SHA1 Wiadomość Data
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
Karl Palsson 406ac42502 Display proper final page write count for 32L 2012-06-21 00:16:48 +00:00
Vegard Storheil Eriksen 8151bf5c4a Added flash loader stub for F2/F4. 2012-06-08 16:44:11 +02:00
Uwe Bonnes 0e7ee109f6 Add \n to WLOG when no STLINK found 2012-06-07 18:17:29 +02: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 fc85ba71f1 [ fix ] missing LIBUSB_CALL definition 2012-05-17 01:39:16 -05:00
Dave Murphy 299c5d272f use BSD timersub 2012-05-16 23:41:42 +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
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 691e9af28d Changes for compiling with mingw32
add mmap & pread functions when compiling for systems that don't provide them
don't use libtoolize, stick with static libraries
2012-04-28 22:55:23 +01:00
Rob Spanton b014aebd63 Fix an unused parameter warning
test_sg.c's main doesn't use its argv parameter, and so the compiler
warns us this is the case.  This patch stops it from warning us.
2012-04-23 23:21:29 +01:00
Uwe Bonnes 957b9c504f Revive the V1 pathes in stlink-usb. Tested with the STM32VL Discovery. 2012-02-07 21:43:43 +01:00
Uwe Bonnes c2d09105f5 Remove an outdated FIXME 2012-02-07 21:20:54 +01:00
Uwe Bonnes 7d9f4129ab Merge branch 'master' of git://github.com/texane/stlink
Conflicts:
	src/stlink-common.c
Solved by propagating Karl's name change
2012-02-04 15:44:40 +01:00
Uwe Bonnes 5cd3ad39ba Merge branch 'master' of github.com:UweBonnes/stlink 2012-02-02 22:53:20 +01:00
Uwe Bonnes 1324914806 Fix the progress indicator for F2/F4 flash writing 2012-02-02 22:52:43 +01:00
Uwe Bonnes 02357a8b27 Assume maximum FLASH size for F2 as for F4 (broken Flash size register)
Verify F2 and F4 by using a decent block size
2012-02-02 22:52:34 +01:00
Uwe Bonnes cbd0cf0918 For now, we can treat F2 as F4 for flashing 2012-02-02 22:52:20 +01:00
Uwe Bonnes cc461e9bc9 For L1/F2/F4 we need the chip-id to distinguish, F1 needs core_id as common deniminator 2012-02-02 22:51:49 +01:00
Karl Palsson 7c4d7aa559 Use proper modifiers for size_t printing.
Eliminates build warnings.
2012-02-01 21:05:06 +00:00
Karl Palsson f38ff8f912 Unify chipid naming convention.
Flag more duplicate variables that need to be removed/combined
2012-02-01 20:55:10 +00:00
texane 9aeeca2687 Merge pull request #52 from UweBonnes/master
Fixes around F4
2012-01-31 09:11:35 -08:00
Daniel O'Connor 5e5d1fa747 Use pkg-config to find libusb CFLAGS and LDFLAGS. 2012-01-31 16:49:45 +10:30
Uwe Bonnes b95e4aa8a4 CoreIF for F2/F4 is not different, use CPUID to distinguish. F4 errata seems to give wrong workaround 2012-01-28 04:46:22 +01:00
Uwe Bonnes a85ebd90b2 Fix writing to SRAM on F1. Blocksize greater 0x1800 stalls STLINKV2. V1 needs to be checked! 2012-01-27 20:26:32 +01:00
Uwe Bonnes ce813d328b Fix mass erase of F4 2012-01-24 13:21:47 +01:00
Uwe Bonnes d00a6a30a2 F1 set_flash_cr_strt unconditionally set the PER bit and so mass erase didn't work 2012-01-20 17:25:01 +01:00
Uwe Bonnes 0164043f92 A blank STM32L151 refused half-page writing. Fall back to half-word writing in
that case. Report advance in half-word writing. Setting stack and PC give
access error so automatic start fails too and hardware needs to be hard-reset
to start
2012-01-19 16:11:30 +01:00
Uwe Bonnes 8c36e07cbe Make stlink_erase_flash_mass device dependant and implement mass erase for L1
by consecutive page erase
Allow to erase the device with the flash
2012-01-19 16:10:43 +01:00
Uwe Bonnes 41e7c16cf2 When loading a file to SRAM or Flash, set the Stack pointer with the initial
SP value and the Program counter with the reset value from the Vector
table. Then run reset function
2012-01-19 14:17:22 +01:00
Uwe Bonnes 4c206c3b7c Allow to write to sram from the command line 2012-01-19 14:07:14 +01:00
Uwe Bonnes 16756fbe05 Store the masked chip_id in the stlink structure. Should fix unexpected
behaviour with L1 and F2
2012-01-19 13:55:00 +01:00
le mentec fabien adaf602a56 [fix] format warning on 32 bits 2012-01-18 09:58:54 -06:00
Uwe Bonnes b746f60732 Merge branch 'master' of git://github.com/texane/stlink
Conflicts:
	gdbserver/Makefile
2012-01-18 10:52:01 +01:00
Uwe Bonnes 587c65948a As write_buffer_to_sram() can now handles arbitrary size, use flash_pgsz chunks for writing F1 and reduce output 2012-01-17 22:16:55 +01:00
Uwe Bonnes 9c2b7dd76b Enable half_page write for STM32L 2012-01-17 22:16:55 +01:00
Uwe Bonnes 079148247c In write_buffer_to_sram() write as much as possible with write_mem32 2012-01-17 22:16:55 +01:00
Uwe Bonnes 72966d1912 write_mem8 with more than 0x40 bytes gives unexpected results 2012-01-17 22:16:55 +01:00
Uwe Bonnes b50eedcdb4 Some L1 flash address was off by 0x10, but is never used 2012-01-17 22:16:55 +01:00
Uwe Bonnes b90309b660 Less noisy output for STM32L erase/program, but still showing progess 2012-01-17 22:16:46 +01:00
Fabien Le Mentec 081eae3087 [fix] valueless return warning 2012-01-04 00:55:47 -06:00
Friedrich Beckmann 40c9d08c60 moved the device parameter loading at the end of initialization for V1 devices- fixed the problem of non working V1 devices 2012-01-03 23:52:44 +01:00
Uwe Bonnes 7eb080490c Move reset/load_param in the open functions, as requested by Karl 2011-12-18 23:35:20 +01:00
Uwe Bonnes 1785fd73c5 Add a TODO to check for Supply Voltage before setting F4 paralleisme to 32 bits 2011-12-18 19:24:32 +01:00
Uwe Bonnes da8f7b1a6a If no read size is given, read the whole flash 2011-12-18 19:13:46 +01:00
Uwe Bonnes 92cdf49e28 Clip flash read request to maximum flash size 2011-12-18 19:03:58 +01:00