bugAVR Downloader/UploaDEr - Bugs: bug #37441, lockbits in ATxmega + avrdude =...

 
 

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

bug #37441: lockbits in ATxmega + avrdude = problem

Submitted by:  None
Submitted on:  Tue Sep 25 12:48:36 2012  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Works For MePrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: mn_post@mail.ru
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Wed Oct 15 20:01:26 2014, comment #3:

You are using a fairly outdated version of AVRDUDE.

In recent versions (6.x), I don't see a problem with the way it is
now, i.e. using "lock" for the Xmega lock bits:

There are certain points in the code where m->desc is checked against
just "lock" so "lockbits" would fail to be recognized (i.e., just the
opposite from what this bug report is telling). In all situations
where this might be applicable, I changed the comparison to only check
for the first four characters being equal to "lock", so both, "lock"
and "lockbits" will do.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed Oct 15 18:34:05 2014, comment #2:

"lock" in the configuration file is not recognized by avrdude.
If it is renamed to "lockbits" in the configuration file, reading and writing of lock byte works.

Command parameter should remain the same though.
For example "-Ulock:w:0x00:m"

Related to:
avrdude: Version 5.11.1, compiled on Oct 18 2011 at 21:41:15

MCU:
AtXMega256A3BU

nvd <nvd>
Tue Sep 3 12:10:59 2013, comment #1:

Well, we traditionally named the lock bits section "lock", not
only for Xmega devices but also for older AVRs.

What's your actual problem with that name?

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue Sep 25 12:48:36 2012, original submission:

avrdude.conf consists non-valid memory sections names for MCU's ATxmega family. Memory section name (in avrdude.conf) "lock" - is wrong, "lockbits" - that's right.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nvd (Posted a comment)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Oct 15 20:01:26 2014joerg_wunschStatusNeed Info=>Works For Me
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Tue Sep 3 12:10:59 2013joerg_wunschStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup