fw/stlink
8 years agostlink-common: Fix STM32L4 loader write count to reflect 64bits granularity
Maxime Coquelin [Mon, 14 Mar 2016 13:53:32 +0000 (14:53 +0100)]
stlink-common: Fix STM32L4 loader write count to reflect 64bits granularity

The stm32l4 loader expects a count of 32 bits words while its granularity is
really 64 bits.

This patch fixes this to simplify count calculation in run_flash_loader().

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink-common: Update STM32L0/1 loaders to return remaining count in r2
Maxime Coquelin [Mon, 14 Mar 2016 13:22:54 +0000 (14:22 +0100)]
stlink-common: Update STM32L0/1 loaders to return remaining count in r2

All the loaders returns remaining work count in r2, except stm32l0/1.
Make these loaders behaving as the others to simplify run_flash_loader() code.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink-common: Update STM32L0 and STM32L1 loader ABI
Maxime Coquelin [Mon, 14 Mar 2016 12:32:48 +0000 (13:32 +0100)]
stlink-common: Update STM32L0 and STM32L1 loader ABI

This patch invert source and destination registers in the stm32l0 and stm32l1
loaders, so that it follows the same ABI as other stm32 loaders.

Doing that, the run_flash_loader() function can be simplified a little.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink-common: Simplify run_flash_loader()
Maxime Coquelin [Mon, 14 Mar 2016 12:01:23 +0000 (13:01 +0100)]
stlink-common: Simplify run_flash_loader()

This patch simplifies run_flash_loader() function in preparation for error
propagation from backends.

Doing this, we have less call sites for stlink API.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink-common: Introduce type of flash controller enum
Maxime Coquelin [Fri, 11 Mar 2016 17:51:15 +0000 (18:51 +0100)]
stlink-common: Introduce type of flash controller enum

Having a type of flash information has some advantages:
 - Make the code easier to read
 - Make adding family derivatives easier (only add a new entry in header file)
 - Make the backends error propagation easier to implement (less places to fix)

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agost-flash: Improve error handling
Maxime Coquelin [Fri, 11 Mar 2016 15:57:34 +0000 (16:57 +0100)]
st-flash: Improve error handling

Now that libusb errors are propagated up to stlink API, we can handle these
errors.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink-common: Make stlink API propagate backend errors
Maxime Coquelin [Fri, 11 Mar 2016 14:27:56 +0000 (15:27 +0100)]
stlink-common: Make stlink API propagate backend errors

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agoMake the backends propagate errors
Maxime Coquelin [Fri, 11 Mar 2016 10:16:41 +0000 (11:16 +0100)]
Make the backends propagate errors

As the libusb returns errors, make the backends propagates them so that
callers can decide to continue or stop task execution.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink_target_voltage: Check for libusb error
Maxime Coquelin [Thu, 10 Mar 2016 15:39:26 +0000 (16:39 +0100)]
stlink_target_voltage: Check for libusb error

_stlink_usb_target_voltage already returns an error value.
If value return is positive, this is a voltage, if negative this is an error.
Check the return on callers side to inform there is an error in reading the
voltage, instead of notifying of a too low voltage.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agostlink_core_id: No need to return core_id value
Maxime Coquelin [Thu, 10 Mar 2016 15:26:48 +0000 (16:26 +0100)]
stlink_core_id: No need to return core_id value

This rework is done in order to prepare for propagating errors returned by
libusb.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agoread_debug32: Use a pointer instead of returning the value
Maxime Coquelin [Thu, 10 Mar 2016 15:15:57 +0000 (16:15 +0100)]
read_debug32: Use a pointer instead of returning the value

This rework is done in order to prepare for propagating errors returned by
libusb.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agoMerge pull request #383 from xor-gate/cmake-add-st-info
texane [Fri, 11 Mar 2016 21:33:06 +0000 (22:33 +0100)]
Merge pull request #383 from xor-gate/cmake-add-st-info

