mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-18 03:14:42 +00:00
Merge pull request #1139 from steelman/isp-clock-error-message
Mention -B in the error message and document -F better
This commit is contained in:
@@ -1220,9 +1220,10 @@ int main(int argc, char * argv [])
|
||||
init_ok = (rc = pgm->initialize(pgm, p)) >= 0;
|
||||
if (!init_ok) {
|
||||
pmsg_error("initialization failed, rc=%d\n", rc);
|
||||
imsg_error("- double check the connections and try again\n");
|
||||
imsg_error("- use -B to set lower ISP clock frequency, e.g. -B 200kHz\n");
|
||||
if (!ovsigck) {
|
||||
imsg_error("double check connections and try again or use -F to override\n");
|
||||
imsg_error("this check\n\n");
|
||||
imsg_error("- use -F to override this check\n\n");
|
||||
exitrc = 1;
|
||||
goto main_exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user