bugAVR Downloader/UploaDEr - Bugs: bug #14998, Signature Bytes read in wrong...

 
 

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

bug #14998: Signature Bytes read in wrong order (avr910 mode)

Submitted by:  None
Submitted on:  Thu 17 Nov 2005 10:17:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Klaus Leidinger
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Thu 17 Nov 2005 10:17:15 PM UTC, original submission:

Hello,

Result of reading the signature Bytes has to be turned, as done in avrdude 5.0 for butterfly/avr109/avr911 Programmers.

Please put this in the avr910.c also.

Thanks,
Klaus

static int avr910_read_sig_bytes(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m)
{
+ unsigned char tmp;

if (m->size < 3) {
fprintf(stderr, "%s: memsize too small for sig byte read", progname);
return -1;

avr910_send(pgm, "s", 1);
avr910_recv(pgm, (char *)m->buf, 3);
+ /* Returned signature has wrong order. */
+ tmp = m->buf[2];
+ m->buf[2] = m->buf[0];
+ m->buf[0] = tmp;

return 3;
}

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 01 Sep 2006 10:03:33 AM UTCjoerg_wunschStatusNone=>Fixed
  Assigned toNone=>joerg_wunsch
  Open/ClosedOpen=>Closed
Thu 17 Nov 2005 10:17:15 PM UTCNoneCarbon-Copy-=>Added klaus --AT-- mikrocontroller-projekte --PUNKT-- de

Back to the top


Powered by Savane 3.1-cleanup1