SAMA5D3x-CM Instruction to program images with PEEDI

Similar documents
By: Yushi Wang Partners: Shen Yue and Yubing Xu Group 6. How to Setup Pandaboard ES Software Environment for UAV Project

Xinu on Intel Galileo User Manual

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time.

ELE409 SPRING2018 LAB0

Getting Started with BeagleBoard xm

Pengwyn Documentation

How to download a new Linux O/S Image File

Development Environment Embedded Linux Primer Ch 1&2

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP...

OVERDRIVE Quick Start Guide. v.1.0

MP01 Quick Start Guide

ITEC451 Network Design & Analysis Laboratory Guide: Appendix

400AP Application Note Uploading Firmware Images to 400AP NAND Flash Models

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017

Lab Authentication, Authorization, and Accounting

An Autonomous Underwater Vehicle CPU Programming How To Guide

Installing the Operating System or Hypervisor

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11

SP40Plus Flash Memory Dow nload Procedure

Matrix 500 Quick Installation Guide

CS-541 Wireless Sensor Networks

Upgrading Software and Firmware

Booting Quest on Intel Galileo

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

Labs instructions for Enabling BeagleBone with TI SDK 5.x

IndustrialPro Routers (SN/RAM Series)

Itron Riva Dev Mini Kit Getting Started Guide

Getting Started with PetaLinux SDK

Lab 3a Using the vi editor

TFC-1600MM Media Conversion System. Management Configuring Guide

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

cpouta exercises

utile PuTTY User Interface Manual Revision 0 Date: 2016 April 6

Installation of RedHawk on Jetson TX1, TX2 and TX2i Development Boards Release Notes

idirect Technical Note 1. INTRODUCTION 2. DIFFERENCES BETWEEN INFINITI AND NETMODEM II+ SERIES

Adafruit's Raspberry Pi Lesson 6. Using SSH

U-Boot and Linux Kernel Debug using CCSv5

Nova series update F/W & Boot code from Boot Utility

CIS 192 Linux Lab Exercise

Hardware Assisted Debug with Embedix Linux

Starting the KVM Console

Sputnik Installation and Configuration Guide

Lab Working with Linux Command Line

Configuring Ubuntu to Code for the OmniFlash or OmniEP

Blackfin cross development with GNU Toolchain and Eclipse

Ftp Get Command Line Windows 7 Bootable Usb

Initial flashing instruction

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit

Lenovo RackSwitch G8272. Release Notes. For Networking OS 8.2

User Manual. Thermo Scientific Orion

Lenovo Flex System SI Gb System Interconnect Module. Release Notes. for Networking OS 8.2

Contents. Platform Compatibility. New Features. Secure Remote Access SonicWALL SSL VPN 2.5 Early Field Trial (EFT) for SSL-VPN 200

STEP 1: PREPARE FOR DATA MIGRATION 1. Right-click the desktop and choose New > Folder. a. Type For Transferring and press Enter to name the folder.

Gateworks_Avila/Cambria_Installation. Please note: The details in these instructions apply specifically to the GW board.

How Do I Recover infiniti Remotes and Line Cards?

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

i.mx31 3-Stack Platform Linux SDK Standard Release Package User s Guide

EX L-8 User Guide

SOFT-AM-0081_R3. AX3800S/AX3600S Software Upgrade Guide

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Configuring Basic File Transfer Services

M-508 Quick Installation Guide. Screw: Φ 3 mm

Managing Controller Software and Configurations

UPDATING THE FIRMWARE IN FRAME BASED MODULES...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Installing Connector on Linux

First Steps. DNP/SK18 Embedded Linux Starter Kit

Bitnami Apache Solr for Huawei Enterprise Cloud

Installing MediaWiki using VirtualBox

Jade IdeaBoxx. The quickstart kit to jumpstart development. Fujitsu Semiconductor America Inc.

MB/ Starter Kit: First Steps

DNP/2110 Linux Starter Kit: First Steps

