mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
Add "efuse" sections to the ATmega164/324/644 definitions.
Iff enter_progmode failed with RSP_ILLEGAL_JTAG_ID, give the user a hint that their JTAGEN fuse might be unset. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@476 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -874,6 +874,8 @@ static int jtagmkII_program_enable(PROGRAMMER * pgm)
|
||||
"%s: jtagmkII_program_enable(): "
|
||||
"bad response to enter progmode command: 0x%02x\n",
|
||||
progname, c);
|
||||
if (c == RSP_ILLEGAL_JTAG_ID)
|
||||
fprintf(stderr, "%s: JTAGEN fuse disabled?\n", progname);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user