Wait for up to 2 minutes after tftp upload
This commit is contained in:
parent
f2ad76de41
commit
588589581b
2 changed files with 3 additions and 3 deletions
|
|
@ -73,12 +73,12 @@ not support the NMRP protocol.
|
||||||
|
|
||||||
###### Timeout while waiting for 0x04.
|
###### Timeout while waiting for 0x04.
|
||||||
|
|
||||||
After a successful file upload, `nmrpflash` waits for up to 60 seconds for an
|
After a successful file upload, `nmrpflash` waits for up to 120 seconds for an
|
||||||
answer from your device. You can increase this by specifying a longer timeout
|
answer from your device. You can increase this by specifying a longer timeout
|
||||||
using `-T` switch (argument is in seconds).
|
using `-T` switch (argument is in seconds).
|
||||||
|
|
||||||
It's entirely possible that the image was flashed successfully, but the
|
It's entirely possible that the image was flashed successfully, but the
|
||||||
operation took longer than 60 seconds.
|
operation took longer than 120 seconds.
|
||||||
|
|
||||||
### Building and installing
|
### Building and installing
|
||||||
###### Linux, Mac OS X, BSDs
|
###### Linux, Mac OS X, BSDs
|
||||||
|
|
|
||||||
2
main.c
2
main.c
|
|
@ -68,7 +68,7 @@ int main(int argc, char **argv)
|
||||||
int c, val, max;
|
int c, val, max;
|
||||||
struct nmrpd_args args = {
|
struct nmrpd_args args = {
|
||||||
.rx_timeout = 200,
|
.rx_timeout = 200,
|
||||||
.ul_timeout = 60000,
|
.ul_timeout = 120000,
|
||||||
.tftpcmd = NULL,
|
.tftpcmd = NULL,
|
||||||
.filename = NULL,
|
.filename = NULL,
|
||||||
.ipaddr = NULL,
|
.ipaddr = NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue