Wykres commitów

14 Commity (e8503fb9b0a54483ab7d5dfc9f4989973711f1ef)

Autor SHA1 Wiadomość Data
zulusw bc48e99b19 Fixing low-voltage flashing on STM32F7 parts. (#567)
* fixing low voltage flashing for STM32F7
* Refactoring duplicated code
2017-03-14 18:54:02 +01:00
Tom de Boer 75ed6cfb9f Formatted comments and stm32lx.s 2016-05-09 10:55:57 +02:00
Tom de Boer 26949364f7 Fixed the STM32L-problem according to @gluedig
See https://github.com/texane/stlink/issues/390#issuecomment-217382832
2016-05-08 21:35:08 +02:00
Tom de Boer f5d6cec4c7 Fix for broken STML0 and STML1
Commits 907383da8e and e43a737c3c were causing issues for people with STML0's and STML1's. This commit reverses the changes in these two commits.
2016-05-06 14:00:28 +02:00
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