use bitbanging on ftdi mpsse when wrong pins are used
	* avrftdi.c, avrftdi_private.h: added additional pin check and bitbanging fallback
	* pindefs.[ch]: added a flag to enable/disable output
	* ft245r.c: changes because of added flag above

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1184 81a1dc3b-b13d-400b-aceb-764788c761c2
check more error codes, fixed some leftover parts which still used MPSSE even when using bitbanging, reduced blocksize to get a more stable behaviour of bitbanging

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1185 81a1dc3b-b13d-400b-aceb-764788c761c2
reverted accidently checked in debug setting


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1186 81a1dc3b-b13d-400b-aceb-764788c761c2
* fileio.c (elf2b): replace elf_getshstrndx() by
elf_getshdrstrndx() as the former one is deprecated



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1187 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #39893: Verification failure with AVRISPmkII and Xmega
* stk500v2.c (stk600_xprog_page_erase): Fix argument that is
passed to stk600_xprog_memtype()



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1188 81a1dc3b-b13d-400b-aceb-764788c761c2
Add -vvvv trace output to usbasp_transmit().



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1189 81a1dc3b-b13d-400b-aceb-764788c761c2
Add more trace output, by now only to the TPI functions.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1190 81a1dc3b-b13d-400b-aceb-764788c761c2
* usbasp.c (usbasp_tpi_paged_load): Calculate correct
buffer address.
* usbasp.c (usbasp_tpi_paged_write): Calculate correct
buffer address; don't issue a SECTION_ERASE command for
each page (a CHIP_ERASE has been done before anyway);
remove the code that attempted to handle partial page
writes, as all writes are now done with a full page.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1191 81a1dc3b-b13d-400b-aceb-764788c761c2
Add -vvv trace code to the non-TPI functions in USBasp, too.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1192 81a1dc3b-b13d-400b-aceb-764788c761c2
Add a missing pair of braces.

Thanks to Joakim Lubeck for spotting this.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1193 81a1dc3b-b13d-400b-aceb-764788c761c2
Submitted by Claus-Justus Heine:
bug #38713: Compilation of the documentation breaks with texinfo-5
* doc/avrdude.texi: Turn @itemx into @item, add @headitem to STK600
Routing/Socket card table



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1194 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #38023: avrdude doesn't return an error code when attempting
to upload an invalid Intel HEX file
* fileio.c (ihex2b): Turn the "No end of file record found" warning
into an error if no valid record was found at all.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1195 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
* buspirate.c: Turn the "cmd" argument of the various methods into
a "const unsigned char *"; while doing this, declare all arrays being
passed as arguments to be pointers rather than arrays, as the latter
obfuscates the way arrays are being passed to a callee in C.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1196 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
* pickit.c (usb_open_device): Use %p rather than %X to print "handle"
which is a pointer
* jtag3.c (jtag3_initialize): Initialize "flashsize" to be sure it
proceeds with a valid value.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1197 81a1dc3b-b13d-400b-aceb-764788c761c2
Submitted by Robert Niemi:
bug #35800: Compilation error on certain systems if parport is disabled
* linux_ppdev.h: Conditionalize inclusion of <linux/parport.h> and
<linux/ppdev.h> on HAVE_PARPORT




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1198 81a1dc3b-b13d-400b-aceb-764788c761c2
Submitted by Travis Griggs:
bug #38307: Can't write usersig of an xmega256a3
* stk500v2.c (stk600_xprog_page_erase): allow erasing the usersig space.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1199 81a1dc3b-b13d-400b-aceb-764788c761c2
Fix all "unused variable" warnings that were encountered.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1200 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #38580 Current svn head, xmega and fuses, all fuses tied to fuse0
* jtag3.c (jtag3_read_byte, jtag3_write_byte): Correctly apply the
relevant part of mem->offset as the address to operate on.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1201 81a1dc3b-b13d-400b-aceb-764788c761c2
bug #39691 Buffer overrun when reading EEPROM byte with JTAGICE3
* jtag3.c (jtag3_initialize): initialize the eeprom_pagesize
private attribute so the page cache will actually be usable



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1202 81a1dc3b-b13d-400b-aceb-764788c761c2
Remove the erase cycle counter (options -y / -Y).



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@1203 81a1dc3b-b13d-400b-aceb-764788c761c2