Merge pull request #979 from MCUdude/dragon-jtag-fix

Dragon JTAG fix: restart firmware after programming
This commit is contained in:
Jörg Wunsch 2022-06-26 22:53:32 +02:00 committed by GitHub
commit 55dddc57cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1840,8 +1840,8 @@ void jtagmkII_close(PROGRAMMER * pgm)
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close()\n", progname); avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close()\n", progname);
if (pgm->flag & PGM_FL_IS_PDI) { if (pgm->flag & (PGM_FL_IS_PDI | PGM_FL_IS_JTAG)) {
/* When in PDI mode, restart target. */ /* When in PDI or JTAG mode, restart target. */
buf[0] = CMND_GO; buf[0] = CMND_GO;
avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close(): Sending GO command: ", avrdude_message(MSG_NOTICE2, "%s: jtagmkII_close(): Sending GO command: ",
progname); progname);