avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #28566] Adress mismatch and errors on writing eeprom


From: anonymous
Subject: [avrdude-dev] [bug #28566] Adress mismatch and errors on writing eeprom to attiny85
Date: Tue, 12 Jan 2010 20:35:44 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.6) Gecko/20091216 Fedora/3.5.6-1.fc12 Firefox/3.5.6

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

                 Summary: Adress mismatch and errors on writing eeprom to
attiny85
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Di 12 Jan 2010 20:35:43 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Christian Harf
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I want to write an eeprom file (ihex and raw) to attiny85, but i got errors.

avrdude -pt85 -cstk500v2 -P/dev/ttyUSB0 -Ueeprom:w:test.eep:r

The test.eep contains 256 16-bit words, which i create by counting from
0x0000 up to 0x00ff. The resulting file looks like this:

0000 00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 00
...
01F0 F8 00 F9 00 FA 00 FB 00 FC 00 FD 00 FE 00 FF 00

With avrdude version 5.7 and 5.8 i got this output:

avrdude-5.7: Device signature = 0x1e930b
avrdude-5.7: current erase-rewrite cycle count is -33489152 (if being
tracked)
avrdude-5.7: reading input file "b.eep"
avrdude-5.7: writing eeprom (512 bytes):

Writing | #############                                      | 25% 0.64s
***failed;  
 ***failed;  
 ***failed;  
 ***failed;  

And so on...

After that i read out the resulting eeprom image:

At address 0x000 up to 0x07F i have found the bytes "40 00 41 00..." (they
must be programmed to 0x080 to 0x0FF).
The bytes from address 0x080 to 0x17F are untouched (FF).
Adress 0x180 to 0x1FF are correct.

This looks like an address corruption.

avrdude version 5.6 works fine.

For this tests i have used the avrdude.conf for version 5.8 which installed
on my system (x86_64; Fedora 12).




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Di 12 Jan 2010 20:35:43 UTC  Name: test.eep  Size: 512B   By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=19472>
-------------------------------------------------------
Date: Di 12 Jan 2010 20:35:43 UTC  Name: result.eep  Size: 512B   By: None

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]