diff --git a/ChangeLog b/ChangeLog index 9ee8f6f4..e69de29b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,95 +0,0 @@ -2016-09-14 Joerg Wunsch - - * stk500v2.c (DEBUG, DEBUGRECV): define these unconditionally, - as MSG_TRACE2 messages. - -2016-05-10 Joerg Wunsch - - Submitted by Hannes Jochriem: - * avrdude.conf.in (ehajo-isp): New programmer. - -2016-04-20 Joerg Wunsch - - * configure.ac (libftdi1): Rather than hardcoding the library - providing the libusb-1.0 API, use the result from the previous - probe. This helps detecting libftdi1 on FreeBSD where the - libusb-1.0 API is provided by the system's libusb. - -2016-04-18 Joerg Wunsch - - * usb_hidapi.c (usbhid_open): Correctly calculate the - offset for serial number matching - -2016-03-28 Joerg Wunsch - - bug #47550: Linux GPIO broken - * linuxgpio.c: Replace %ud by %u in snprintf calls. - -2016-03-02 Joerg Wunsch - - * usb_hidapi.c (usbhid_recv): Bump read timeout to 300 ms. - -2016-02-20 Joerg Wunsch - - * jtag3.c: add support for libhidapi as (optional) transport for - CMSIS-DAP compliant debuggers (JTAGICE3 with firmware 3+, - AtmelICE, EDBG, mEDBG) - * usb_hidapi.c: (New file) - * libavrdude.h: Mention usbhid_serdev - * configure.ac: Bump version date - -2016-02-18 Joerg Wunsch - - (Obtained from patch #8717: pattch for mcprog and libhidapi support) - * configure.ac: Probe for libhidapi - * Makefile.am: Add @LIBHIDAPI@ - -2016-02-16 Joerg Wunsch - - * doc/avrdude.texi: Bump copyright year. - -2016-02-16 Joerg Wunsch - - * configure.ac: Bump for post-release 6.3. - -2016-02-16 Joerg Wunsch - - * configure.ac: Released version 6.3. - -2016-02-15 Joerg Wunsch - - patch #8894: Spelling in 6.2 doc - * doc/avrdude.texi: Various spelling fixes. - -2016-02-15 Joerg Wunsch - - patch #8895: Spelling in 6.2 code - * avrftdi.c (avrftdi_open): Spell fix. - -2016-02-15 Joerg Wunsch - - patch #8896: Silence cppcheck warnings in 6.2 code - * linuxgpio.c: Use %ud to print GPIO values. - -2016-02-15 Joerg Wunsch - - patch #8735: ATtiny28 support in avrdude.conf - * avrdude.conf.in (ATtiny28): New device. - -2016-02-15 Joerg Wunsch - - * avrdude.conf.in (ATmega48PB, ATmega88PB, ATmega168PB): New - devices. - -2016-02-15 Joerg Wunsch - - patch #8435: Implementing mEDBG CMSIS-DAP protocol - * usb_libusb.c: Add endpoint IDs for Xplained Mini, correctly - transfer trailing ZLP when needed - * avrdude.conf.in (xplainedmini, xplainedmini_dw): New entries. - * jtag3.c (jtag3_edbg_send, jtag3_edbg_recv_frame): Implement - fragmentation needed for the 64-byte EP size of the Xplained Mini - * avrdude.1: Document the change - * doc/avrdude.texi: (Dito.) - - diff --git a/ChangeLog-2016 b/ChangeLog-2016 new file mode 100644 index 00000000..9ee8f6f4 --- /dev/null +++ b/ChangeLog-2016 @@ -0,0 +1,95 @@ +2016-09-14 Joerg Wunsch + + * stk500v2.c (DEBUG, DEBUGRECV): define these unconditionally, + as MSG_TRACE2 messages. + +2016-05-10 Joerg Wunsch + + Submitted by Hannes Jochriem: + * avrdude.conf.in (ehajo-isp): New programmer. + +2016-04-20 Joerg Wunsch + + * configure.ac (libftdi1): Rather than hardcoding the library + providing the libusb-1.0 API, use the result from the previous + probe. This helps detecting libftdi1 on FreeBSD where the + libusb-1.0 API is provided by the system's libusb. + +2016-04-18 Joerg Wunsch + + * usb_hidapi.c (usbhid_open): Correctly calculate the + offset for serial number matching + +2016-03-28 Joerg Wunsch + + bug #47550: Linux GPIO broken + * linuxgpio.c: Replace %ud by %u in snprintf calls. + +2016-03-02 Joerg Wunsch + + * usb_hidapi.c (usbhid_recv): Bump read timeout to 300 ms. + +2016-02-20 Joerg Wunsch + + * jtag3.c: add support for libhidapi as (optional) transport for + CMSIS-DAP compliant debuggers (JTAGICE3 with firmware 3+, + AtmelICE, EDBG, mEDBG) + * usb_hidapi.c: (New file) + * libavrdude.h: Mention usbhid_serdev + * configure.ac: Bump version date + +2016-02-18 Joerg Wunsch + + (Obtained from patch #8717: pattch for mcprog and libhidapi support) + * configure.ac: Probe for libhidapi + * Makefile.am: Add @LIBHIDAPI@ + +2016-02-16 Joerg Wunsch + + * doc/avrdude.texi: Bump copyright year. + +2016-02-16 Joerg Wunsch + + * configure.ac: Bump for post-release 6.3. + +2016-02-16 Joerg Wunsch + + * configure.ac: Released version 6.3. + +2016-02-15 Joerg Wunsch + + patch #8894: Spelling in 6.2 doc + * doc/avrdude.texi: Various spelling fixes. + +2016-02-15 Joerg Wunsch + + patch #8895: Spelling in 6.2 code + * avrftdi.c (avrftdi_open): Spell fix. + +2016-02-15 Joerg Wunsch + + patch #8896: Silence cppcheck warnings in 6.2 code + * linuxgpio.c: Use %ud to print GPIO values. + +2016-02-15 Joerg Wunsch + + patch #8735: ATtiny28 support in avrdude.conf + * avrdude.conf.in (ATtiny28): New device. + +2016-02-15 Joerg Wunsch + + * avrdude.conf.in (ATmega48PB, ATmega88PB, ATmega168PB): New + devices. + +2016-02-15 Joerg Wunsch + + patch #8435: Implementing mEDBG CMSIS-DAP protocol + * usb_libusb.c: Add endpoint IDs for Xplained Mini, correctly + transfer trailing ZLP when needed + * avrdude.conf.in (xplainedmini, xplainedmini_dw): New entries. + * jtag3.c (jtag3_edbg_send, jtag3_edbg_recv_frame): Implement + fragmentation needed for the 64-byte EP size of the Xplained Mini + * avrdude.1: Document the change + * doc/avrdude.texi: (Dito.) + + diff --git a/stk500v2.c b/stk500v2.c index 7ff773b5..0e5ff620 100644 --- a/stk500v2.c +++ b/stk500v2.c @@ -2168,6 +2168,9 @@ static int stk500isp_write_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem, paddr = addr & ~(pagesize - 1); paddr_ptr = &PDATA(pgm)->flash_pageaddr; cache_ptr = PDATA(pgm)->flash_pagecache; + if ((mem->mode & 1) == 0) + /* old, unpaged device, really write single bytes */ + pagesize = 1; } else { pagesize = mem->page_size; if (pagesize == 0) diff --git a/tools/build-mingw32.sh b/tools/build-mingw32.sh index 2d9e1126..df49f1bc 100755 --- a/tools/build-mingw32.sh +++ b/tools/build-mingw32.sh @@ -40,8 +40,8 @@ mkdir -p ${BUILDDIR} || { echo "Cannot create build dir $BUILDDIR"; exit 1; } cd ${BUILDDIR} || { echo "Cannot chdir to $BUILDDIR"; exit 1; } -LDFLAGS="-L${MINGW32_PREFIX}/lib -L${LIBUSB_PREFIX}/lib/gcc" -CPPFLAGS="-I${MINGW32_PREFIX}/include -I${LIBUSB_PREFIX}/include" +LDFLAGS="-L${MINGW32_PREFIX}/lib -L${LIBUSB_PREFIX}/lib/gcc -L/tmp/libftdi1-1.3git_devkit_mingw32_13Dec2015/lib" +CPPFLAGS="-I${MINGW32_PREFIX}/include -I${LIBUSB_PREFIX}/include -I/tmp/libftdi1-1.3git_devkit_mingw32_13Dec2015/include" env \ CC="${CC}" \