Ethernut Home Hardware Firmware Tools Download Community
Search | Legals | Deutsch

Installing Nut/OS on Windows

This document describes how to install the Nut/OS development environment on Windows.

Linux/UNIX users should follow this link.


You will need

The tools listed above will enable you to create Nut/OS libraries and final application binaries. A specific software and optional hardware is needed for uploading these binaries to the target board.

Compiler Installation

Nothing special is required for Nut/OS. Simply follow the installation instructions for WinAVR, YAGARTO or ImageCraft.

Nut/OS Installation

The Nut/OS package for Windows is a self-extracting executable. Starting it, will present a language selection dialog.

Language Selection

Select either English or German. Other languages may be offered, but may not be fully supported. We will use English.

The next dialog shows a welcome page with the Nut/OS version in the lower left corner.

Welcome Page

Click Next >.

The following dialog can be used to install a subset of the package. Select Full and click Next >.

Component Page

Select Full if not already selected and click Next >.

Another dialog allows you to choose a destination folder.

Destination Folder

Clicking on Install will copy the files to the selected folder.

The following dialog shows the installation progress.

Installation Progress

On the last dialog select Start Nut/OS Configurator and click Finish.

Installation Completed

If everything went well, the installation terminates and the Nut/OS Configurator is started.

The installation will have created several subdirectories in the destination folder.

Installation Result

Source tree. With the Configurator you will later create sibling directories called build trees (e.g. nutbld-mega256) and application trees (e.g. nutapp-ctrl). This way different Nut/OS configurations for different platforms can be derived from the same source tree and can be used concurrently.

Sample applications, from simple system event or timer tests to FTP and HTTP servers.

ImageCraft project templates for the sample applications.

Architecture specific system code, device drivers, linker scripts, runtime initialization etc.

Application binaries will be copied to this directory with 'make install'.

Ethernut boot loaders.

Hardware independant C runtime routines. May be used for platforms without libc, but not used with the compilers listed above, as they provide their own.

Nut/OS configuration scripts, used by the Configurator.

C++ support, probably limited.

Hardware dependant C runtime routines, mainly I/O and date/time.

Device drivers, which are configurable for all platforms. These are just a few. Most drivers are not yet portable and are therefore located in nut/arch.

API documentation including copyright statements.

Nut/OS file systems.

Collection of all C header files, which are related to Nut/OS source files. You compiler may provide similar, in which case it is important, that this directory is searched first.

Pre-build Nut/OS libraries. You may try these, if your compiler somehow fails to create them.

Network related code. The TCP/IP stack can be found here.

Nut/OS kernel code and some useful APIs, which are not really needed by the kernel.

High level network code, like DHCP, HTTP etc.

Source code and binaries of various tools. Your PATH environment should point to nut\tools\win32 in the first place. For example, make.exe may be also included in your compiler package, but it may not work with the Nut/OS Makefiles, which sometimes use very specific features.

A few main tools are not located in the tools directory, but in the application folder.

Nut/OS Configurator. GUI tool to setup Nut/OS for your specific environment.

Command line version of the Nut/OS Configurator. Useful for automatic builds and purists.

This tiny utility is new with Nut/OS release 4.2. It scans local networks for Nut/OS nodes and allows to configure them remotely. Provided, that the application activates this service.

What's Next?

You will now be able to build Nut/OS for your specific target hardware and test some of the sample applications. The following links will guide you.

Nut/OS Software Manual (November 2005)
For Ethernut 1 and 2 and other ATmega based boards. Needs to be updated for Ethernut 3.

Nut/OS on the ATmega2561
Requires the commercial ImageCraft Compiler.

Nut/OS on the Gameboy Advance
Little bit outdated.

Nut/OS on the AT91SAM7X256 EK
Atmel evaluation board.

Nut/OS on the AT91SAM9260 EK
Atmel evaluation board.

YAGARTO Projects
Michael Fischer tried Nut/OS on the LPC2294 and the STR711.

Good luck,
Harald Kipp
Castrop-Rauxel, 18th of October 2006