Git
Wiki
Site
projects
/
soft
/
tools
/
lpctools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197bd4d
)
Augmented delay before blank check result reading for slow devices.
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 1 Mar 2013 08:54:42 +0000
(09:54 +0100)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 1 Mar 2013 08:54:42 +0000
(09:54 +0100)
prog_commands.c
patch
|
blob
|
history
diff --git
a/prog_commands.c
b/prog_commands.c
index
80b8724
..
dfa007c
100644
(file)
--- a/
prog_commands.c
+++ b/
prog_commands.c
@@
-97,7
+97,7
@@
int erase_flash(struct part_desc* part)
} else {
/* Controller replyed with first non blank offset and data, remove it from buffer */
char buf[REP_BUFSIZE];
- usleep(
2000 );
+ usleep(
5000 ); /* Some devices are slow to scan flash, give them some time */
isp_serial_read(buf, REP_BUFSIZE, 3);
}
/* Sector not blank, perform erase */
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !