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


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

bug #37441: lockbits in ATxmega + avrdude = problem

Submitted by:  None
Submitted on:  Tue 25 Sep 2012 12:48:36 PM UTC  
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 15 Oct 2014 08:01:26 PM UTC, 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 15 Oct 2014 06:34:05 PM UTC, 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


nvd <nvd>
Tue 03 Sep 2013 12:10:59 PM UTC, 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 25 Sep 2012 12:48:36 PM UTC, 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.



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 15 Oct 2014 08:01:26 PM UTCjoerg_wunschStatusNeed Info=>Works For Me
      Assigned toNone=>joerg_wunsch
    Tue 03 Sep 2013 12:10:59 PM UTCjoerg_wunschStatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1