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:
joerg_wunsch
2005-06-14 21:44:34 +00:00
parent 57c42005c6
commit 9049b590bd
3 changed files with 42 additions and 1 deletions

View File

@@ -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;
}