AVR 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)
Submitter: | None | ||
Submitted: | Thu 17 Nov 2005 10:17:15 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | Klaus Leidinger |
Originator Email: | -email is unavailable- | Open/Closed: | Closed |
Release: | None | Programmer hardware: | |
Device type: |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-09-01 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2005-11-17 | None | Carbon-Copy | - | Added klaus --AT-- mikrocontroller-projekte --PUNKT-- de |
Powered by Savane 3.13-4b48.
Corresponding source code
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;
}