DRIVER STATION v1.0 UTILITY LOADER Created: 22DEC2008 FIRST DRIVER STATION UTILITY LOADER RE-IMAGE INSTRUCTIONS

USB to Serial Adapter Driver Installation Manual

EKI-1500 Trouble Shooting when using Linux VCOM driver

User s Manual. Hi-Speed USB 2.0 Flash Disk

EM210 Burn Linux Image Manual. Catalogue

MontaVista Linux Preview Kit for Professional Edition 2.1 for the MIPS Technologies, Inc. Malta 4KC and 5KC (Big-Endian)

L2+ Managed Metro Ethernet Switch MGSW / MGSD Series

Format and Lock Utility User Manual (v2.0) USB 2.0 Flash Disk

Product Family: Networking Hardware Number: AN-NH-012

XLink Kai Raspberry Pi Beginners Tutorial

SonicWALL SSL VPN 2.5 Early Field Trial

W90N745 BSP Quick Start Guide

10/02/2015 PetaLinux Image with Custom Application

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

Lab Using the Boot System Command. Objective. Background/Preparation

10/02/2015 PetaLinux Linux Image Network Connection

USB-to-Serial Access 6330-MX

Reset the Admin Password with the ExtraHop Rescue CD

INSTRUCTIONS TO UPDATE FIRMWARE FOR

Setting Up and Using WebDrive

TRUEGRID WINDOWS INSTALLATION/LICENSING/UPGRADES

VIRTUALIZATION MANAGER ENTERPRISE EDITION GETTING STARTED GUIDE. Product: Virtual Iron Virtualization Manager Version: 4.2

Quick Guide. Full Install on Hog 4 OS Consoles Jan 4, 2017

Performing Maintenance Operations

First Steps. esom/sk5 esom/3517 Embedded Linux Starter Kit

DSH-G300 Smart Hub. Manual

Bitnami MEAN for Huawei Enterprise Cloud

Super USB. User Manual. 2007, March

Transcription:

SAMA5D3x-CM Instruction to program images with PEEDI 1) To begin programing with PEEDI you need to prepare some cables and install a terminal emulation software 1.1 First ensure that you have installed minicom on your sysem. Use the following command to do so: sudo apt-get install minicom 1.2 Ensure that you have the following: - RS232 to (USB or RS232) - Ethernet Cable - J-Tag Cable - Power Supply (x2) 1.3 Connect to the PEEDI a Ethernet cable and a RS232 cable and both go to the HOST PC's corresponding ports. 1.4 Connect the J-Tag to PEEDI and to the target. 1.5 Power on PEEDI and the target board. NOTE: These steps, are most probably detailedly explained, in the appended manual and instruction guides that come with the PEEDI package. 2) Configuring Minicom 2.1 Open a Terminal and launch minicom ( sudo minicom -s ). Figure 1: Minicom Configuration Panel in Terminal 2.2 Go to Serial Port Setup and Enter 2.3 Adjust your window to look like the one shown in the figure below NOTE: For option A specify at which COM port you connected your RS232

NOTE: If you connected a USB to the Host PC then do dmesg and observe the last line when you plug the USB connector (example A Serial Device : /dev/ttyusb0 ) TIP: Use dmesg grep ttys in a new Terminal to see the available COM ports of your PC Figure 2: Serial Port Setup sub-menu 2.4 When your done configuring please press Enter to exit this menu. Then use Exit to exit from minicom's configuration menu and initialize the connection. 3) Enter and Configure RedBoot mode. 3.1 Restart PEEDI holding pressed both front panel buttons to enter RedBoot mode. 3.2 Use fconfig to setup the network configurations. You will need to setup a TFTP server at your host PC and specify a directory used for obtaining the target configuration files for the boards you use for targets. See the following link for seting up TFTP on a Linux OS. The commands may vary depending on your distribution,but the principal is the same: http://www.webune.com/forums/how-to-install-tftp-server-in-linux.html 3.3 While doing the steps after entering fconfig, follow along by default network configurations. 3.4 You will also need to download the target configuration file to your TFTP directory which usually is tftpboot. Do the following in a terminal 3.4.1 Go to the following link: http://download.ronetix.info/peedi/cfg_examples/ 3.4.2 Chose the appropriate processor core and then your target board. 3.4.3 Get the link for the specific board. For example: http://download.ronetix.info/peedi/cfg_examples/cortex-a/atsama5d3.cfg