Add st-info to CMakeLists.txt

8 years agoAdd st-info to CMakeLists.txt
Jerry Jacobs [Fri, 11 Mar 2016 21:13:09 +0000 (22:13 +0100)]
Add st-info to CMakeLists.txt

8 years agobe quicker about determining erased byte pattern when flashing, more readable code
texane [Sat, 27 Feb 2016 18:17:19 +0000 (19:17 +0100)]
be quicker about determining erased byte pattern when flashing, more readable code

8 years agoMerge pull request #377 from gtalusan/master
texane [Sat, 27 Feb 2016 18:12:27 +0000 (19:12 +0100)]
Merge pull request #377 from gtalusan/master

be quicker about determining erased byte pattern when flashing

8 years agobe quicker about determining erased byte pattern when flashing
George Talusan [Sat, 27 Feb 2016 16:41:39 +0000 (11:41 -0500)]
be quicker about determining erased byte pattern when flashing

8 years agoMerge pull request #376 from gtalusan/master
texane [Tue, 23 Feb 2016 05:52:15 +0000 (06:52 +0100)]
Merge pull request #376 from gtalusan/master

make st-flash clean up on sigint/term/segv, make gdb-server clean up on sigsegv.

8 years agomake st-flash clean up on sigint/term/segv, make gdb-server clean up on sigsegv.
George Talusan [Tue, 23 Feb 2016 01:07:43 +0000 (20:07 -0500)]
make st-flash clean up on sigint/term/segv, make gdb-server clean up on sigsegv.

8 years agoMerge pull request #375 from gtalusan/master
texane [Mon, 22 Feb 2016 17:43:35 +0000 (18:43 +0100)]
Merge pull request #375 from gtalusan/master

make usb backend status check work, remove some dead code

8 years agomake usb backend status check work, remove some dead code
George Talusan [Mon, 22 Feb 2016 16:41:48 +0000 (11:41 -0500)]
make usb backend status check work, remove some dead code

8 years agoMerge pull request #374 from gtalusan/master
texane [Fri, 19 Feb 2016 17:33:24 +0000 (18:33 +0100)]
Merge pull request #374 from gtalusan/master

use libusb synchronous api

8 years agouse libusb synchronous api
George Talusan [Fri, 19 Feb 2016 16:11:31 +0000 (11:11 -0500)]
use libusb synchronous api

8 years agoMerge pull request #371 from gtalusan/master
texane [Fri, 19 Feb 2016 06:12:11 +0000 (07:12 +0100)]
Merge pull request #371 from gtalusan/master

remove empty byte truncation from stlink_fread

8 years agoMerge pull request #372 from gtalusan/gdb-bigread
texane [Fri, 19 Feb 2016 06:10:00 +0000 (07:10 +0100)]
Merge pull request #372 from gtalusan/gdb-bigread

clamp gdb memory reads to 0x1800

8 years agoclamp gdb memory reads to 0x1800
George Talusan [Fri, 19 Feb 2016 05:04:44 +0000 (00:04 -0500)]
clamp gdb memory reads to 0x1800

8 years agoremove empty byte truncation from stlink_fread
George Talusan [Fri, 19 Feb 2016 03:56:27 +0000 (22:56 -0500)]
remove empty byte truncation from stlink_fread

8 years agoAdded STM32F051R8T6
fabien.lementec [Mon, 15 Feb 2016 13:55:09 +0000 (14:55 +0100)]
Added STM32F051R8T6

8 years agoMerge pull request #370 from brunowonka/STM32L4_flash_fix
texane [Wed, 3 Feb 2016 22:45:52 +0000 (23:45 +0100)]
Merge pull request #370 from brunowonka/STM32L4_flash_fix

Stm32 l4 flash fix

8 years agoclean SR flags before programming CR
Bruno Dal Bo [Wed, 3 Feb 2016 21:10:54 +0000 (13:10 -0800)]
clean SR flags before programming CR

