Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Elf to Coff overwrites C file

Elf to Coff overwrites C file

2004-04-21 by Shibu Krishnan

Dear friends
when iam converting my .elf file to coff using elfcoff command, the original .c file is becoming blank, if i am using the same folder as destination path. can u suggest the remedy for this problem.
the command i used is
avr-gcc -g -mmcu=at90s8515 -c demo.c
avr-gcc -g -mmcu=at90s8515 -o demo.elf demo.o
elfcoff demo.elf .\ demo.cof
regards
shibu,

Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�

Re: [AVR-Chat] Elf to Coff overwrites C file

2004-04-21 by John Johnson

This is a shot in the dark, but try leaving off either the .\ or the 
.cof extension, or both.

Regards,
   JJ

On Wednesday, Apr 21, 2004, at 06:55 US/Eastern, Shibu Krishnan wrote:

> Dear friends
>  
> when iam converting my .elf file to coff using elfcoff command, the 
> original .c file is becoming blank, if i am using the same folder as 
> destination path. can u suggest the remedy for this problem.
>  
> the command i used is
>   avr-gcc -g -mmcu=at90s8515 -c demo.c
>   avr-gcc -g -mmcu=at90s8515 -o demo.elf demo.o
>  elfcoff demo.elf  .\ demo.cof
>  
> regards
> shibu,
>  
>
>
>
<image.tiff>
>
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25¢
<image.tiff>
Show quoted textHide quoted text
>
> Yahoo! Groups Links
>
> • 	To visit your group on the web, go to:
> http://groups.yahoo.com/group/AVR-Chat/
>  
> • 	To unsubscribe from this group, send an email to:
> AVR-Chat-unsubscribe@yahoogroups.com
>  
> • 	Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>

Re: Elf to Coff overwrites C file

2004-04-25 by Volkmar Dierkes

On Wed, 21 Apr 2004 03:55:22 -0700 (PDT), Shibu Krishnan wrote:

> when iam converting my .elf file to coff using elfcoff command, the original .c file is becoming blank, if i am using the same folder as destination path. can u suggest the remedy for this problem.
>
> the command i used is
>   avr-gcc -g -mmcu=at90s8515 -c demo.c
>   avr-gcc -g -mmcu=at90s8515 -o demo.elf demo.o
>  elfcoff demo.elf  .\ demo.cof

Which version do you use? Since some time avr-objcopy supports cof 
(and ext-cof) format by itself, so you don't need elfcoff.

Volkmar

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.