Advertisement

Quick Links

SAM9-L9261
User Manual
All boards produced by Olimex are ROHS compliant
Rev.C, September 2009
Copyright(c) 2009, OLIMEX Ltd, All rights reserved
Arrow.com.
Downloaded from

Advertisement

Table of Contents
loading

Summary of Contents for OLIMEX SAM9-L9261

  • Page 1 SAM9-L9261 User Manual All boards produced by Olimex are ROHS compliant Rev.C, September 2009 Copyright(c) 2009, OLIMEX Ltd, All rights reserved Arrow.com. Downloaded from...
  • Page 2: Electrostatic Warning

    NAND Flash. The board has Ethernet 100Mbit controller, USB host, USB device, RS232 and 20 pin extension port with unused SAM9261 GPIO ports available for add-on boards. SAM9-L9261 has waste amount of Flash and RAM and runs a 2.6.27.4 Linux. RTC clock is backed up with 3V Li battery.
  • Page 3 SCHEMATIC Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from...
  • Page 4: Getting Started

    SDRAM and then execute a JUMP to its start address. AT91BOOTSTRAP Version 2.4 of at91bootstrap has been used, along with minor modifications to add support for the SAM9-L9261 board. To compile from source: Extract the sources: tar xjf at91bootstrap-2.4-olimex.tar.bz2 cd at91bootstrap-2.4-olimex...
  • Page 5: Linux Kernel

    Due to AT91SAM9261 chip errata booting from NAND flash is not supported. U-BOOT The used U-Boot is a GIT pull from June 11 2009, along with minor modifications to add support for SAM9-L9261. In order to compile from sources: Extract the sources: tar xjf u-boot-git20090611-olimex.tar.bz2...
  • Page 6 . The other option is to use a ready-made binary distribution like Debian or some pre-compiled Angstrom image. The root filesystem used in SAM9-L9261 is a slightly modified version of the official Atmel Linux demo binary. Additional software can easily be installed by the command "ipkg", provided that the board is connected to Internet via Ethernet cable.
  • Page 7 Windows should find the necessary drivers from the previous AT91- ISP installation. Extract the contents of the sam9-l9261-samba.zip archive to a temporary directory. 9. Run the sam9_l9261_demo_linux.bat script from that directory. 10. After a couple of minutes Notepad will be opened with the log file of the write operation.
  • Page 8: Extension Port

    distinctive heartbeat pattern. LEDs can be manually controlled from the Linux shell prompt. For example, to switch on LED2: echo 255 > /sys/class/leds/led2/brightness And to switch it off: echo 0 > /sys/class/leds/led2/brightness EXTENSION PORT The board has an extension port EXT with eleven GPIO pins that can be controlled from user-space Linux applications.
  • Page 9 setup the pin correspondingly as an output with initial high value, output with initial low value, output or input. Example: echo high > /sys/class/gpio/gpio39/direction echo in > /sys/class/gpio/gpio40/direction Outputs can be controlled by writing to the value file like this: echo 0 >...
  • Page 10: Using The Sd/Mmc Slot

    5. The SMD jumpers WP_E and CP_E must be soldiered. A specially configured version of the Linux kernel must be used. A precompiled binary can be found in the “sam9-l9261-samba- sdmmc.zip” archive. The configuration for this kernel can be loaded...
  • Page 11: Tips And Tricks

    And finally boot the kernel: U-Boot> boot In the previous example the NFS server has IP address 192.168.0.225, and the SAM9-L9261 client is assigned IP address 192.168.0.239 and host name "emblin". The NFS export path is "/path/to/nfs-root" Another option is to use DHCP: U-Boot>...
  • Page 12 TIP: By default all Olimex boards ship with the _same_ ethernet MAC address. This will cause trouble if there are two or more boards in the same local network. Assigning a custom MAC address is easy. When U-Boot is starting press a key to enter the U-Boot shell. There set the Ethernet...
  • Page 13 REFERENCES http://www.atmel.com/products/at91 http://www.linux4sam.org http://www.at91.com http://www.codesourcery.com http://www.kernel.org http://maxim.org.za/at91_26.html http://u-boot.sourceforge.net http://www.angstrom-distribution.org Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 14: Order Code

    ORDER CODE: SAM9-L9261 – assembled and tested (no kit, no soldering required) How to order? You can order to us directly or by any of our distributors. www.olimex.com/dev Check our web for more info. Revision history: REV.A - created, October 2008 REV.B...
  • Page 15 This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.

Table of Contents