mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-10-08 19:53:07 +00:00
Mega-commit to bring in memory tagging.
Each memory image byte is now tagged as it's being read from a file. Only bytes read from a file will be written or verified (modulo page granularity requirements). git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1007 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -740,8 +740,6 @@ static int avrftdi_eeprom_write(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m,
|
||||
E(avrftdi_transmit(TX, cmd, cmd, 4) < 0);
|
||||
|
||||
usleep((m->max_write_delay));
|
||||
if(verbose < 3)
|
||||
report_progress(add, len, NULL);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
@@ -764,8 +762,6 @@ static int avrftdi_eeprom_read(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m,
|
||||
E(avrftdi_transmit(TRX, cmd, cmd, 4) < 0);
|
||||
|
||||
avr_get_output(m->op[AVR_OP_READ], cmd, bufptr++);
|
||||
if(verbose < 3)
|
||||
report_progress(add, len, NULL);
|
||||
}
|
||||
|
||||
memcpy(m->buf, buffer, len);
|
||||
@@ -973,8 +969,6 @@ static int avrftdi_flash_read(PROGRAMMER * pgm, AVRPART * p, AVRMEM * m,
|
||||
o_ptr = o_buf;
|
||||
}
|
||||
}
|
||||
if (verbose < 3)
|
||||
report_progress(2 * address, len, NULL);
|
||||
}
|
||||
memcpy(m->buf, buffer, sizeof(buffer));
|
||||
|
||||
|
Reference in New Issue
Block a user