bugAVR Downloader/UploaDEr - Bugs: bug #47616, Extended fuse verification error...

 
 

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

bug #47616: Extended fuse verification error atmega128rfa1

Submitted by:  Armin <arminoonk>
Submitted on:  Mon 04 Apr 2016 12:09:57 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Armin
Open/Closed: OpenRelease: None
Programmer hardware: Device type: 

Mon 04 Apr 2016 12:09:57 PM UTC, original submission:

I use a raspberry pi with avrdude (avrdude version 6.3-20160220 (compiled) and 6.1 (from package) tested) to program a atmega128rfa1. I am currently using a AVRISP mkii but because it is unavailable I am looking into using the Atmel-ICE programmer.

I have some funny behavior with the Atmel-ICE programmer (avrdude 6.1 and 6.3). When I try to burn the fuses I get a verification error of the efuse (I want it to be 0xfe and 0xf6 is written). When I use the AVRISP mkii I can burn the fuses with avrdude 6.1 but not with 6.3 (verification error).

I think it is a simple bit masking error. The extended fuse only has bit 0,1,2 user configurable bit 3 has a description “Do not modify” with the default value of 1.

Command (avrdude 6.1):
avrdude -p m128rfa1 -c atmelice_isp -P usb -B 32 -U lfuse:w:0xf7:m -U hfuse:w:0xd1:m -U efuse:w:0xfe:m

Output (only the error part):
avrdude: verification error, first mismatch at byte 0x0000 0xf6 != 0xfe
avrdude: verification error; content mismatch

When I use the old and trusted AVRISP mkii with avrdude 6.1 everything works
Command (avrdude 6.1 only, 6.3 give the error above):
avrdude -p m128rfa1 -c stk500v2 -P usb -B 32 -U lfuse:w:0xf7:m -U hfuse:w:0xd1:m -U efuse:w:0xfe:m

Output:
avrdude: 1 bytes of efuse verified

Armin <arminoonk>

 

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 arminoonk (Submitted the item)
  • -unavailable- added by arminoonk (avrdude bug report)
  •  

    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
    Mon 04 Apr 2016 12:09:57 PM UTCarminoonkCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1