mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-16 18:44:17 +00:00
Add a failure code for debugWIRE communication failures I
happened to run into. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1118 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
4
jtag3.c
4
jtag3.c
@@ -271,6 +271,10 @@ static void jtag3_prmsg(PROGRAMMER * pgm, unsigned char * data, size_t len)
|
||||
case RSP3_FAIL_WRONG_LENGTH:
|
||||
strcpy(reason, "wrong length in memory access");
|
||||
break;
|
||||
|
||||
case RSP3_FAIL_DEBUGWIRE:
|
||||
strcpy(reason, "debugWIRE communication failed");
|
||||
break;
|
||||
}
|
||||
fprintf(stderr, ", reason: %s\n", reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user