avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #27341] atxmega128A1 with avr isp mk2: cannot read de


From: anonymous
Subject: [avrdude-dev] [bug #27341] atxmega128A1 with avr isp mk2: cannot read device signature, flashing fails
Date: Fri, 28 Aug 2009 08:33:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13

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

                 Summary: atxmega128A1 with avr isp mk2: cannot read device
signature, flashing fails
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Fr 28 Aug 2009 08:33:48 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Matthias Trute
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

avrdude cannot program the atxmega128a1 device. The transcript follows.
Tested with an AVR ISP MK2 on Linux Ubuntu Jaunty (
uname -a gives Linux Ayla 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18
19:25:34 UTC 2009 x86_64 GNU/Linux)

The error message comes with release 5.8 and 5.7 versions as well.

The very same hardware works from a Windows VMWare Installation 
with avr studio programmer. The test program is a simplified hello-world
Appnote from Atmel for the serial port that works well when flashed from
windows.

-----------------------------

$ /opt/avrdude/bin/avrdude -p atxmega128a1 -P usb -c avrisp2  -v -v  -U
flash:w:main.hex  -F

avrdude: Version 5.8cvs, compiled on Aug 28 2009 at 10:20:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/opt/avrdude/etc/avrdude.conf"
         User configuration file is "/home/mt/.avrduderc"

         Using Port                    : usb
         Using Programmer              : avrisp2
avrdude: usbdev_open(): Found AVRISP mkII, serno: 0000B0035998
avrdude: usbdev_open(): using read endpoint 0x82
         AVR Part                      : ATXMEGA128A1
         Chip Erase delay              : 0 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 0
         StabDelay                     : 0
         CmdexeDelay                   : 0
         SyncLoops                     : 0
         ByteDelay                     : 0
         PollIndex                     : 0
         PollValue                     : 0x00
         Memory Detail                 :

                                  Block Poll               Page              
        Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW 
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           eeprom         0     0     0    0 no       2048  256      0     0 
   0 0x00 0x00
           application    0     0     0    0 no     131072  256      0     0 
   0 0x00 0x00
           apptable       0     0     0    0 no       8192  256      0     0 
   0 0x00 0x00
           boot           0     0     0    0 no       8192  256      0     0 
   0 0x00 0x00
           flash          0     0     0    0 no     139264  256      0     0 
   0 0x00 0x00
           prodsig        0     0     0    0 no        512  256      0     0 
   0 0x00 0x00
           usersig        0     0     0    0 no        512  256      0     0 
   0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0 
   0 0x00 0x00
           fuse0          0     0     0    0 no          1    0      0     0 
   0 0x00 0x00
           fuse1          0     0     0    0 no          1    0      0     0 
   0 0x00 0x00
           fuse2          0     0     0    0 no          1    0      0     0 
   0 0x00 0x00
           fuse4          0     0     0    0 no          1    0      0     0 
   0 0x00 0x00
           fuse5          0     0     0    0 no          1    0      0     0 
   0 0x00 0x00
           lock           0     0     0    0 no          1    0      0     0 
   0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel AVR ISP mkII
         Programmer Model: AVRISP mkII
         Hardware Version: 1
         Firmware Version Master : 1.12
         Vtarget         : 3.3 V
         SCK period      : 10.37 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATXMEGA128A1 is 1E 97 4C
avrdude: reading input file "main.hex"
avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (1252 bytes):

Writing | ################################################## | 100% 0.09s

avrdude: 1252 bytes of flash written
avrdude: verifying flash memory against main.hex:
avrdude: load data flash data from input file main.hex:
avrdude: input file main.hex auto detected as Intel Hex
avrdude: input file main.hex contains 1252 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.07s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x0c != 0xff
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

make: *** [program] Fehler 1
address@hidden:~/projekte/avr/forth/amforth/appl/atxmega/c$ 


Teh sources are from svn://svn.sv.gnu.org/avrdude/trunk/avrdude a few minutes
ago





    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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