-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
org] On Behalf Of Ramazan Kerek
Sent: Thursday, April 17, 2008 1:16 AM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] optimization flags causes problems??
Hello,
I have started using AT90CAN128 with
Ramazan Kerek schreef:
Hello,
I have started using AT90CAN128 with WinAVR-20080402.
I am having problem with with optimizatin flags.
Do not use 20080402, use 20080411.
HTH
Wouter
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
Thanks alot.
I will try it.
Best Regards
Ramazan Kerek
-Original Message-
From: Wouter van Gulik [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 17, 2008 11:31 AM
To: Ramazan Kerek
Cc: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] optimization flags causes problems??
Ramazan
Subject: RE: [avr-gcc-list] optimization flags causes problems??
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
org] On Behalf Of Ramazan Kerek
Sent: Thursday, April 17, 2008 1:16 AM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] optimization flags
Ramazan Kerek wrote:
I have installed 20080411 and seen the same problems as I did in
20080402.
Is there anything else I should try?
What compiler flags did you use?
If you compile the code you gave, use -O0 and -Os, what is the generated
assembly code?
Incidentally, why are you writing
Please see my comment on your questions below.
Best Regards
R. Kerek
What compiler flags did you use?
- -Wall, -gdwarf-2, -std=gnu99, -O0, -funsigned-char,
-funsigned-bitfields, fpack-struct, -fshort-enums
If you compile the code you gave, use -O0 and -Os, what is the generated
assembly
Ramazan Kerek wrote:
Please see my comment on your questions below.
Best Regards
R. Kerek
What compiler flags did you use?
- -Wall, -gdwarf-2, -std=gnu99, -O0, -funsigned-char,
-funsigned-bitfields, fpack-struct, -fshort-enums
Try compiling with -mmcu=atmega128. Without an appropriate
Ramazan Kerek [EMAIL PROTECTED] wrote:
2-I am using EEPROM_Write/Read functions in my project. When I
compile the project with -O0 option, and start dtata transfer to
EEPROM memory, I do not see any transfer to EEPROM memory.
As you told the compiler to not optimize, the generated code is
@nongnu.org
Subject: Re: [avr-gcc-list] optimization flags causes problems??
Ramazan Kerek [EMAIL PROTECTED] wrote:
2-I am using EEPROM_Write/Read functions in my project. When I
compile the project with -O0 option, and start dtata transfer to
EEPROM memory, I do not see any transfer to EEPROM memory