PC app: increase maximum wait time for operations

This fixes reading erased ATF750C when using sparse fusemap.
This commit is contained in:
ole00 2024-02-02 22:50:46 +00:00
parent e99494df09
commit 5f2105680f
1 changed files with 3 additions and 3 deletions

View File

@ -921,7 +921,7 @@ static char operationWriteOrVerify(char doWrite) {
// write command
if (doWrite) {
result = sendGenericCommand("w\r", "write failed ?", 6000, 0);
result = sendGenericCommand("w\r", "write failed ?", 8000, 0);
if (result) {
goto finish;
}
@ -929,7 +929,7 @@ static char operationWriteOrVerify(char doWrite) {
// verify command
if (opVerify) {
result = sendGenericCommand("v\r", "verify failed ?", 6000, 0);
result = sendGenericCommand("v\r", "verify failed ?", 8000, 0);
}
finish:
closeSerial();
@ -1166,7 +1166,7 @@ static char operationReadFuses(void) {
//READ_FUSE command
sprintf(buf, "r\r");
readSize = sendLine(buf, GALBUFSIZE, 8000);
readSize = sendLine(buf, GALBUFSIZE, 12000);
if (readSize < 0) {
return -1;
}