[En-Nut-Discussion] TFTP Download to Ethernut 5

Gregor Mackenzie gregor.mackenzie80 at gmail.com
Fri Apr 20 12:12:34 CEST 2012


Some tips:
1. Ensure that you use a hub for the PC connection so that DHCP etc are all
correctly set up for you.
1a. check your firewall.
1b. use a suitable external power supply.
2. Ensure that ipaddr is configured as this is your board's assigned IP
3. set bootcmd to an empty string to stop Linux loading automatically
4. ensure that the TFTP32 TFTP server is bound to the correct network in
the settings dialog.
5. ensure that the U-boot command variable for the TFTP server is set to
the same port address as the TFTP server is bound to.
6. If 4 doesn't work, set serverip to the same address.
7. The default load address is 0x20000000. Make sure you type 7 '0's. Ahem!

Failing this, you can use the loadb command to download over the serial
connection using the Kermit transfer protocol into SDRAM.

I can have a look at downloading your .bin file into my Ethernut 5 to
double-check if you like.

Best regards

Gregor Mackenzie
gregor.mackenzie80 at gmail.com

Date: Fri, 20 Apr 2012 11:03:12 +0200
> From: Vegard Aaker <vegardaa at stud.ntnu.no>
> Subject: [En-Nut-Discussion] Installing Nut/Os on Ethernut 5.0
> Hi,
> I am trying to use Nut/Os on Ethernut 5, my board is bought (from
> http://www.egnite.de/en/egnite-shop/ethernut-5/ethernut-bulk-50f.html)
> with
> preinstalled uboot bootloader. I have managed to boot the linux OS
> installed on the board but I can not manage to load the Nut/Os. I have
> tried running the scripts installed on the board to install and run Nut/Os,
> but it fails to connect with TFTP to the computer. I have tried to change
> the environment variable ipaddr in uboot, but still no connection.
> I have managed to set up an Ethernut 3.0 board to the computer, using this
> guide: http://www.ethernut.de/nutwiki/Ethernut_3.0_E How to install Nut/OS
> with a cross compiler and try a few sample applications on Ethernut 3.
> Is there any similar guide for Ethernut 5.0 that I have not found?
> Kind regards,
> Vegard Aaker

More information about the En-Nut-Discussion mailing list