bugAVR Downloader/UploaDEr - Bugs: bug #43898, atmega644p remains stopped after...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43898: atmega644p remains stopped after JTAG transaction

Submitted by:  Craig Leres <leres>
Submitted on:  Sun 28 Dec 2014 07:42:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: leres
Open/Closed: OpenRelease: None
Programmer hardware: Device type: 

Sun 28 Dec 2014 07:42:04 PM UTC, original submission:

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.

Craig Leres <leres>

 

Attached Files
file #32725:  patch-jtagmkII.c added by leres (511B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by leres (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Dec 2014 07:42:04 PM UTCleresAttached File-=>Added patch-jtagmkII.c, #32725

    Back to the top


    Powered by Savane 3.1-cleanup1