Home
SAMA5D3 Xplained Getting Started
Contents
1. Atmel Application note SAMA5D3 Xplained Getting Started ARM based Embedded MPU Scope This document explains how to get started quickly with your SAMA5D3 Xplained board It provides details on how to connect the SAMA5D3 Xplained board to a computer and the steps to access the on board Linux distribution Kit Contents The SAMA5D3 Xplained Kit contains e One SAMA5D3 Xplained board e One Micro AB to typeA USB cable e A welcome letter 11270A ATARM 20 Feb 14 1 Reference Documents Table 1 1 Reference Documents Information Document Title User Manual Electrical Mechanical Characteristics SAMA5D3 Series Datasheet Ordering Information SAMA5D3 Xplained User Guide SAMA5D3 Xplained User Guide 2 Power Warning Warning Unlike Arduino Uno boards the Atmel SAMA5D3 Xplained board runs at 3 3V The maximum voltage tolerated by the I O pins is 3 3V Providing higher voltage levels e g 5V to an I O pin may result in damage to the board 2 1 Electrostatic Warning Warning ESD Sensitive Electronic Equipment In the evaluation kit box the board is packaged in a protective anti static bag When in use the board must not be subjected to high electrostatic potentials When not in use it is recommended to store the board in the protective bag It is strongly recommended to use a grounding strap or similar ESD protective device when handling the board in hostile ESD envi
2. USB gadget port of the SAMA5D36 device Connect the USB Micro AB cable from the connector J6 to a free USB port of your PC and use the USB CDC interface 8 1 Linux Users Once the board is powered up and the connection with the host machine is made follow the steps below 1 Identify the USB connection by monitoring the last lines of the dmesg command The dev ttyACMx number will be used to configure the serial terminal emulator S dmesg Lee 73507 188239 usb 1 1 1 1 new high speed USB device number 49 using ehci pci 73507 281410 usb 1 1 1 1 New USB device found idVendor 0525 idProduct a4a7 73507 281418 usb 1 1 1 1 New USB device strings Mfr 1 Product 2 SerialNumber 0 73507 281421 usb 1 1 1 1 Product Gadget Serial v2 4 7 300 2601422 usb l lL elsl Manufacturer Linux 3 10 0 yocto standard with atmel_usba_udc 73507 287341 cdc_acm 1 1 1 1 2 0 This device cannot do calls on its own It is not a modem 73507 287377 cdc acm 1 1 1 1 2 0 ttyACMO USB ACM device The CDC driver is used and you can see that a dev ttyACMO node has been created on your host system 2 Run the serial terminal emulator application with the 115200 8 N 1 parameters picocom b 115200 dev ttyACMO picocom vl 7 port is dev ttyACMO flowcontrol none baudrate is 115200 parity is none databits are 8 escape is C a local echo is no noinit is no noreset is no nolock is no send_cmd is SZ VV r
3. 000 NAND FLASH SAMASD3 Xplained Getting Started APPLICATION NOTE 11270A ATARM 20 Feb 14 7 Getting Started Pre requisites 7 1 Hardware To begin using the Atmel SAMA5D3 Xplained kit the following items are required e Windows XP or later or a Linux distribution e Micro AB to TypeA USB Device cable e Atmel SAMA5D3 Xplained board e Anoptional USB Serial DBGU port bridge e g FTDI TTL 232R 3V3 USB to TTL serial cable Figure 7 1 SAMA5D3 Xplained Board Overview USB A Device USB Host Interfaces And Supply Input J 6 ATSAMA5D36 1401 A XXXXXXXXXX ARM jie G I e GigaBit Ethernet Blue Led x Power Indicator Sy MII wT Cs a i PFa Atmel kbi sii Upin Ethernet 10 100 a F ee g bt eis ie Fen sf G OT r a EE r 2 System Buttons Debug Interface J23 7 2 Serial Terminal Emulator To access the Linux console a serial terminal emulator is required e g HyperTerminal minicom PuTTY picocom screen etc The standard serial communication parameters are 115200 8 N 1 Table 7 1 Serial Communication Port Parameters Parameter Parameter Value Baud Rate 115200 Data 8 bits Parity None Stop 1 bit Flow Control None SAMA5D3 Xplained Getting Started APPLICATION NOTE 7 Atmel j 9 11270A ATARM 20 Feb 14 8 Accessing the Linux Console The Linux console is accessed through the USB device also known as
4. RY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS AND PROFITS BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice Atmel does not make any commitment to update the information contained herein Unless specifically provided otherwise Atmel products are not suitable for and shall not be used in automotive applications Atmel products are not intended authorized or warranted for use as components in applications intended to support or sustain life
5. d media Flash DataFlash NANDFlash SDCARD If so the ROM code downloads it into internal SRAM For details refer to the AT91Bootstrap section on and the sub chapters Boot strategies and Boot capabilities matrix The AT91Bootstrap manages the hardware configuration and downloads the U Boot barebox binary from Flash to SDRAM DDRAM It starts the bootloader third level bootloader loads the Device Tree Binary and starts the Linux kernel Figure 5 1 Boot Sequence ROM CODE Check if AT91 Bootstrap is present on FLASH Boot Media Load it from FLASH to SRAM amp Start it AT91Bootstrap SDRAM DDRAM Clock Initialization Load U Boot Barebox from FLASH to SDRAM DDRAM amp Start it L U Boot barebox Load Kernel Image Load Device Tree binary DTB from FLASH to SDRAM DDRAM amp Start it Linux Kernel Starting Kernel Uncompressing Linux Boot Media Linux Kernel Device Tree Binary DTB U Boot barebox AT91Bootstrap SRAM AT91Bootstrap SDRAM DDRAM U Boot barebox Device Tree Binaty DTB Kernel SAMASD3 Xplained Getting Started APPLICATION NOTE 11270A ATARM 20 Feb 14 U Boot is the bootloader in charge of downloading kernel binaries from Flash the network an SD card etc It then 5 On board Linux4SAM Demo Memory Map Figure 6 1 NANDFlash Memory Map 0x800000 0x200000 0x180000 0x100000 0x0C0000 0x0400000 0x000
6. eceive_cmd is rz vv imap is omap is emap is crcrlf delbs Terminal ready 3 Connect to the board with the root login account No password is required Poky Yocto Project Reference Distro 1 5 1 SAMA5D3 Xplained dev ttyGS0 SAMA5D3 Xplained login root root SAMA5D3 Xplained 4 You are now ready to go with the on board Linux system SAMA5D38 Xplained Getting Started APPLICATION NOTE 8 Atmel P 9 11270A ATARM 20 Feb 14 8 2 Windows Users After the board is powered up and the connection with the host machine is made the Windows system requests a driver for the USB CDC device that corresponds to the SAMA5D3 Xplained board Then follow the steps below 1 Download the official inf file required to configure the USB CDC driver www kernel org doc Documenta tion usb linux cdc acm inf 2 Make sure that the file is properly saved as an inf file Do not use a txt extension 3 Click on the Start Menu and open up the Control Panel In the Control Panef click on System Once the Sys tem window is up open the Device Manager 4 Look under Other devices An open port named Gadget Serial v2 4 should be available Figure 8 1 Device Manager Window b W Network adapters P if Other devices io iy Gadget Serial v2 4 a F Ports COM amp LPT bi Ras Communications Port COM1 i ae o 5 Right click on the Gadget Serial V2 4 device and choose the Update Driver Software opt
7. ion 6 Install the serial driver with Browse my computer for driver software option 7 Windows may prompt for confirmation to install the driver If so accept the installation The use of the official gad get serial inf file see Step 1 ensures driver software integrity 8 After the driver installation process the system displays the message Windows has successfully installed your driver software 9 Onthe Windows host system identify the USB connection that is established the port should appear in the Win dows Device Manager The COMxx number is used to configure the serial terminal emulator Figure 8 2 Serial Port Installed Device Manager Window a Y Ports COM amp LPT 10 Runa serial terminal emulator application with the parameters specified in Table 7 1 and the COMxx port number 11 You can now login to the board with the root login account No password is required Poky Yocto Project Reference Distro 1 5 1 SAMA5D3 Xplained dev ttyGSo0 SAMA5D3 Xplained login root root SAMA5D3 Xplained 12 You are now ready to go with the on board Linux system SAMA5D38 Xplained Getting Started APPLICATION NOTE 9 Atmel P 9 11270A ATARM 20 Feb 14 9 Revision History Table 9 1 SAMA5D3 Xplained Getting Started Rev 11270A Revision History Doc Rev 11270A Changes First Issue SAMA5D383 Xplained Getting Started APPLICATION NOTE 10 Atmel P 9 11270A ATARM 20 Feb 14 Atmel Enabling Unlim
8. irectly accessed using the USB Micro AB cable included in the evaluation kit This is an efficient single cable solution for easy log in and fast access to the pre installed Linux distribution Figure 3 1 Linux4SAM Website Organization Main entry point amp link to E pages AT91Boostrap N Sources 3 Introduction U boot barebox Boot sequence 7 Demo Flash Memory map O D EN S JRCE Requirements _ i b ni Eeo aE E fash PROJECTS re pul Inaries tiasning l i VALUABLE using automated script pir WEB SITES Demo Rootfs Bin Bin pkg 5 Sources At L SAMA5D3 Xplained Getting Started APPLICATION NOTE 3 me 11270A ATARM 20 Feb 14 4 Powering the Board Unpack the board taking care to avoid electrostatic discharge Connect the USB Micro AB cable from the connector J6 to a free USB port of your PC When the board is powered the blue LED marked D2 will light up and the default board firmware will start to run Figure 4 1 Device USB Port Used as Supply USB A Device And Supply Input J6 Alt L SAMA5D3 Xplained Getting Started APPLICATION NOTE 4 11270A ATARM 20 Feb 14 L L IT PF f r g 2 wus n z Boot Sequence ROM code AT91 Bootstrap U Boot bootloader Several pieces of software are used to boot a Linux kernel on SAM products The following steps describe the boot sequence of the Linux kernel 1 The ROM code checks if a valid application is present in the supporte
9. ited Possibilities Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan G K 1600 Technology Drive Unit 01 5 amp 16 19F Business Campus 16F Shin Osaki Kangyo Bldg San Jose CA 95110 BEA Tower Millennium City 5 Parkring 4 1 6 4 Osaki Shinagawa ku USA 418 Kwun Tong Road D 85748 Garching b Munich Tokyo 141 0032 Tel 1 408 441 0311 Kwun Tong Kowloon GERMANY JAPAN Fax 1 408 487 2600 HONG KONG Tel 49 89 31970 0 Tel 81 3 6417 0300 www atmel com Tel 852 2245 6100 Fax 49 89 3194621 Fax 81 3 6417 0370 Fax 852 2722 1369 2014 Atmel Corporation All rights reserved Rev 11270A ATARM 20 Feb 14 Atmel Atmel logo and combinations thereof Enabling Unlimited Possibilities and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries Windows is a registered trademark of Microsoft Corporation in U S and or other countries ARM is a registered trademark of ARM Ltd Other terms and product names may be trademarks of others Disclaimer The information in this document is provided in connection with Atmel products No license express or implied by estoppel or otherwise to any intellectual property right is granted by this document or in connection with the sale of Atmel products EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTO
10. ronments e g offices with synthetic carpeting Avoid touching the component pins or any other metallic element on the board 2 2 Power Supply Warning Warning Hardware Power Supply Limitation Using a power adapter greater than 5Vcc e g at 12Vcc from other kits such as Arduino may damage the board Warning Hardware Power Budget Using USB as the main power source max 500 mA is acceptable only with the use of the on board peripherals and low power LCD extension When an external peripheral or add on boards must be powered it is recommended to use an external power adapter connected to the J2 DC jack can provide up to 1 2A on the 3 3V node SAMA5D38 Xplained Getting Started APPLICATION NOTE 2 Atmel p 9 11270A ATARM 20 Feb 14 3 Introduction The SAMA5D3 Xplained board is pre loaded with a Linux based embedded operating system The software components stored in the NANDFlash have been compiled following instructions found on the Linux4SAM website All related source code is located on the Linux4SAM github account e Bootloaders e AT91Bootstrap e U Boot and associated environment e Linux kernel and associated Device Tree database e Poky distribution root filesystem from the Yocto project The on board pre installed Linux distribution can be controlled through the standard Linux console accessible via the Atmel SAMA5D36 DBGU standard debug interface J23 An additional USB CDC console is configured and can be d
Download Pdf Manuals
Related Search
Related Contents
Ambientes de Desenvolvimento de Software Baseados em Workflow Mode d`emploi original S-VSI Leica mojo3D - Public release notes v3.2.272 Thermo Products Premiere Series User's Manual Fujitsu PRIMERGY TX100 S3p Brodit Passive Holder,Tilt Swivel Zotac GeForce 8600 GTS 256Mb DVI GeForce 8600 GTS EVA STAMPAGGI ALESSIO Copyright © All rights reserved.
Failed to retrieve file