8 years agofix on stm32l4 to clear flash mass erase flags on CR
Bruno Dal Bo [Wed, 3 Feb 2016 21:06:18 +0000 (13:06 -0800)]
fix on stm32l4 to clear flash mass erase flags on CR

8 years agofix signed unsigned comparison
fabien.lementec [Mon, 1 Feb 2016 16:02:55 +0000 (17:02 +0100)]
fix signed unsigned comparison

8 years agoMerge pull request #369 from meisteg/stutil_reset
texane [Mon, 1 Feb 2016 16:02:29 +0000 (17:02 +0100)]
Merge pull request #369 from meisteg/stutil_reset

st-util: Fix for connecting to running devices

8 years agoMerge pull request #368 from meisteg/l4_memory_map
texane [Mon, 1 Feb 2016 16:01:45 +0000 (17:01 +0100)]
Merge pull request #368 from meisteg/l4_memory_map

Add memory map for STM32L4

8 years agoMerge pull request #367 from meisteg/fix_every_other
texane [Mon, 1 Feb 2016 16:01:13 +0000 (17:01 +0100)]
Merge pull request #367 from meisteg/fix_every_other

Fix issue where "unknown chip id!" is seen every other time

8 years agost-util: Fix for connecting to running devices
Greg Meiste [Mon, 1 Feb 2016 15:08:59 +0000 (09:08 -0600)]
st-util: Fix for connecting to running devices

Previously, even with the reset enabled, st-util would not connect
to a target if it was running. This change will reset the chip
when opening the connection, which allows st-util to connect
successfully.

Signed-off-by: Greg Meiste <w30289@motorola.com>
8 years agoAdd memory map for STM32L4
Greg Meiste [Wed, 27 May 2015 18:20:07 +0000 (13:20 -0500)]
Add memory map for STM32L4

Signed-off-by: Greg Meiste <w30289@motorola.com>
8 years agoFix issue where "unknown chip id!" is seen every other time
Greg Meiste [Wed, 27 May 2015 15:12:40 +0000 (10:12 -0500)]
Fix issue where "unknown chip id!" is seen every other time

Previously when running the program, reading the chip version
would fail. Running the program a second time worked. This
sequence is repeated the next time st-flash/st-util is run.

Giving reset 10ms to complete before trying to read the chip
version resolves the issue.

Signed-off-by: Greg Meiste <w30289@motorola.com>
8 years agoMerge pull request #366 from meisteg/l4_voltage
texane [Fri, 29 Jan 2016 15:35:37 +0000 (16:35 +0100)]
Merge pull request #366 from meisteg/l4_voltage

Allow flashing of STM32L4 down to 1.71 V

8 years agoAllow flashing of STM32L4 down to 1.71 V
Greg Meiste [Mon, 19 Oct 2015 14:24:40 +0000 (09:24 -0500)]
Allow flashing of STM32L4 down to 1.71 V

The STM32L4 specification specifies that VDD can be 1.71 - 3.6 V.

Signed-off-by: Greg Meiste <w30289@motorola.com>
8 years agoMerge pull request #363 from gingold-adacore/cache
texane [Mon, 11 Jan 2016 15:02:48 +0000 (16:02 +0100)]
Merge pull request #363 from gingold-adacore/cache

st-util: synchronize cache for stm32f7

8 years agost-util: synchronize cache for stm32f7
Tristan Gingold [Mon, 11 Jan 2016 14:44:17 +0000 (15:44 +0100)]
st-util: synchronize cache for stm32f7

This patch handles the cache on the cortex-m7 stm32f7 cpu.
When gdb inserts a soft breakpoint (which is the default for
code in RAM), it replaces an instruction with a breakpoint
instruction.  But if the caches are enabled, the replacement
may be made only in the D-cache.  To reach the I-cache, the
D-cache must be flushed and the I-cache invalidated.

This implementation is coarse: it cleans the whole D-cache
and invalidate the whole I-cache.  It is possible to
track which cache lines have to be cleaned and invalidated.

