[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #14998] Signature Bytes read in wrong order (avr910 m
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #14998] Signature Bytes read in wrong order (avr910 mode) |
Date: |
Thu, 17 Nov 2005 22:17:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7b) Gecko/20040316 |
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14998>
Summary: Signature Bytes read in wrong order (avr910 mode)
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Do 17.11.2005 um 22:17
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Klaus Leidinger
Originator Email: address@hidden
Open/Closed: Open
_______________________________________________________
Details:
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;
}
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
klaus --AT-- mikrocontroller-projekte --PUNKT-- de | Originator Email
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14998>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #14998] Signature Bytes read in wrong order (avr910 mode),
anonymous <=