Kyle Manna [Fri, 24 Apr 2015 00:03:28 +0000 (17:03 -0700)]
stlink: Add flash support for STM32F303 High Density
* Add the necessary teststo use the existing flash code. Haven't
verified via datasheet if it's correct.
* Works for me on the STM32F303RE Nucleo.
Kyle Manna [Thu, 23 Apr 2015 01:55:30 +0000 (18:55 -0700)]
README: Add STM32 Nucleo-F303RE board
* Add another to the list. Preliminary testing works.
Kyle Manna [Thu, 23 Apr 2015 01:48:27 +0000 (18:48 -0700)]
stlink: Add STM32F303 High Density Support
* STK32F303RET6 device from STM32 F3 Nucelo board
texane [Fri, 10 Apr 2015 04:17:28 +0000 (06:17 +0200)]
README, GDB load command issue
texane [Sun, 5 Apr 2015 06:02:19 +0000 (08:02 +0200)]
add Nucleo-F411RE to work board set
texane [Fri, 3 Apr 2015 12:13:58 +0000 (14:13 +0200)]
add HY-STM32 to working board set
lementec [Wed, 25 Mar 2015 15:53:14 +0000 (16:53 +0100)]
apply patch from rewolff: dont go bezurk if serve returns with error
texane [Sat, 21 Mar 2015 19:15:12 +0000 (20:15 +0100)]
Merge pull request #302 from ulikoehler/stm32f030f4
Added STM32F030F4P6 to working targets
Uli Köhler [Sat, 21 Mar 2015 19:07:21 +0000 (20:07 +0100)]
Added STM32F030F4P6 to working targets
texane [Fri, 20 Mar 2015 16:52:25 +0000 (17:52 +0100)]
merge request: my STM32F042 has 6k of RAM according to table 2 of the datasheet
texane [Sun, 15 Mar 2015 16:15:59 +0000 (17:15 +0100)]
Merge pull request #300 from elvisfox/master
Properly close socket on WIN32 to allow accepting further connections
Denis Fokin [Sun, 15 Mar 2015 15:49:30 +0000 (17:49 +0200)]
Properly close socket on WIN32 to allow accepting further connections
texane [Tue, 10 Mar 2015 18:05:48 +0000 (19:05 +0100)]
Merge pull request #299 from tyszja/master
Minor error reporting tweaks and redundant includes removal
Jakub Tyszkowski [Sat, 7 Mar 2015 18:47:03 +0000 (19:47 +0100)]
Remove redundant includes from stlink-sg.c
Not sure why those were here. Probaly leftovers after refactoring?
Jakub Tyszkowski [Sat, 7 Mar 2015 17:42:16 +0000 (18:42 +0100)]
Fix getting error message when successfully using stlinkV2
When using stlinkV2 you are constantly getting error messages from
'stlink_v1_open' when all goes well and 'stlink_open_usb' is used
instead. This patch fixes this confusing behaviour and makes stlink-sg.c
use logging macros consistently by removing last 'stderr' printout. It
is not needed as 'stlink_v1_open_inner' is verbose enough.
Jakub Tyszkowski [Sat, 7 Mar 2015 17:29:38 +0000 (18:29 +0100)]
Fix error being reported twice
If 'stlink_v1_open_inner' returns NULL then 'stlink_v1_open' prints
to stderr thus there is no need for the former one to print it also.
This removes 'Error: could not open stlink device' being printed
twice.
texane [Mon, 9 Feb 2015 21:00:30 +0000 (22:00 +0100)]
Merge pull request #298 from giuseppebarba/master
Added support for flashing STM32F091
giuseppe barba [Mon, 9 Feb 2015 20:54:05 +0000 (21:54 +0100)]
Added support for flashing STM32F091
Signed-off-by: giuseppe barba <giuseppe.barba@gmail.com>
texane [Tue, 3 Feb 2015 20:47:06 +0000 (21:47 +0100)]
revert
5608a3e, breaks on ubuntu 14.04
texane [Tue, 3 Feb 2015 18:07:06 +0000 (19:07 +0100)]
add --enable-static support to autoconf
texane [Sat, 24 Jan 2015 15:35:14 +0000 (16:35 +0100)]
Merge pull request #295 from simonjwright/master
STM32F42xx memory map issues
Simon Wright [Fri, 23 Jan 2015 20:43:32 +0000 (20:43 +0000)]
Merge branch 'master' of https://github.com/texane/stlink
Simon Wright [Fri, 23 Jan 2015 20:43:23 +0000 (20:43 +0000)]
Extra RAM for STM32F42xx.
texane [Sun, 18 Jan 2015 08:25:42 +0000 (09:25 +0100)]
Merge pull request #294 from normaldotcom/master
Added support for flashing STM32F042
Ethan Zonca [Sat, 17 Jan 2015 19:24:38 +0000 (14:24 -0500)]
Added support for flashing STM32F042
texane [Thu, 15 Jan 2015 07:21:59 +0000 (08:21 +0100)]
Merge pull request #293 from nicmcd/master
change flash to st-flash
Nic McDonald [Thu, 15 Jan 2015 06:52:13 +0000 (22:52 -0800)]
change flash to st-flash
Previous commit changed binary "flash" to "st-flash" but the actual
code printed help message still called it "flash". This commit changes
it to "st-flash".
texane [Wed, 14 Jan 2015 06:24:41 +0000 (07:24 +0100)]
Merge pull request #292 from nicmcd/master
added Nucleo F334R8 to README
Nic McDonald [Tue, 13 Jan 2015 21:19:34 +0000 (13:19 -0800)]
added Nucleo F334R8 to README
texane [Mon, 29 Dec 2014 22:55:14 +0000 (16:55 -0600)]
Merge pull request #288 from stefan-misik/master
Added AHB3 Peripherals definition for STM32F4
texane [Fri, 26 Dec 2014 03:31:26 +0000 (21:31 -0600)]
update README for STM32F103RB support
Stefan Misik [Wed, 24 Dec 2014 21:36:44 +0000 (22:36 +0100)]
Added AHB3 Peripherals definition for STM32F4
texane [Tue, 2 Dec 2014 17:38:00 +0000 (11:38 -0600)]
Merge pull request #284 from rene-dev/master
Support for stm32f100 low density devices
Rene Hopf [Tue, 2 Dec 2014 17:33:36 +0000 (18:33 +0100)]
Support for stm32f100 low density devices
texane [Mon, 24 Nov 2014 22:29:09 +0000 (16:29 -0600)]
Improve error message for not able to open
lementec [Tue, 18 Nov 2014 10:05:51 +0000 (11:05 +0100)]
check stlink_load_device_params
lementec [Tue, 18 Nov 2014 09:55:41 +0000 (10:55 +0100)]
add command line debug option to flash util
texane [Fri, 31 Oct 2014 18:49:02 +0000 (13:49 -0500)]
Merge pull request #281 from wdouglass/master
use correct SNB values for high flash pages on 2mb devices.
Woodrow Douglass [Fri, 31 Oct 2014 17:54:37 +0000 (13:54 -0400)]
use correct SNB values for high flash pages on 2mb devices.
texane [Fri, 31 Oct 2014 17:02:42 +0000 (12:02 -0500)]
Merge pull request #280 from wdouglass/master
Modify flash calculation functions to support 2MB devices
Woodrow Douglass [Fri, 31 Oct 2014 14:47:34 +0000 (10:47 -0400)]
Modify flash calculation functions to support 2MB devices in the STM32F4 series
lementec [Thu, 30 Oct 2014 13:38:36 +0000 (14:38 +0100)]
update README, NUCLEO-F072RB as reported by kwikius
texane [Tue, 21 Oct 2014 16:44:07 +0000 (11:44 -0500)]
Merge pull request #277 from swegener/for-upstream
SNB is wider than three bits on STM32F4
Sven Wegener [Tue, 21 Oct 2014 08:04:10 +0000 (10:04 +0200)]
SNB is wider than three bits on STM32F4
The SNB part of the FLASH_CR register is four bits wide on F4 devices
and five bits wide on F4_HD devices. F4 devices have a reserved bit
alongside the sector number, so just increase the bitmask to cover all
five bits.
Currently flashing breaks, if flahing sector eight and above before
flashing lower sectors, because the highest bit is never unset.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
texane [Tue, 14 Oct 2014 19:07:42 +0000 (14:07 -0500)]
Merge pull request #272 from bjoernh/master
add support for OS X 10.10 Yosemite
Bjoern [Tue, 14 Oct 2014 19:01:41 +0000 (21:01 +0200)]
Update README
Björn Hauffe [Tue, 14 Oct 2014 18:58:11 +0000 (20:58 +0200)]
add kernelextension for OS X 10.10 Yosemite
texane [Sun, 5 Oct 2014 06:00:16 +0000 (01:00 -0500)]
Merge pull request #268 from ros2/master
Add memory config for STM32F4
unknown [Fri, 3 Oct 2014 18:16:51 +0000 (20:16 +0200)]
[ update ] add ST NUCLEO F030R8 as a working target in README
Victor Mayoral Vilches [Mon, 29 Sep 2014 21:26:20 +0000 (14:26 -0700)]
Fix memory config for STM32F4
The previous memory map didn't allow to debug the whole flash
memory. A new configuration has been added and should be
used while working with the STM32F4Discovery.
texane [Tue, 9 Sep 2014 08:11:56 +0000 (10:11 +0200)]
Merge pull request #263 from latsku/master
Adds support for STM32F334 MCU
Lari Lehtomäki [Mon, 8 Sep 2014 15:49:11 +0000 (18:49 +0300)]
Adds support for STM32F334 MCU
texane [Thu, 21 Aug 2014 05:20:03 +0000 (07:20 +0200)]
Merge pull request #258 from MartinNowak/master
fix missing error msg when no suitable device is found
Martin Nowak [Wed, 20 Aug 2014 21:21:50 +0000 (23:21 +0200)]
fix missing error msg when no suitable device is found
texane [Fri, 15 Aug 2014 10:07:49 +0000 (12:07 +0200)]
Merge pull request #257 from rene-dev/master
reset chip via JTAG
Rene Hopf [Fri, 15 Aug 2014 08:44:24 +0000 (10:44 +0200)]
gdb server fix, indentation
Rene Hopf [Wed, 13 Aug 2014 14:00:40 +0000 (16:00 +0200)]
jtag reset
Matteo Collina [Thu, 7 Aug 2014 06:39:15 +0000 (08:39 +0200)]
Support for nucleo 411re.
texane [Sat, 2 Aug 2014 05:35:05 +0000 (00:35 -0500)]
Merge pull request #253 from Netolish/master
First support for STM32L0x family
Jiří Netolický [Fri, 1 Aug 2014 19:28:22 +0000 (21:28 +0200)]
Add support for STM32L0x.
First try to support new STM32L0x family. Tested
on NUCLEO-L053R8 development board
http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260001
Chid ID, read, erase and write flash works fine.
Jiří Netolický [Wed, 9 Jul 2014 13:13:31 +0000 (15:13 +0200)]
Added support fo STM32L0x chip id and base params.
texane [Thu, 17 Jul 2014 05:59:15 +0000 (00:59 -0500)]
Merge pull request #251 from iabdalkader/master
Send F4 memory-map and features for STM32F429
mux [Wed, 16 Jul 2014 22:46:18 +0000 (00:46 +0200)]
Send F4 memory-map and features for STM32F429
* Fix issues #250 #196
texane [Sun, 13 Jul 2014 14:56:11 +0000 (09:56 -0500)]
Merge pull request #249 from prattmic/cleanup
gdbserver: use uglylogging logging
Michael Pratt [Sat, 12 Jul 2014 20:19:41 +0000 (13:19 -0700)]
gdbserver: use uglylogging logging
Rather than putting debug printing in #ifdef blocks, use the same
uglylogging framework used by core stlink code.
To support this, the *LOG() macros are moved into the uglylogging.h
header file, and always use the filename as the logging tag.
texane [Thu, 10 Jul 2014 07:08:26 +0000 (02:08 -0500)]
Merge pull request #248 from prattmic/cleanup
Initial code cleanup
Michael Pratt [Thu, 10 Jul 2014 06:03:37 +0000 (23:03 -0700)]
Remove unused code
Remove unused #if 0'd code which has existed for years without being
used.
Michael Pratt [Thu, 10 Jul 2014 05:52:07 +0000 (22:52 -0700)]
Remove toremove/
This directory has been awaiting deletion for 3 years. It is time to
go.
Michael Pratt [Thu, 10 Jul 2014 05:31:11 +0000 (22:31 -0700)]
Reindent all source files
The indentation of various st-link source files is highly inconsistent.
Reindent all source files to 4 space indentions for consistency.
I went with 4 space indentations, as it was the most common style.
texane [Tue, 1 Jul 2014 17:08:52 +0000 (12:08 -0500)]
Merge pull request #246 from sneuf/patch-1
Add F3 small devices (F301, F302) with ID 0x439
sneuf [Tue, 1 Jul 2014 14:42:27 +0000 (16:42 +0200)]
Add F3 small devices (F301, F302) with ID 0x439
- Add F3 small devices (F301, F302) with MCU device ID code 0x439
- Sort supported devices by MCU device ID code
texane [Fri, 20 Jun 2014 10:45:29 +0000 (05:45 -0500)]
Merge pull request #245 from dobromyslov/master
udev rules initialization and STM32F0Discovery
Viacheslav Dobromyslov [Fri, 20 Jun 2014 10:11:09 +0000 (21:11 +1100)]
udev rules initialization and STM32F0Discovery
Added udev rules initialization.
Added STM32F0Discovery board to the supported boards list.
texane [Wed, 4 Jun 2014 05:16:04 +0000 (00:16 -0500)]
Merge pull request #242 from ynsta/master
Correct gui build when builddir is not srcdir
Stany MARCEL [Tue, 3 Jun 2014 22:13:46 +0000 (00:13 +0200)]
Correct gui build when builddir is not srcdir
texane [Mon, 26 May 2014 05:22:55 +0000 (00:22 -0500)]
Merge pull request #236 from orangeudav/patch-1
Fix OS X's version detecting
orangeudav [Sun, 25 May 2014 21:36:59 +0000 (01:36 +0400)]
Fix OS X's version detecting
texane [Mon, 19 May 2014 08:42:58 +0000 (03:42 -0500)]
Merge pull request #235 from ocroquette/sigint
Include signal.h to define SIGINT
Olivier Croquette [Mon, 19 May 2014 08:35:24 +0000 (10:35 +0200)]
Include signal.h to define SIGINT
Fix build error with MinGW
fhars [Wed, 16 Apr 2014 08:41:33 +0000 (10:41 +0200)]
Update README
This board uses a ST-Link/V2-1 interface. I don't know what differences there are between v2 and v2-1, but they seem to be small enough that first tests worked as expected.
texane [Tue, 15 Apr 2014 16:29:33 +0000 (11:29 -0500)]
Merge pull request #223 from troth/troth/fix-compiler-warning-32bit
Quell compiler warning.
Theodore A. Roth [Tue, 15 Apr 2014 15:46:26 +0000 (09:46 -0600)]
Quell compiler warning.
Building on a 32-bit linux system was generating the following:
src/st-info.c: In function ‘print_data’:
src/st-info.c:25:3: warning: format ‘%lx’ expects argument of type \
‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]
src/st-info.c:27:3: warning: format ‘%lx’ expects argument of type \
‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]
src/st-info.c:29:3: warning: format ‘%lx’ expects argument of type \
‘long unsigned int’, but argument 2 has type ‘size_t’ [-Wformat]
Using '%zx' eliminates the warning in a platform agnostic way.
texane [Sun, 16 Mar 2014 19:36:52 +0000 (14:36 -0500)]
[ fix ] fix STM32L152RE broken by previous commit
texane [Thu, 13 Mar 2014 12:28:40 +0000 (07:28 -0500)]
[ update ] flash support for the STM32F401XX (installed on the nucleo F4 boards)
texane [Mon, 10 Mar 2014 18:44:22 +0000 (19:44 +0100)]
Merge pull request #215 from petiepooo/patch-1
Fix segv if only --reset option given
Pete [Mon, 10 Mar 2014 18:32:09 +0000 (14:32 -0400)]
Fix segv if only --reset option given
We didn't recheck that there are enough parameters after shifting the --reset option off the list.
texane [Sat, 8 Mar 2014 16:51:02 +0000 (17:51 +0100)]
Merge pull request #214 from sbsimmons/master
Add support for STM32L152RE (Nucleo-L152RE)
Sean Simmons [Sat, 8 Mar 2014 16:21:16 +0000 (11:21 -0500)]
* Improved support for STM32L152RE - flash/ram sizes, now correct, flash programming works.
* Cleaned up checking of FP_CTRL register in gdb-server.c
* Added source code for stm32lx.s flashloader - just for reference.
texane [Wed, 5 Mar 2014 16:03:56 +0000 (17:03 +0100)]
Merge pull request #213 from tekaikko/master
Support STM32F07x devices
tekaikko [Wed, 5 Mar 2014 14:22:34 +0000 (15:22 +0100)]
Update stlink-common.c
fix typo
tekaikko [Wed, 5 Mar 2014 14:21:03 +0000 (15:21 +0100)]
Update stlink-common.c
Adding support for STM32F07x CAN connectivity devices
tekaikko [Wed, 5 Mar 2014 14:19:49 +0000 (15:19 +0100)]
Update stlink-common.h
Adding support for STM32F07x CAN connectivity devices
texane [Sat, 1 Mar 2014 12:52:41 +0000 (13:52 +0100)]
Merge pull request #212 from dandev37/mingw
Update MinGW instructions for USB 3.0 hub support.
dandev37 [Fri, 28 Feb 2014 20:23:51 +0000 (12:23 -0800)]
Update MinGW instructions for USB 3.0 hub support.
Report libusb_open() error code to the user.
texane [Fri, 21 Feb 2014 14:23:32 +0000 (15:23 +0100)]
Merge pull request #210 from jehoffmann/master
Added STM32F401RE chip id.
Jens Hoffmann [Fri, 21 Feb 2014 14:12:16 +0000 (15:12 +0100)]
Added STM32F401RE chip id.
Nucleo F401RE board got 512K flash and 96K sram. This commit adds
device definition for this controller.
texane [Thu, 20 Feb 2014 13:31:03 +0000 (14:31 +0100)]
Merge pull request #209 from jehoffmann/master
Added support for ST nucleo devices.
Jens Hoffmann [Thu, 20 Feb 2014 12:28:04 +0000 (13:28 +0100)]
Added support for ST nucleo devices.
Nucleo boards using the same endpoint for IN and OUT (1). This patch
fix it.
texane [Sat, 1 Feb 2014 06:35:47 +0000 (22:35 -0800)]
Merge pull request #207 from jimparis/master
When ignoring the end of a file, make sure we don't ignore partial words.
Jim Paris [Fri, 31 Jan 2014 21:26:35 +0000 (16:26 -0500)]
When ignoring the end of a file, make sure we don't ignore partial words.
Consider a 128-byte write to the chip. If the last 2 bytes are
considered "empty", then len is adjusted to 126, and run_flash_loader
will only copy 126 bytes to RAM. However, run_flash_loader then
proceeds to round up to 32 words (128 bytes) when flashing, which has
the effect of clobbering those last two "empty" bytes with junk data.