8 years agoMerge pull request #360 from gingold-adacore/stm32f7-regs
texane [Thu, 17 Dec 2015 11:38:21 +0000 (12:38 +0100)]
Merge pull request #360 from gingold-adacore/stm32f7-regs

stm32f7: also send features to gdb.

8 years agoMerge pull request #359 from gingold-adacore/no-trailing-nul
texane [Thu, 17 Dec 2015 11:37:50 +0000 (12:37 +0100)]
Merge pull request #359 from gingold-adacore/no-trailing-nul

Do not send a NUL at end of packets to gdb.

8 years agostm32f7: also send features to gdb.
Tristan Gingold [Thu, 17 Dec 2015 10:05:00 +0000 (11:05 +0100)]
stm32f7: also send features to gdb.

So that 'extra' registers (msp, psp, ...) are visible to user.

8 years agoDo not send a NUL at end of packets to gdb.
Tristan Gingold [Thu, 17 Dec 2015 10:00:45 +0000 (11:00 +0100)]
Do not send a NUL at end of packets to gdb.

GDB doesn't need it and see the NUL as a junk character
(visible with 'set debug remote 1').

8 years agoMerge pull request #357 from jlbirccyn/patch-1
texane [Tue, 15 Dec 2015 16:18:25 +0000 (17:18 +0100)]
Merge pull request #357 from jlbirccyn/patch-1

Added STM32L053R8

8 years agoAdded STM32L053R8
Jean-Luc Béchennec [Tue, 15 Dec 2015 14:12:55 +0000 (15:12 +0100)]
Added STM32L053R8

Hello, checked this board with stink. It communicates without flaw with the board:

```
2015-12-15T14:47:03 INFO src/stlink-common.c: Loading device parameters....
2015-12-15T14:47:03 INFO src/stlink-common.c: Device connected is: L0x3 device, id 0x10086417
2015-12-15T14:47:03 INFO src/stlink-common.c: SRAM size: 0x2000 bytes (8 KiB), Flash: 0x10000 bytes (64 KiB) in pages of 128 bytes
2015-12-15T14:47:03 INFO gdbserver/gdb-server.c: Chip ID is 00000417, Core ID is  0bc11477.
2015-12-15T14:47:03 INFO gdbserver/gdb-server.c: Target voltage is 3264 mV.
2015-12-15T14:47:03 INFO gdbserver/gdb-server.c: Listening at *:4242...
```

When I launch GDB and connect to the server, I get :

```
2015-12-15T14:51:41 ERROR gdbserver/gdb-server.c: [FP_CTRL] = 0x00000041 expecting 0x00000261
2015-12-15T14:51:41 INFO gdbserver/gdb-server.c: GDB connected.
```

on the st-util side and :

```
Cannot access memory at address 0xffffffff
```

on the GDB side

Reading and writing to memory and registers works however I get

```
Cannot access memory at address 0xffffffff
```

Each time I write to the memory or to a register

8 years agoMerge pull request #354 from gvz/master
texane [Mon, 7 Dec 2015 17:29:58 +0000 (18:29 +0100)]
Merge pull request #354 from gvz/master

Added parameter to specify one stlink v2 of many

8 years agoAdded parameter to specify one stlink v2 of many
Georg von Zengen [Mon, 7 Dec 2015 16:23:15 +0000 (17:23 +0100)]
Added parameter to specify one stlink v2 of many

This adds a parameter to the function stlink_open_usb and to the binary
st-flash to specify one of multiple connected stlinks.
As the identifier the iSerial of the stlink is used.
If no serial is given the function and binary behave as before.

8 years agoMerge pull request #350 from cheshirekow/cmake_build
texane [Fri, 20 Nov 2015 16:53:56 +0000 (17:53 +0100)]
Merge pull request #350 from cheshirekow/cmake_build

Cmake build

8 years agoMerge branch 'master' into cmake_build
Josh Bialkowski [Fri, 20 Nov 2015 16:09:12 +0000 (08:09 -0800)]
Merge branch 'master' into cmake_build

