bugAVR Downloader/UploaDEr - Bugs: bug #29296, warning "can't read memory...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29296: warning "can't read memory for cycle count" uploading to xmega

Submitter:  giuliano carlini <gorillacoder>
Submitted:  Mon 22 Mar 2010 04:09:15 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  giuliano carlini
Open/Closed:  Closed Release:  None
Programmer hardware:  Device type: 

Thu 15 Sep 2011 04:08:35 PM UTC, comment #3: 

I just disabled the default cycle counter readout.  It's now
only done anymore with the -y or -Y options present.

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 23 Mar 2010 12:58:22 AM UTC, comment #2: 

Thanks. Perhaps it's time to move to a new bootloader.

Can you recommend a simple, light, bootloader that avrdude supports? The STK500 protocol requires the bootloader to be larger that it needs to be. Would be nice to have a real light protocol.

giuliano carlini <gorillacoder>
Mon 22 Mar 2010 10:22:19 AM UTC, comment #1: 

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.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 22 Mar 2010 04:09:15 AM UTC, original submission:  

I get this warning when I upload a program to an xmega.

Might be related to 29019.

I no longer get the warning about pagel/bs2 so it might not be.

giuliano carlini <gorillacoder>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by gorillacoder (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-15 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code