patch #7720 Bug in EEPROM write
* avrftdi.c: fixed wrong buffer address initialization in paged_write * fileio.c: added #include <stdint.h> git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1067 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
4c71539cf1
commit
3ff232b966
|
@ -1,3 +1,10 @@
|
|||
2012-02-06 Rene Liebscher <R.Liebscher@gmx.de>
|
||||
|
||||
patch #7720 Bug in EEPROM write
|
||||
* avrftdi.c: fixed wrong buffer address initialization in paged_write
|
||||
|
||||
* fileio.c: added #include <stdint.h>
|
||||
|
||||
2012-02-05 Rene Liebscher <R.Liebscher@gmx.de>
|
||||
|
||||
bug #30559 Ft232 bit-bang support
|
||||
|
|
|
@ -736,7 +736,7 @@ static int avrftdi_eeprom_write(PROGRAMMER *pgm, AVRPART *p, AVRMEM *m,
|
|||
unsigned int page_size, unsigned int addr, unsigned int len)
|
||||
{
|
||||
unsigned char cmd[4];
|
||||
unsigned char *data = m->buf;
|
||||
unsigned char *data = &m->buf[addr];
|
||||
unsigned int add;
|
||||
|
||||
avr_set_bits(m->op[AVR_OP_WRITE], cmd);
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef HAVE_LIBELF
|
||||
#include <libelf.h>
|
||||
|
|
Loading…
Reference in New Issue