3.4.4 In a new Terminal use cd and go to the tftpboot or similar directory and do: wget http://download.ronetix.info/peedi/cfg_examples/cortex-a/atsama5d3.cfg This will download the file so that PEEDI can obtain it any time you connect it to the specific board. 4) Restart PEEDI and connect to the target 4.1 Restart PEEDI using only the backplane button. It will initialize the configured connection and try to obtain the target configuration file. 4.2 When the file is loaded you will receive a Terminal prompt corresponding to the board you are using. This means you can now communicate with the board's memory NOTE: If you were unable to reach the sever or any other case than the above mentioned, you most probably need to reconfigure the network. Restart PEEDI for RedBoot mode. Refer to section 3) from this document. 5) Briefs overview of the needed commands for this session 5.1 The command flash set n is used to set which section of the flash memory you will be programing or performing any operations on. The n stands for any number usually starting from 0 up to 4.The flash memory is normally divided into sections for each system bootup element such as the bootstrap,u-boot,kernel,device tree and root file system. 5.2 The command flash erase will erase all the Flash memory so be sure that you want to perform this operation. Normally you will use it if you have some old code and want to replace it or have some nonworking images and want to program new ones. 5.3 The command flash program is used when you want to upload a specific boot-up element to a given flash section ( flash set ). For example you want to upload a bootstrap which is the first element of the system boot-up requirements. It is located in your tftpboot directory. Here is an example of how you would do so: flash erase flash set 0 flash program tftp://192.168.22.105/bootstrap.bin 0x00000000 (command) (address to your host PC and image) (address on flash memory) 5.4 The command target detach and target attach are used to simulate disconnection of the J-Tag cable. This is required to be able to test your programed images and observe response from the board in the Minicom Terminal. NOTE: The PEEDI target prompt provides a help for each command it holds so you can understand more if you need to perform other options. These commands will be enough to let

you program the given images to your target. 6) Flashing images to target 6.1 Clearing target memory and flash bootstrap. Do the following steps: flash set 2 => flash erase => flash set 0 => flash program tftp://your host-pc ip address/full name of bootstrap file 0x00000000 Tip: Here is an example command flash program tftp://192.168.22.105/bootstrap.bin 0x00000000 6.2 Flash u-boot flash set 1 flash program tftp://192.168.22.105/u-boot.bin 0x000C0000 6.3 Flash Kernel flash set 2 flash program tftp://192.168.22.105/sama5d3xek.itb bin 0x00300000 6.4 Flash RootFS flash set 3 flash program tftp://192.168.22.105/rootfs.ubi bin 0x00F80000 NOTE: Notice that the image which is to be uploaded is not a.bin file so we will specify its type as shown above 7) Testing the Board 7.1 Now do target detach 7.2 Now restart the board Known Issues: If you encounter a system halt at the following point of the boot process: Calibrating delay loop... (this message is form the console). Assure that you have detached the programing interface connection. The solution is to do a Power Cycle of the board. Hopefully it will boot up correctly 7.3 You should reach the login prompt. Use root as login name with no password

7.4 Try uploading and running an application. Do the following steps: - tftp -g -r /tftpboot/name_of_application -l name_to_receive_on_board address_of_host_pc Here is an example: - tftp -g -r /tftpboot/sama5d3xek/stud_app -l application_1 192.168.22.105 - ls (to list and view if application is uploaded) - chmod u+x name_of_ap (chmod u+x application_1) to change its permissions -./name_of_app (./application_1) to run it.