[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #7314] detect ELF and COFF files and reject flashin
From: |
Petr Hluzin |
Subject: |
[avrdude-dev] [patch #7314] detect ELF and COFF files and reject flashing them |
Date: |
Sat, 11 Sep 2010 22:59:56 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #7314] detect ELF and COFF files and reject flashing them,
Petr Hluzin <=