ATSAMA5D3-XPLD [MICROCHIP]
BOARD XPLAINED SAMA5D3;型号: | ATSAMA5D3-XPLD |
厂家: | MICROCHIP |
描述: | BOARD XPLAINED SAMA5D3 |
文件: | 总11页 (文件大小:695K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Application Note
SAMA5D3 Xplained Getting Started
ARM-based Embedded MPU
PLAINED
X
A5D3
SAM
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:
One SAMA5D3 Xplained board
One Micro-AB to typeA USB cable
A welcome letter
11270A–ATARM–20-Feb-14
1.
Reference Documents
Table 1-1.
Reference Documents
Information
User Manual
Document Title
Electrical/Mechanical Characteristics
Ordering Information
SAMA5D3 Series Datasheet
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!
Electrostatic
sensitive
device
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 environments (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).
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
2
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:
Bootloaders
AT91Bootstrap
U-Boot and associated environment
Linux kernel and associated Device Tree database
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 directly 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
& link to component pages
AT91Boostrap
Bin
Sources
Introduction
U-boot / barebox
Bin
Boot sequence
Sources
Demo-Flash Memory map
Requirements
OPPEENN--SSOOUURRCEE
PRROOJECTS
Linux Kernel
Bin
Pre-built binaries flashing,
using automated script
VALUABLE
Sources
WEB SITES
Demo Rootfs
Bin
Bin pkg
Sources
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
3
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)
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
4
11270A–ATARM–20-Feb-14
5.
Boot Sequence
Several pieces of software are used to boot a Linux kernel on SAM products:
ROM code
AT91Bootstrap
U-Boot bootloader
The following steps describe the boot sequence of the Linux kernel:
1. The ROM code checks if a valid application is present in the supported media (Flash, DataFlash, NANDFlash,
SDCARD). If so, the ROM code downloads it into internal SRAM. For details, refer to the AT91Bootstrap section on
Linux4SAM and the sub-chapters “Boot strategies” and “Boot capabilities matrix”.
2. 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).
3. U-Boot is the bootloader in charge of downloading kernel binaries from Flash, the network, an SD card, etc. It then
loads the Device Tree Binary and starts the Linux kernel.
Figure 5-1.
Boot Sequence
ROM CODE
Check if AT91Bootstrap
is present on
Boot Media
Linux Kernel
3
Device Tree Binary (DTB)
FLASH Boot Media
Load it from FLASH
to SRAM & Start it
2
U-Boot / barebox
AT91Bootstrap
1
2
1
AT91Bootstrap
SDRAM/DDRAM, Clock Initialization
Load U-Boot/Barebox from FLASH
to SDRAM/DDRAM & Start it
SRAM
AT91Bootstrap
U-Boot / barebox
Load Kernel Image
SDRAM / DDRAM
Load Device Tree binary (DTB)
from FLASH to SDRAM/DDRAM
& Start it
U-Boot / barebox
3
Device Tree Binaty (DTB)
Kernel
Linux Kernel
Starting Kernel
Uncompressing Linux
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
5
11270A–ATARM–20-Feb-14
6.
On-board Linux4SAM Demo - Memory Map
Figure 6-1.
NANDFlash Memory Map
Root FS (UBIFS)
0x800000
0x200000
0x180000
0x100000
0x0C0000
0x0400000
0x000000
Linux Kernel
Device Tree (DTB)
U-Boot Env.
Redundant
U-Boot Env.
U-Boot
AT91Bootstrap
NAND FLASH
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
6
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:
Windows® XP (or later) or a Linux distribution
Micro-AB to TypeA USB Device cable
Atmel SAMA5D3 Xplained board
An optional USB/Serial DBGU port bridge, e.g., FTDI TTL-232R-3V3 USB to TTL serial cable
Figure 7-1.
SAMA5D3 Xplained Board Overview
USB Host Interfaces
USB A Device
And Supply Input
(J6)
ATSAMA5D36
CU
1401
A
ARM
XXXXXXXXXX
GigaBit Ethernet
Ethernet 10/100
Blue Led
(Power Indicator)
SAMA5D3 PLAINED
X
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.
Parameter
Baud Rate
Data
Serial Communication Port Parameters
Parameter Value
115200
8 bits
None
1 bit
Parity
Stop
Flow Control
None
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
7
11270A–ATARM–20-Feb-14
8.
Accessing the Linux Console
The Linux console is accessed through the USB device (also known as “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.
$ dmesg
[..]
[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
[73507.281422] usb 1-1.1.1: 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: ttyACM0: USB ACM device
The CDC driver is used and you can see that a /dev/ttyACM0 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/ttyACM0
picocom v1.7
port is : /dev/ttyACM0
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
receive_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.
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
8
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 Panel“ 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
5. Right-click on the “Gadget Serial V2.4 “ device and choose the “Update Driver Software...” option.
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. On the 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
10. Run a 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/ttyGS0
SAMA5D3 Xplained login: root
root@SAMA5D3 Xplained:~#
12. You are now ready to go with the on-board Linux system.
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
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.
SAMA5D3 Xplained Getting Started [APPLICATION NOTE]
10
11270A–ATARM–20-Feb-14
Atmel Corporation
Atmel Asia Limited
Atmel Munich GmbH
Atmel Japan G.K.
1600 Technology Drive
Unit 01-5 & 16, 19F
Business Campus
16F Shin-Osaki Kangyo Bldg
San Jose, CA 95110
USA
BEA Tower, Millennium City 5
418 Kwun Tong Road
Kwun Tong, Kowloon
HONG KONG
Parkring 4
1-6-4 Osaki, Shinagawa-ku
Tokyo 141-0032
D-85748 Garching b. Munich
GERMANY
Tel: (+1) (408) 441-0311
Fax: (+1) (408) 487-2600
www.atmel.com
JAPAN
Tel: (+49) 89-31970-0
Fax: (+49) 89-3194621
Tel: (+81) (3) 6417-0300
Fax: (+81) (3) 6417-0370
Tel: (+852) 2245-6100
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 STATUTORY 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.
相关型号:
ATSAMA5D31A-CU
The Atmel SAMA5D3 series is a high-performance, power-efficient embedded MPU based on the ARM® Cortexâ¢-A5 processor, achieving 536 MHz with power consumption levels below 0.5 mW in low-power mode.
ATMEL
ATSAMA5D33A-CU
The Atmel SAMA5D3 series is a high-performance, power-efficient embedded MPU based on the ARM® Cortexâ¢-A5 processor, achieving 536 MHz with power consumption levels below 0.5 mW in low-power mode.
ATMEL
ATSAMA5D34A-CU
The Atmel SAMA5D3 series is a high-performance, power-efficient embedded MPU based on the ARM® Cortexâ¢-A5 processor, achieving 536 MHz with power consumption levels below 0.5 mW in low-power mode.
ATMEL
ATSAMA5D35A-CU
The Atmel SAMA5D3 series is a high-performance, power-efficient embedded MPU based on the ARM® Cortexâ¢-A5 processor, achieving 536 MHz with power consumption levels below 0.5 mW in low-power mode.
ATMEL
©2020 ICPDF网 联系我们和版权申明