Recommend trying -c stk500v1 if stk500v2 fails followed by stk500v1 failure

... as it might have been that probing with stk500v2 protocol threw a
stk500v1 firmware off its rails
This commit is contained in:
Stefan Rueger
2023-07-17 21:53:07 +01:00
parent 9f370024c0
commit ca3144b783

View File

@@ -72,7 +72,7 @@ static int stk500generic_open(PROGRAMMER *pgm, const char *port) {
if(pgm->teardown)
pgm->teardown(pgm);
pmsg_error("cannot open either stk500v1 or stk500v2 programmer\n");
pmsg_error("probing stk500v2 failed, as did stk500v1; perhaps try -c stk500v1\n");
return -1;
}