|
From: | Craig Leres |
Subject: | [avrdude-dev] [bug #43898] atmega644p remains stopped after JTAG transaction |
Date: | Sun, 28 Dec 2014 19:42:05 +0000 |
User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL: <http://savannah.nongnu.org/bugs/?43898> Summary: atmega644p remains stopped after JTAG transaction Project: AVR Downloader/UploaDEr Submitted by: leres Submitted on: Sun 28 Dec 2014 11:42:04 AM PST Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: leres Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Back when I upgraded from 5.11 to 6.0.1 I noticed that my atmega644p did not resume after programming or reading. I'm using an AVR Dragon. I've tracked this down to revisions 1070 and 1071 of jtagmkII.c. From the commit messages there appears to be an issue with the xmega. The old code issued the CMND_GO when device_descriptor_length was set. The current code only isses a CMND_GO when AVRPART_HAS_PDI is set. Attached is a patch vs 1353 that changes jtagmkII_close() to also issue CMND_GO when PGM_FL_IS_JTAG is set which gives me 5.X behavior however is likely wrong for the xmega case. I suspect the correct fix is to just avoid issuing a GO when the target is an xmega. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 28 Dec 2014 11:42:04 AM PST Name: patch-jtagmkII.c Size: 511B By: leres <http://savannah.nongnu.org/bugs/download.php?file_id=32725> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?43898> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |