[En-Nut-Discussion] eboot resets my ethernet 1.3 rev G.
Harald Kipp
harald.kipp at egnite.de
Tue Dec 13 11:06:44 CET 2005
At 19:25 05.12.2005 +0100, you wrote:
>My eboot dont work properly:
>
>I tracked the problem down to the ether.c file from eboot 3.9.5:
>it seems that the NIC_RESET generates a reset of the board,
>leading to an endless loop for "main".
No known problem. It may be caused by a voltage drop due
to the current raise when activating the RTL8019.
>I tried the same with Nut 3.9.8, but couldnt compile because 0x1F000 isnt
>big enough:
>avr-gcc eboot.o ... -Ttext=0x1F000 -o eboot.elf
>ld: address 0x20028 of eboot.elf section .text is not within region text
The size of the bootloaders depends on the versions of the
tools, mainly avr-gcc.
>I sized the bootregion up (fuseHigh=0x80, -Ttext=0x10000), and got exactly
>the same LED-flashing as with 3.9.5.
You can't place the start at 0x10000. Have a look into the
ATmega128 data sheet. 0x1E000 is the lowest value.
>I tried a second, virgin Ethernut board, all the same.
>Normal Programms are working, including ethernet calls (app/tcps).
How about the precompiled eboot binary?
Harald
P.S. It doesn't seem to appear clearly enough in the docs.
You need to upload pure binaries with the bootloader. Hex
files won't work. Run 'make appname.bin' or use robi.exe
with ICCAVR to create such a binary file.
More information about the En-Nut-Discussion
mailing list