URL:
  <http://savannah.nongnu.org/patch/?7314>

                 Summary: detect ELF and COFF files and reject flashing them
                 Project: AVR Downloader/UploaDEr
            Submitted by: petrh
            Submitted on: Sun Sep 12 00:59:55 2010
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If user passes an an ELF file or an AVR COFF to avrdude-5.10 it will attempt
to flash it as a binary file.
This leads to confusion [1] and blocks the path to ever implement the
feature.

This patch adds code to recognize these file formats and print appropriate
diagnostic message.
And will prevent flashing a garbage.

[1] http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=80705

(A note for myself: avr-objcopy -O coff-ext-avr inputfile.elf
outputfile.coff, task #5093)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun Sep 12 00:59:55 2010  Name: avrdude-elf-detection.patch  Size: 3kB 
 By: petrh
applies cleanly to today's trunk
<http://savannah.nongnu.org/patch/download.php?file_id=21441>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7314>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to