[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Can't Use Avrobj with EEPROM (can't find source file,
Re: [avr-gcc-list] Can't Use Avrobj with EEPROM (can't find source file, nordic file error)
Wed Jan 31 03:11:04 2001
Here is an excerpt from my makefile... Peter Fleury's
Avrgcc code examples shows the way to fix the overlap
problem. Since I am not there yet, I have not investigated
fully. See the attached e-mail. I am assuming you know how
to get an .elf file...
BIN = avr-objcopy
FORMAT = ihex
$(BIN) -O avrobj $< $@
$(BIN) -O $(FORMAT) $< $@
.eeprom --set-section-flags=.eeprom="alloc,load" -O
$(FORMAT) $< $@
----- Original Message -----
From: "Christoph Plattner" <address@hidden>
> I had the problem, that the linker gives out an error,
> that it has 2 overloapping addresses between the code
> section and the eerpom section. I also use this
> contruct described below, but all running under Linux.
> Further there must be a official way to produce the HEX
> file from code (section text) and one of setction EEPROM,
> to program them independent with `uisp'.
> I hope you can aslo help me, here.
--- Begin Message ---
Example with eeprom section support
Mon, 29 Jan 2001 23:11:34 +0100
Thanks for the good speed news of the new mingw port. It still use the cygwin
I have you an examle program with eeprom section.
I could successfully debug it with AVR-Studio, although I still use
AVR Studio 3.0.
The EE-section support has changed or is broken a little.
A had to add
to *.elf *.eep target.
Without this flag I got an offset in the EE section.
This example program with makefile can be found on my homepage
(software section -> AVRGCC examples)
http://luna.spaceports.com/~pfleury (new mirror)
--- End Message ---