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

                 Summary: Read efuse error
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Thursday 02/07/08 at 09:21 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Private
             Assigned to: None
         Originator Name: SimonQian
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I tried to read fuses bits in avrdude, and both lfuse and hfuse are OK under
safemode, but efuse is read as 0.

Reading lfuse:
avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [0b] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f]
. [07] . [00] . [1d] . [04] . [04] . [00] P [50] . [00] . [00] . [00] . [eb] .
[b5] 
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b] 
avrdude: Recv: . [0b] 
avrdude: Recv: . [00] 
avrdude: Recv: . [08] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [88] . [1d] . [00] . [00] P [50] . [00] . [ff] . [00] 
avrdude: Recv: . [84] 
avrdude: Recv: . [13] 
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 11 (command_sequence == 11)
avrdude: safemode read 3, lfuse value: ff
avrdude: safemode: lfuse reads as FF

Reading hfuse:
avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [0c] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f]
. [07] . [00] . [1d] . [04] . [04] . [00] X [58] . [08] . [00] . [00] f [66] l
[6c] 
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b] 
avrdude: Recv: . [0c] 
avrdude: Recv: . [00] 
avrdude: Recv: . [08] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [88] . [1d] . [00] . [00] X [58] . [08] . [dc] . [00] 
avrdude: Recv: . [02] 
avrdude: Recv: . [c9] 
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 12 (command_sequence == 12)
avrdude: safemode read 1, hfuse value: dc

Reading efuse:
avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [0f] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f]
. [07] . [00] . [1d] . [04] . [04] . [00] P [50] . [08] . [00] . [00] . [86] .
[88] 
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b] 
avrdude: Recv: . [0f] 
avrdude: Recv: . [00] 
avrdude: Recv: . [08] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [00] 
avrdude: Recv: . [0e] 
avrdude: Recv: . [88] . [1d] . [00] . [00] P [50] . [08] . [f8] . [00] 
avrdude: Recv: . [f7] 
avrdude: Recv: . [b0] 
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 15 (command_sequence == 15)
avrdude: safemode read 1, efuse value: 0
It should be 0xf8 according to the data returned, but avrdude displays 0.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 02/07/08 at 09:21 UTC  Name: info.log  Size: 28kB   By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=14983>

    _______________________________________________________

Reply to this item at:

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

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



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

Reply via email to