[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] problems with toolset on linux
From: |
Steve Joiner |
Subject: |
[avr-gcc-list] problems with toolset on linux |
Date: |
Wed, 31 Jul 2002 15:40:59 -0700 (PDT) |
Hello,
I'm trying to update my avr tools in order to get atmega8 support.
I'm using the following on Linux (Redhat 7.3):
binutils-2.12.91
gcc-core-20020729
avr-libc-20020620 (also tried avr-libc-20020630 with the same results)
When I compile for atmega8, my memory map is messed up. Here's the top
of the .map file:
Memory Configuration
Name Origin Length Attributes
text 0x00000000 0x00002000 xr
data 0x00800060 0x0000ffa0 rw !x
eeprom 0x00810000 0x00010000 rw !x
*default* 0x00000000 0xffffffff
It looks to me like the SRAM (data) section is 65440 bytes long.
According to the data sheet, there's only 1k bytes of SRAM. Anyone
know what's up?
When building for the at90s4433, I also get messed up sections. When
linking, I get the following error:
avr-gcc cbuf.o pmem.o igor.o commands.o counter.o ir.o
-Wl,-Map=igor.map,--cref -mmcu=at90s4433 -o igor.obj
/usr/local/avr/lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: section
.vectors [000005c0 -> 000005db] overlaps section .data [000005c0 ->
000005c7]
My at90s4433 project worked fine with an older version of the
toolchain, when I was using:
binutils-2.12
gcc-core-3.0.4
avr-libc-20020203
Does anyone know what's going on with the memory maps here?
Thanks,
Steve
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
avr-gcc-list at http://avr1.org