Page 2
Nor does it make a commitment to update the information contained herein. egnite products are not intended for use in medical, life saving or life sustaining applications. egnite retains the right to make changes to these specifications at any time, without notice.
About the Ethernut 5.0 Board About the Ethernut 5.0 Board The high end generation of the Ethernut board family has been designed for embedded Linux applications. Ethernut Features AT91SAM9XE512 RISC microcontroller with 512 kByte protected NOR Flash, • 32 kByte SRAM, 32 kByte ROM 1 GByte NAND Flash •...
This chapter will help you quickly set up and start using the Ethernut board. Prerequisites for Operation Ethernut 5.0 boards are shipped with samboot boot loader programmed in internal Flash memory, U-Boot boot loader, Linux kernel and a sample Nut/OS application programmed in serial Flash memory and a Linux root file system programmed in NAND Flash memory.
Make sure that the PC is connected to the same physical Ethernet network. Ethernut 5.0 comes with Auto-MDIX and may be connected directly to the PC with a standard patch cable. However, depending on the PC's operating system, link negotiation may not work reliable in this configuration.
Page 9
Quick Start Using the Boot Loader As soon as the board is powered up, the U-Boot boot loader will send several status messages to the serial port, which are displayed on the terminal emulator. U-Boot 2011.03-rc1 (Mar 10 2011 – 15:08:32) CPU: AT91SAM9XE Crystal frequency: 18.432 MHz...
Ethernut 5.0 Hardware Manual Scripts stored in environment variables can be executed by entering the command run followed by the variable's name. The variable bootcmd contains the script that is executed during automatic booting. U-Boot> printenv bootcmd bootcmd=run flashbootlinux This simple script calls another script contained in the variable flashbootlinux, which will boot the Linux kernel from serial Flash.
Page 11
Quick Start When started, the Linux kernel will display a large number of status messages and finally show the login prompt. .-------. |-----.-----.-----.| | .----..-----.-----. | __ ---'| '--.| .-'| |--- --'| | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' '---' The Angstrom Distribution ethernut5 ttyS0 Angstrom next ethernut5 ttyS0 ethernut5 login: root...
Ethernut 5.0 Hardware Manual Board Overview AT91SAM9XE Microcontroller The AT91SAM9XE512 CPU (IC1) is based on an ARM926EJ-S processor and provides 512 kBytes of high speed on-chip Flash memory and 32 kBytes of SRAM, both of which can be used for code execution and data storage.
Board Overview Typically, serial Flash memory on Ethernut 5 is used to store the configuration and several boot images. Initial programming of the serial Flash can be done with the SAM-BA utility using the RS-232 or the USB device port. •...
24 bits are the manufacturer's ID, assigned by the IEEE Standards Office. The ID of Ethernut boards manufactured by egnite GmbH is 000698 hexadecimal. The lower 24 bits are the board's unique ID assigned by egnite. It is printed on the small barcode label.
Page 15
Board Overview RS-232 Interface Ethernut provides an on-board DB-9 male connector for RS-232 serial communication, wired as a DTE (data terminal equipment) port. IC6 is used to convert the required voltage levels for RS-232 from the 3.3V power supply. Use a null-modem cable to connect a PC to this port. A suitable cable will have female 9-pin D-Sub connectors on both ends.
Ethernut 5.0 Hardware Manual DB-9 connector attached to USART2 with hardware handshake. The following table shows the connector's pins, that are used in a specific configuration: Signal DBGU USART0 USART2 ...
Board Overview Image Sensor GPIO Alternate Function Shared with +3.3V Output Ground UART1 TxD Expansion Port Pin 40 UART1 RxD Expansion Port Pin 39 Data Bit 8 Input PB10 UART3 TxD Data Bit 9 Input PB11 UART3 RxD Data Bit 0 Input PB20 SSC Receive Clock Data Bit 1 Input...
Ethernut 5.0 Hardware Manual Power Supply The board has 3 voltage regulators (IC12, IC18 and IC24) and can be powered by using an unregulated 2 Watt external supply of 7-24 • VDC with 2.1mm barrel connector IEEE 802.3af Power over Ethernet •...
Board Overview Ethernut 20 pin JTAG Connector 3.3V 3.3V nTRST RTCK nRST Please refer to the chapter "Using the JTAG Interface" for more details. The NXP PCF8563 Realtime Clock/Calendar Chip (IC7) is accessed via a TWI (I2C). The chip's power supply is backed by a 0.33F double layer cap (C1). A dedicated 32.768kHz crystal (Y2) drives the reference clock.
Using the JTAG Interface Prerequisites Any standard 20-pin JTAG adapter can be used with Ethernut 5.0, provided that the accompanied software supports the AT91SAM9XE512 CPU. When using the Turtelizer 2, a 10 to 20 pin adapter is required. In any case, you should check the connector pinout that is given in the chapter "Board Overview".
Page 21
Using the JTAG Interface 7. Connect the other interface of the JTAG adapter to the PC. For the Turtelizer, this will be the USB interface. Install the software that comes with your JTAG adapter. When connecting an USB based adapter like the Turtelizer 2 to a Windows PC for the first time, the "Found New Hardware Wizard"...
Ethernut 5.0 Hardware Manual Memory Layout The following table shows the CPU memory map, which is configured by the SAMBoot boot loader. Address Range Usage 0x00000000 - 0x0007FFFF Boot memory (mapped ROM, Flash or SRAM) 0x00100000 - 0x00107FFF 32 kByte internal ROM (SAM-BA firmware)
Hardware Expansion Hardware Expansion WARNING: Expansion port pins are not 5V tolerant and must not be connected to 5V logic without proper level translation. For detailed specifications refer to the AT91SAM9XE512 datasheet. Many applications will do just fine with nothing else than the bare Ethernut board. If needed, external hardware may be connected to the RS-232 port or the USB host port.
Page 24
Ethernut 5.0 Hardware Manual Pin Signal Usage Signal Usage V3.3 +3.3V Supply V3.3 +3.3V Supply V5.0 +5.0V Supply V5.0 +5.0V Supply Signal ground Signal ground Signal ground Signal ground nRST Board Reset Unregulated supply 11 V5.0 +5.0V supply V5.0 +5.0V supply...
Power Management Power Management The Ethernut 5.0 CPU communicates with the power management controller via C address 0x22. The U-Boot boot loader provides the Ethernut board specific command pwrman. PMM Enable Register Register Name: PMM_REG_ENA Access: Read-write ETHRST ETHCLK RS232...
Ethernut 5.0 Hardware Manual ETHRST ETHCLK RS232 MMCPWR VBUSO VBUSI CPUPWR CPUPWR 0 = No effect. 1 = 1.8V and 3.3V power supply on. VBUSI 0 = No effect. 1 = Disables 5V power supply drawn from USB device connector.
Upgrading from Previous Ethernut Revisions Upgrading from Previous Ethernut Revisions Ethernut has undergone many changes since its initial release in the year 2000, but board dimensions and positions of main connectors remained unchanged. However, there are a few things to consider when moving from one board version to another.
These checks require additional equipment, which may not be available for you or may require specific knowledge you do not have. If this is the case and if your board is still showing no signs of life, contact either your distributor or egnite GmbH directly.
If this trouble shooting guide doesn’t help or if it results in the conclusion, that your Ethernut is broken, you should send an email to info@egnite.de, including the following information: Ethernut Revision, printed on the back side of the board.
Need help?
Do you have a question about the Ethernut 5.0 and is the answer not in the manual?
Questions and answers