[En-Nut-Discussion] appload Bootloader: Makedefs problem

Alexander Zäch alexander.zaech at bytehunter.de
Fri Nov 12 21:45:27 CET 2004


Hello,

I don't know why but when I programming the Boot flash section size=4096
words fuse it't work with:

CPFLAGS   = $(MCFLAGS) -O0 -Wall -Wstrict-prototypes
-Wa,-ahlms=$(<:.c=.lst)$(DEFS)
LDFLAGS   = $(MCFLAGS) -Wl,-Map=$(PROJ).map,--cref,--defsym,__stack=0x10FF
-nostartfiles -nodefaultlibs -Ttext=0x1E000

But not with the defaults in any case...

If anybody knows why the bootloader don't work with the 'out-of-the-box'
settings, please let me know.

Thanks
Alex

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Alexander Zäch
Gesendet: Freitag, 12. November 2004 21:06
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] appload Bootloader: Makedefs problem


Hello everybody,

I try to setup the appload bootloader on my Ethernut 2.1b. With the
following entrys in the Makedefs file:

CPFLAGS   = $(MCFLAGS) -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
$(DEFS)
LDFLAGS   = $(MCFLAGS) -Wl,-Map=$(PROJ).map,--cref,--defsym,__stack=0x10FF
-nostartfiles -nodefaultlibs -Ttext=0x1F000

After making the appload hexfile and upload the hexfile the bootloader don't
start. If I try this:

CPFLAGS   = $(MCFLAGS) -O0 -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst)
$(DEFS)
LDFLAGS   = $(MCFLAGS) -Wl,-Map=$(PROJ).map,--cref,--defsym,__stack=0x10FF
-nostartfiles -nodefaultlibs -Ttext=0x1E000

Now, the bootloader starts and try to get the IP via DHCP and .bin via Tftp.
But the bootloader restarts again after loading the .bin file... This, I
think, never ends! The .bin file (tcps sample) was created by the robi tool.

What do I wrong?

Thanks
Alex


_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion





More information about the En-Nut-Discussion mailing list