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

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


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





More information about the En-Nut-Discussion mailing list