projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db070eb
)
flash/nor/nrf5: set correct timeout for nvmc operations
author
Jānis Skujenieks
<janis.skujenieks@gmail.com>
Wed, 26 Dec 2018 13:09:10 +0000
(15:09 +0200)
committer
Tomas Vanek
<vanekt@fbl.cz>
Wed, 2 Jan 2019 21:52:58 +0000
(21:52 +0000)
Longest erase all FLASH for nRF5 series is 295.3 ms for nRF52832.
Timeout period now is set to 340 ms (295.3 + 15%)
Change-Id: Iae00ed7b634f111b9798db11e35e4e066d4aaa95
Signed-off-by: Jānis Skujenieks <janis.skujenieks@gmail.com>
Reviewed-on: http://openocd.zylin.com/4822
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/nrf5.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/nrf5.c
b/src/flash/nor/nrf5.c
index de5c230516904ff5ab2162a5604027d97145c86e..ba84c7156ed9cad443402b5ebdbed0de5a541005 100644
(file)
--- a/
src/flash/nor/nrf5.c
+++ b/
src/flash/nor/nrf5.c
@@
-248,7
+248,7
@@
static int nrf5_wait_for_nvmc(struct nrf5_info *chip)
{
uint32_t ready;
int res;
- int timeout_ms =
20
0;
+ int timeout_ms =
34
0;
int64_t ts_start = timeval_ms();
do {