avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] about array in ram


From: Enrico Rossi
Subject: Re: [avr-gcc-list] about array in ram
Date: Sun, 8 May 2005 00:16:26 +0200
User-agent: Mutt/1.5.9i

On Sat, May 07, 2005 at 05:18:13PM +0200, Joerg Wunsch wrote:
> 
> Enrico Rossi <address@hidden> wrote:
> 
> > In case (2) I use only Ram and normal C code, compile OK, run OK
> > under simulAVR and gdb but once downloaded on the atmega16 it does
> > output 0xFF.
> 
> How do you download it to the device?  How did you create the download
> file?
> 
> It seems you are missing to download the initializers from .data.

Yes.
I was using a Makefile with avr-objcopy -j .text. .... only.
Now It's all working fine, I've cut the -j option :)

Thank you.

Bye

-- 
Enrico Rossi <address@hidden>
Cell: +39 338 9064702 - ICQ: 14142419




reply via email to

[Prev in Thread] Current Thread [Next in Thread]