Wykres commitów

10 Commity (a6b2f93661822b33de22aa533f09319850e352fe)

Autor SHA1 Wiadomość Data
Maxime Coquelin d0458ee756 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>
2016-03-14 15:17:44 +01:00
Maxime Coquelin e43a737c3c 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>
2016-03-14 15:17:36 +01:00
Maxime Coquelin 907383da8e 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>
2016-03-14 15:12:44 +01:00
Dave Vandervies 0419b8bec6 Flash loader for STM32L4 2015-08-01 10:01:42 -04:00
Andy Isaacson 71535104e4 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.
2015-06-09 17:53:55 -07:00
Jiří Netolický 44c645b7d7 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.
2014-08-01 21:28:22 +02:00
Michael Pratt 3b443dc1c8 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.
2014-07-09 22:56:36 -07:00
Sean Simmons 94c7ac86dc * 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.
2014-03-08 11:21:16 -05:00
Pekka Nikander e8b15c0e78 Add support for STM32F0-Discovery 2012-10-05 15:34:36 +03:00
Vegard Storheil Eriksen 8151bf5c4a Added flash loader stub for F2/F4. 2012-06-08 16:44:11 +02:00