[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #29296] warning "can't read memory for cycle count" u
From: |
Joerg Wunsch |
Subject: |
[avrdude-dev] [bug #29296] warning "can't read memory for cycle count" uploading to xmega |
Date: |
Mon, 22 Mar 2010 10:22:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 |
Follow-up Comment #1, bug #29296 (project avrdude):
Your logfile in bug #29019 shows that there is no attempt at
all to read the cycle count data from EEPROM. This means
that single-byte reading EEPROM data appears to be unsupported
(which would be more serious than just the cycle-count
feature, IMHO). Can you verify this in terminal mode?
Ah, yes, I see why this happens. avr_get_cycle_count() uses
the programmer's read_byte() method which defaults to
avr_read_byte_default() in stk500.c. avr_read_byte_default()
wants to issue generic ISP commands (through the cmd() method).
This won't work on the Xmega.
Sorry, I don't have the resources to still maintain the legacy
STK500v1 code. Patches are welcome.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?29296>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/