anton
2b3a31609c
Moved set the PG flag from loader to code
2021-04-25 12:25:15 +05:00
anton
817c8ad436
flash_loader: fixed setup PG flag in F0/VL flash loaders, code cleared
2021-04-04 13:34:36 +05:00
anton
c0653f6595
flash_loader: improved handling errors
2021-04-04 13:28:51 +05:00
anton
7cfab876e7
flash_loader: fix typo in the stm32l4 loader
2021-04-04 13:28:02 +05:00
anton
c677eb2f4d
flash_loader: makefile simplification
2021-03-23 20:06:47 +05:00
anton
41bbbc2e96
flash_loader: fix check BUSY flag, code simplified
2021-03-19 20:44:16 +05:00
nightwalker-87
c1918c0ff6
Aligned coding style
...
- Added config for uncrustify style settings
- Applied changes to source files
- Moved some header files
2020-06-12 22:28:16 +02:00
nightwalker-87
af765a2022
Minor fixes for flashloader files
2020-05-22 15:11:43 +02:00
Chen Guokai
f8ef21cd13
Fix issue 958, move F0 flashloader nops to assembly
2020-05-18 11:59:02 +08:00
Chen Guokai
06a5d716b8
Remove all 'my' in tag name
2020-04-29 22:40:06 +08:00
Chen Guokai
6a768d36f5
Add a documentation about flashloaders and adjust clean room document version order
2020-04-27 14:41:01 +08:00
Chen Guokai
090c4d3e88
Fix size issues in stm32f4lv.s and stm32f7lv.s
2020-04-25 20:54:56 +08:00
xp
a4fec73a27
update
2020-04-25 20:53:05 +08:00
xp
09b40ca7bc
update
2020-04-25 20:39:22 +08:00
Chen Guokai
c62a781480
Fix word count issues for stm32f4lv and stm32f7lv
2020-04-25 20:21:49 +08:00
xp
8b77d027d3
fix: stm32-lv r2(4) and copy(1) has different data unit size
2020-04-25 20:21:13 +08:00
Chen Guokai
fd89381b06
Fix branch logic error in stm32f0.s
2020-04-25 19:53:46 +08:00
xp
9096984a83
fix stm32f0 loop condition
2020-04-25 19:52:51 +08:00
Chen Guokai
489a37e3c7
Document error fix
2020-04-25 18:13:08 +08:00
Chen Guokai
36bb77dd6f
Cleanroom for flashloaders done
2020-04-25 15:25:27 +08:00
Chen Guokai
43ddace8f5
Merge branch 'develop' of https://github.com/hsupu/stlink into develop
2020-04-25 14:15:54 +08:00
xp
15e2e1d811
fix align
2020-04-25 14:08:58 +08:00
Chen Guokai
e30dcb4aad
Merge branch 'develop' of https://github.com/hsupu/stlink into develop
2020-04-24 17:22:52 +08:00
xp
8bbedab020
fix typo
2020-04-24 17:21:32 +08:00
Chen Guokai
11bb057da8
Fix merge conflicts for cleanroom
2020-04-24 17:06:42 +08:00
xp
8aaf95abf6
rewrite flashloaders as clean room doc
2020-04-24 16:59:47 +08:00
Chen Guokai
dfac4481c4
Merge branch 'develop' of https://github.com/chenguokai/stlink into develop
2020-04-24 16:46:09 +08:00
xp
43085438f2
update
2020-04-24 16:39:59 +08:00
Chen Guokai
f8a2927797
Merge branch 'develop' of https://github.com/hsupu/stlink into develop
2020-04-24 14:48:55 +08:00
xp
14518803dd
bugfix
2020-04-24 14:31:52 +08:00
Chen Guokai
eb93492a91
Merge branch 'develop' of https://github.com/hsupu/stlink into develop
2020-04-24 14:11:14 +08:00
xp
44e2a4fdbd
rewrite as clean room doc
2020-04-24 13:45:00 +08:00
Chen Guokai
abaa8f5782
Add cleanroom document --rebased
2020-04-21 09:50:50 +08:00
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