8 years agofix MINGW test in cmake
Josh Bialkowski [Thu, 19 Nov 2015 17:29:27 +0000 (09:29 -0800)]
fix MINGW test in cmake

8 years agoMerge pull request #349 from ibobalo/master
texane [Thu, 19 Nov 2015 10:00:20 +0000 (11:00 +0100)]
Merge pull request #349 from ibobalo/master

mingw compilation error (sleep) fixed

8 years agomingw compilation error (sleep) fixed
bob [Thu, 19 Nov 2015 08:53:21 +0000 (10:53 +0200)]
mingw compilation error (sleep) fixed

8 years agoMerge pull request #348 from cheshirekow/cmake_build
texane [Tue, 17 Nov 2015 16:32:39 +0000 (17:32 +0100)]
Merge pull request #348 from cheshirekow/cmake_build

first stab at a cmake build

8 years agofirst stab at a cmake build
Josh Bialkowski [Tue, 17 Nov 2015 00:50:08 +0000 (16:50 -0800)]
first stab at a cmake build

8 years agoMerge pull request #347 from jauler/master
texane [Mon, 9 Nov 2015 18:15:13 +0000 (19:15 +0100)]
Merge pull request #347 from jauler/master

Implement simple non-blocking ring buffer for communication over stlink

8 years agoImplement simple non-blocking ring buffer for communication over stlink
Rytis Karpuska [Mon, 9 Nov 2015 18:03:42 +0000 (20:03 +0200)]
Implement simple non-blocking ring buffer for communication over stlink

8 years agoMerge pull request #345 from mcoquelin-stm32/stm32f469
texane [Sat, 24 Oct 2015 05:04:21 +0000 (07:04 +0200)]
Merge pull request #345 from mcoquelin-stm32/stm32f469

Add support to STM32F469/STM32F479

8 years agoAdd support to STM32F469/STM32F479
Maxime Coquelin [Fri, 23 Oct 2015 21:14:59 +0000 (23:14 +0200)]
Add support to STM32F469/STM32F479

STM32F469 is a STM32F429 MCU with Dual-QSPI NOR support and DSI screen
support.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
8 years agoREADME, add working target
lementec [Mon, 12 Oct 2015 06:07:59 +0000 (08:07 +0200)]
README, add working target

8 years agoMerge pull request #341 from mlu/master
texane [Sat, 3 Oct 2015 15:20:35 +0000 (17:20 +0200)]
Merge pull request #341 from mlu/master

Breakpoint handling for Cortex M7

8 years agoBreakpoint handling for Cortex M7
mlundinse [Sat, 3 Oct 2015 14:36:37 +0000 (16:36 +0200)]
Breakpoint handling for Cortex M7

8 years agoMerge pull request #339 from b1y1k/master
texane [Thu, 3 Sep 2015 08:45:36 +0000 (10:45 +0200)]
Merge pull request #339 from b1y1k/master

correct error message is given upon missing pkg-config package.

8 years agocorrect error message is given upon missing pkg-config package. fixes texane/stlink#338
Efe Can İçöz [Thu, 3 Sep 2015 08:32:12 +0000 (11:32 +0300)]
correct error message is given upon missing pkg-config package. fixes texane/stlink#338

8 years agoMerge pull request #336 from mlu/revert-328-master
texane [Fri, 21 Aug 2015 13:46:05 +0000 (15:46 +0200)]
Merge pull request #336 from mlu/revert-328-master

Revert "Make _stlink_usb_reset use hardreset"

8 years agoRevert "Make _stlink_usb_reset use hardreset"
mlu [Fri, 21 Aug 2015 13:44:34 +0000 (15:44 +0200)]
Revert "Make _stlink_usb_reset use hardreset"

8 years agoMerge pull request #330 from brunowonka/length_fix
texane [Mon, 17 Aug 2015 20:08:05 +0000 (22:08 +0200)]
Merge pull request #330 from brunowonka/length_fix

