Go to file
joerg_wunsch c1469e5135 bug #44717: avrdude creates empty flash dump
When about to write an empty flash dump file, warn about this to avoid
surprises.

Document the truncation of trailing 0xFF bytes for flash memory areas.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1355 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-04-09 19:50:30 +00:00
doc bug #44717: avrdude creates empty flash dump 2015-04-09 19:50:30 +00:00
tools Yet another name for the MinGW32 compiler (as found on Ubuntu 14.04). 2014-11-26 09:35:19 +00:00
windows Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
.cvsignore So finally, also ignore the Makefile. 2006-08-23 15:02:07 +00:00
AUTHORS patch #7724 Add TPI support for Bus Pirate using bitbang mode 2013-01-30 21:15:39 +00:00
BUILD-FROM-SVN Submitted by Philip: 2011-08-16 10:37:09 +00:00
COPYING Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ChangeLog-2001 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2002 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2003 * ChangeLog: Minor formatting cleanups. 2004-01-26 06:27:41 +00:00
ChangeLog-2004-2006 ChangeLog rotation. 2007-01-07 22:34:21 +00:00
ChangeLog-2007 ChangeLog rotation for 2007->2008 transition. 2008-01-26 07:59:07 +00:00
ChangeLog-2008 Annual changelog rotation. 2009-02-05 16:17:57 +00:00
ChangeLog-2009 Annual changelog rotation. 2010-01-08 10:41:27 +00:00
ChangeLog-2010 Delete unneeded svn:executable property. 2011-08-12 15:37:44 +00:00
ChangeLog-2011 bug #21663 AT90PWM efuse incorrect 2012-01-02 15:20:18 +00:00
ChangeLog-2012 Annual ChangeLog rotation time. 2013-01-02 10:12:41 +00:00
ChangeLog-2013 Annual changelog rotation. 2014-01-15 13:16:34 +00:00
ChangeLog-2014 Annual ChangeLog rotation (quite late this year). 2015-04-09 19:48:01 +00:00
Makefile.am Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
NEWS bug #44717: avrdude creates empty flash dump 2015-04-09 19:50:30 +00:00
README Give some more installation/building hints. 2013-09-17 20:50:30 +00:00
arduino.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
arduino.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
avr.c bug #40142 Floating point exception on Ubuntu 10.04 2014-11-14 10:22:52 +00:00
avr910.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
avr910.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrdude.1 bug #44717: avrdude creates empty flash dump 2015-04-09 19:50:30 +00:00
avrdude.conf.in bug #40870: config nitpick: ATtiny25/45/85 have 1 calibration byte not 2 2014-11-23 21:10:32 +00:00
avrdude.h added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
avrdude.spec.in Submitted by Galen Seitz: 2005-11-29 20:28:51 +00:00
avrftdi.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
avrftdi.h bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:38:52 +00:00
avrftdi_private.h avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros 2014-06-17 20:27:37 +00:00
avrftdi_tpi.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrftdi_tpi.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrpart.c patch #8440 Print part id after signature 2014-08-18 21:43:08 +00:00
bitbang.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
bitbang.h Replace all occurences of exit() in potential library code 2014-05-16 15:52:25 +00:00
bootstrap Make a first attempt to build a shared library (not to be installed by 2014-05-16 17:50:40 +00:00
buspirate.c patch #8504 buspirate: Also support "cpufreq" extended parameter in binary mode 2014-11-13 13:53:47 +00:00
buspirate.h patch #7724 Add TPI support for Bus Pirate using bitbang mode 2013-01-30 21:15:39 +00:00
butterfly.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
butterfly.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
config.c Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
config.h Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
config_gram.y bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
configure.ac patch #8437: [PATCH] Serial-over-ethernet for Win32 2014-11-25 20:00:33 +00:00
confwin.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
crc16.c Major code cleanup. 2007-01-24 22:43:46 +00:00
crc16.h Major code cleanup. 2007-01-24 22:43:46 +00:00
dfu.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
dfu.h * flip2.c (flip2_page_erase): Remove unimplemented function. 2014-01-17 14:00:01 +00:00
fileio.c bug #37441: lockbits in ATxmega + avrdude = problem 2014-10-15 20:01:12 +00:00
flip1.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
flip1.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
flip2.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
flip2.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
freebsd_ppi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ft245r.c patch #8511 Fix reset on FT245R 2014-08-18 21:08:05 +00:00
ft245r.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
jtag3.c bug #42908: no external reset at JTAGICE3 2014-11-24 09:52:00 +00:00
jtag3.h Turn the usbpid parameter of the programmer into a list of PIDs. Make 2014-02-27 13:06:03 +00:00
jtag3_private.h Implement the Atmel EDBG/CMSIS-DAP driver protocol for JTAGICE3 2014-02-26 17:54:32 +00:00
jtagmkI.c bug #43137: Writing and reading incorrect pages when using jtagicemkI 2014-11-23 20:57:17 +00:00
jtagmkI.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
jtagmkII.c bug #37441: lockbits in ATxmega + avrdude = problem 2014-10-15 20:01:12 +00:00
jtagmkII.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
jtagmkII_private.h Fix byte-wise EEPROM and flash writes on Xmega 2013-09-08 19:57:58 +00:00
jtagmkI_private.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
lexer.l Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
libavrdude.h patch #8440 Print part id after signature 2014-08-18 21:43:08 +00:00
linux_ppdev.h * linux_ppdev.h: added missing msg level for avrdude_message in ppi_claim/ppi_release macros 2014-06-23 20:20:38 +00:00
linuxgpio.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
linuxgpio.h patch #7165 Add support for bitbanging GPIO lines using the Linux sysf GPIO interface 2013-01-09 19:23:30 +00:00
lists.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
main.c Allow the -B option argument to be suffixed with Hz, kHz, or MHz, in 2014-11-23 21:49:56 +00:00
my_ddk_hidsdi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
par.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
par.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
pgm.c Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
pgm_type.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:38:52 +00:00
pickit2.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
pickit2.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
pindefs.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
ppi.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
ppi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ppiwin.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
safemode.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
ser_avrdoper.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
ser_posix.c patch #8380: adds 500k 1M 2M baud to ser_posix.c 2014-11-25 21:33:22 +00:00
ser_win32.c Properly declare arg #2 of net_send() (in ser_win32.c) as being a pointer 2014-11-26 09:38:15 +00:00
serbb.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
serbb_posix.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
serbb_win32.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
solaris_ecpp.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
stk500.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500_private.h Add support for displaying and changing the various STK500 operational 2003-07-24 21:26:28 +00:00
stk500generic.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
stk500generic.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500v2.c bug #43626: Inconsistent timeouts in stk500v2 2014-11-19 17:23:14 +00:00
stk500v2.h * pgm_type.c: Add "jtagice3_isp" programmer hook 2012-12-03 15:52:38 +00:00
stk500v2_private.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
term.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
term.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
tpi.h avr.c: Adds avr_tpi_program_enable 2013-05-06 12:49:26 +00:00
update.c bug #44717: avrdude creates empty flash dump 2015-04-09 19:50:30 +00:00
usb_libusb.c bug #43268: usb_drain() call causes LUFA AVR-ISP MKII Code to Fail 2014-09-22 10:01:39 +00:00
usbasp.c bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of 2014-11-20 09:20:44 +00:00
usbasp.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
usbdevs.h Add the new Atmel-ICE, in all of JTAG, PDI, dW, and ISP modes. 2014-02-28 14:36:38 +00:00
usbtiny.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
usbtiny.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
wiring.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
wiring.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00

README

See the documentation file for the details.

The latest version of AVRDUDE is always available here:

  http://savannah.nongnu.org/projects/avrdude


Important environment variables for ./configure:
================================================

CPPFLAGS: C preprocessor flags (*not* "C++")

This is the place to put additional (non-standard) -I options into.
For example, if your Windows system has LibUSB-Win32 installed into
\\WINDOWS\ProgramFiles\LibUSB-Win32, use

CPPFLAGS=-I/WINDOWS/ProgramFiles/LibUSB-Win32/include

to tell configure where to search for the header files.  (The use of
forward slashes rather than backslashes can often simplify things.
Note that the Windows system services internally treat both the same.
It's only cmd.exe which requires backslashes as the directory
separator.)

LDFLAGS: Linker options

This is the place to make additional library locations known to the
linker.  To continue the above example, use

LDFLAGS=-L/WINDOWS/ProgramFiles/LibUSB-Win32/lib/gcc

to make the linker search for "libusb.a" in that directory.


Linux users: make sure the header files are installed
=====================================================

While many Linux distributions install the libraries needed by AVRDUDE
(libusb, libelf) by default, they leave out the corresponding header
files.  Consequently, the configure script won't find them, so these
libraries could not be used.

Usually, the packages with the header files (and static libraries) are
derived from the regular package name by appending "-devel".  Thus,
make sure you have "libusb-devel" and "libelf-devel" installed before
running the configure script.  (Same goes for libftdi.)