URL:
  <http://savannah.nongnu.org/bugs/?47616>

                 Summary: Extended fuse verification error atmega128rfa1
                 Project: AVR Downloader/UploaDEr
            Submitted by: arminoonk
            Submitted on: Mon 04 Apr 2016 12:09:57 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Armin
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


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






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47616>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to