segmentation fault length fix

8 years agoMerge pull request #329 from dj3vande/gdbserver-segfault-fix
texane [Mon, 17 Aug 2015 20:06:57 +0000 (22:06 +0200)]
Merge pull request #329 from dj3vande/gdbserver-segfault-fix

Fix segfault in gdb-server

8 years agosegmentation fault length fix
bruno_dalbo [Mon, 17 Aug 2015 17:54:19 +0000 (14:54 -0300)]
segmentation fault length fix

8 years agoCorrectly compute flash write size for partial pages
Dave Vandervies [Wed, 12 Aug 2015 21:34:32 +0000 (17:34 -0400)]
Correctly compute flash write size for partial pages

8 years agoMerge pull request #328 from mlu/master
texane [Sat, 15 Aug 2015 17:47:43 +0000 (19:47 +0200)]
Merge pull request #328 from mlu/master

Make _stlink_usb_reset use hardreset

8 years agoMake _stlink_usb_reset use hardreset
mlundinse [Sat, 15 Aug 2015 17:42:52 +0000 (19:42 +0200)]
Make _stlink_usb_reset use hardreset

8 years agoMerge pull request #327 from mlu/master
texane [Sat, 15 Aug 2015 17:32:27 +0000 (19:32 +0200)]
Merge pull request #327 from mlu/master

Make sure MCU is halted before running RAM based flashloaders.

8 years agoMake sure MCU is halted before running RAM based flashloaders.
mlundinse [Sat, 15 Aug 2015 17:23:53 +0000 (19:23 +0200)]
Make sure MCU is halted before running RAM based flashloaders.

8 years agoMerge pull request #326 from mlu/master
texane [Sat, 15 Aug 2015 17:17:42 +0000 (19:17 +0200)]
Merge pull request #326 from mlu/master

Correct flash sector numbers and sizes for STM32F7

8 years agoCorrect flash sector numbers and sizes for STM32F7
mlundinse [Sat, 15 Aug 2015 16:56:40 +0000 (18:56 +0200)]
Correct flash sector numbers and sizes for STM32F7

8 years agoMerge pull request #325 from trlsmax/master
texane [Sat, 15 Aug 2015 06:31:12 +0000 (08:31 +0200)]
Merge pull request #325 from trlsmax/master

fix can not flash STM32_F3_SMALL

8 years agoMerge pull request #324 from mlu/master
texane [Thu, 13 Aug 2015 20:31:14 +0000 (22:31 +0200)]
Merge pull request #324 from mlu/master

Added STM32F7 Support

8 years agoAdded STM32F7 Support
mlundinse [Thu, 13 Aug 2015 17:15:23 +0000 (19:15 +0200)]
Added STM32F7 Support

8 years agofix can not flash STM32_F3_SMALL
Max Chen [Thu, 13 Aug 2015 06:24:09 +0000 (14:24 +0800)]
fix can not flash STM32_F3_SMALL

