avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #30844] attiny45 + arduino programmer won't verify


From: anonymous
Subject: [avrdude-dev] [bug #30844] attiny45 + arduino programmer won't verify
Date: Sun, 22 Aug 2010 21:51:42 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.11) Gecko/20100701 Firefox/3.5.11

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

                 Summary: attiny45 + arduino programmer won't verify
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Sun Aug 22 21:51:42 2010
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Mat Scull
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm using avrdude 5.10 with an arduino diecimila connected to an attiny45
over spi as detailed at
http://www.uchobby.com/index.php/2007/11/04/arduino-avr-in-system-programmer-isp/

The arduino is running avr-isp v3 from http://code.google.com/p/mega-isp/ 

I have a small file 174 byte hello world program that I'm testing with. If I
force avrdude to program the t45 as a t25, it programs, verifys and runs fine.
If I specify t45, it fails to verify at 0x00.

This fails - 
avrdude -P com4 -p t45 -c avrisp -U
flash:w:hello_world\default\hello_world.hex:i

This verifys and runs
avrdude -P com4 -p t25 -c avrisp -U
flash:w:hello_world\default\hello_world.hex:i -F

I can read the code back from both methods and see that there is corruption
in the t45 version.

hello_world.hex programmed as 45 read as 45

:20000000       
000015C014C013C012C011C010C00FC00EC00DC00CC00BC00AC009C008C0112460
:20002000       
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8FEF87BB29E130E074E068E050E140E207
:20004000       
18B280E197E2F9013197F1F70197D9F778BB80E197E2F9013197F1F70197D9F7CB
:20006000       
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF58BB80E197E2F9013197F1F70197D9F791
:20008000       
48BB80E197E2F9013197F1F70197D9F7D7CF80E197E229E130E0F9013197F1F72D
:00000001       FF


hello_world.hex programmed as 25 read as 45

:20000000       
0EC015C014C013C012C011C010C00FC00EC00DC00CC00BC00AC009C008C0112492
:20002000       
1FBECFE5D1E0DEBFCDBF02D03EC0E8CF8FEF87BB29E130E074E068E050E140E205
:20004000       
18BA80E197E2F9013197F1F70197D9F778BB80E197E2F9013197F1F70197D9F7C3
:20006000       
68BB80E197E2F9013197F1F70197D9F758BB80E197E2F9013197F1F70197D9F772
:20008000       
48BB80E197E2F9013197F1F70197D9F7D7CF80E197E229E130E0F9013197F1F72D
:0E00A000       0197D9F781E090E00895F894FFCF22
:00000001       FF


First byte wrong, lots of FFs where there shouldn't be. I have been through
avrdude.conf with a fine toothed comb and can't find the offending bit. It's
the version that comes with WinAVR-20100110-install.exe

Any help would be much appreciated - I've been stuck here for days!

Thanks

Mat




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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