8 years agoFIX: "unaligned addr or size" in attempt of write the program in the RAM (#323)
texane [Sat, 8 Aug 2015 14:03:49 +0000 (16:03 +0200)]
FIX: "unaligned addr or size" in attempt of write the program in the RAM (#323)

8 years agoMerge pull request #321 from dj3vande/stm32l4
texane [Sat, 1 Aug 2015 14:42:07 +0000 (16:42 +0200)]
Merge pull request #321 from dj3vande/stm32l4

STM32L4 support

8 years agoClear STM32L4 PER,MER,PG bits
Dave Vandervies [Mon, 20 Jul 2015 19:25:48 +0000 (15:25 -0400)]
Clear STM32L4 PER,MER,PG bits

The controller doesn't clear them automatically when the operation
finishes, so to avoid getting errors we need to clear them manually
before we request another operation.

8 years agoFlash loader for STM32L4
Dave Vandervies [Mon, 20 Jul 2015 19:15:25 +0000 (15:15 -0400)]
Flash loader for STM32L4

8 years agoAdd supprt for STM32L4 flash driver
Dave Vandervies [Mon, 20 Jul 2015 02:58:43 +0000 (22:58 -0400)]
Add supprt for STM32L4 flash driver

No loader yet, but we can erase!

8 years agoAdd STM32L4 to CHIPID #defines and devices[]
Dave Vandervies [Sat, 18 Jul 2015 20:25:11 +0000 (16:25 -0400)]
Add STM32L4 to CHIPID #defines and devices[]

8 years agoMerge pull request #320 from pavel-kirienko/master
texane [Sat, 1 Aug 2015 11:27:41 +0000 (13:27 +0200)]
Merge pull request #320 from pavel-kirienko/master

STM32F446 support

8 years agoGDN server: F446 support
Pavel Kirienko [Fri, 17 Jul 2015 09:34:37 +0000 (12:34 +0300)]
GDN server: F446 support

8 years agoBasic support for F446
Pavel Kirienko [Fri, 17 Jul 2015 08:55:28 +0000 (11:55 +0300)]
Basic support for F446

8 years agoMerge pull request #316 from radii/stm32f4-low-voltage
texane [Wed, 10 Jun 2015 05:20:18 +0000 (07:20 +0200)]
Merge pull request #316 from radii/stm32f4-low-voltage

STM32F4 8-bit support for 1.8v operation

8 years agoSTM32F4 8-bit support for 1.8v operation
Andy Isaacson [Tue, 9 Jun 2015 18:15:28 +0000 (11:15 -0700)]
STM32F4 8-bit support for 1.8v operation

Per ST doc DM00035129.pdf "DocID022063 Rev 5", the STM32F415xx data sheet,
table 40 on page 110 of the PDF, 32-bit program operation is only possible
above 2.7 Volts.

In order to support programming on devices running at lower voltages, this
commit adds an 8-bit programming mode and the necessary tests to enable it
when the reported voltage is below 2.7 Volts.

8 years agoMerge pull request #315 from schodet/l1xx-cat2-support
texane [Mon, 25 May 2015 16:09:15 +0000 (18:09 +0200)]
Merge pull request #315 from schodet/l1xx-cat2-support

Add STM32L1xx Cat.2 devices support

8 years agoAdd STM32L1xx Cat.2 devices support
Nicolas Schodet [Tue, 19 May 2015 14:30:51 +0000 (16:30 +0200)]
Add STM32L1xx Cat.2 devices support

9 years agoMerge pull request #313 from schodet/f2-memory
texane [Mon, 18 May 2015 15:16:28 +0000 (17:16 +0200)]
Merge pull request #313 from schodet/f2-memory

Fix F2 memory map

9 years agoFix F2 memory map
Nicolas Schodet [Mon, 18 May 2015 14:55:32 +0000 (16:55 +0200)]
Fix F2 memory map

This enables GCC to only erase needed pages.

9 years agoMerge pull request #311 from naedanger/master
texane [Tue, 5 May 2015 10:53:02 +0000 (12:53 +0200)]
Merge pull request #311 from naedanger/master

Updated the memory map for stm32f42xxx and stm32f43xxx devices.

9 years agoUpdated the memory map for stm32f42xxx and stm32f43xxx devices.
Craig Lilley [Mon, 4 May 2015 22:16:31 +0000 (23:16 +0100)]
Updated the memory map for stm32f42xxx and stm32f43xxx devices.

* These devices have up to 256K of sram.
* External memory accessed via the FMC controller is now accessible
  in GDB.

9 years agoMerge pull request #310 from rkreis/add-working-targets
texane [Wed, 29 Apr 2015 07:52:01 +0000 (09:52 +0200)]
Merge pull request #310 from rkreis/add-working-targets

add some known working targets

9 years agoadd some known working targets
Robin Kreis [Wed, 29 Apr 2015 07:07:45 +0000 (09:07 +0200)]
add some known working targets