- AT91SAM Training SAM9 Boot Strategies Frederic BOYER AT91 Support Group. Version 1.0 October 2006 AT91 Support Group. Version 2.0.2 June 2007.

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

Chapter 2 HARDWARE SUMMARY
Motherboard, BIOS and POST The external data bus connects devices on the motherboard together. Everything is also connected to the address bus. These busses.
SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006.
Slide 1 Freescale Semiconductor. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are.
SAM9263-EK RevB WinCE 6.0 DEMO (All-in-NAND) AT91 SAM9 Product Group. Version 1.1 May 2008.
COMP3221 lec31-mem-bus-I.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lectures 31: Memory and Bus Organisation - I
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
The 8051 Microcontroller Architecture
AT91SAM Boot Strategies Application Deployment
NS Training Hardware. Memory Interface Support for SDRAM, asynchronous SRAM, ROM, asynchronous flash and Micron synchronous flash Support for 8,
NS Training Hardware. System Controller Module.
3-1 System peripherals & Bus Structure Memory map of the LPC2300 device is one contiguous 32-bit address range. However, the device itself is made up of.
Hardware Overview Net+ARM – Well Suited for Embedded Ethernet
Camera Interfacing using ARM7
Microprocessor Block Diagram
Lesson 3 — How a Computer Processes Data
AT91SAM9261-EK WinCE 6.0 DEMO ATMEL AT91 Application & Support Group
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
Computer Processing of Data
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
LPC2148 Programming Using BLUEBOARD
DOS  In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft:
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
RB - EPFL/IC/LAP - A FPGARM4U LAP/I&C/EPFL Chargé de cours LSN/EIG Prof. HES Filippo Rusco, Yorick Brunet.
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
2009 Sep 10SYSC Dept. Systems and Computer Engineering, Carleton University F09. SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices 7.2.
The Mechanics Of Computers The Operating System (OS) & Hardware.
CDR- Digital Audio Recorder/Player Brian Cowdrey Mike Ingoldby Gaurav Raje Jeff Swetnam.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
RL78 Code & Dataflash.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
AT91 Memory Interface. 2 Features –Up to 8 programmable chip select lines –Remap Command allows dynamic exception vectors –Glue-less for both 8-bit and.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
System Integration Module MTT Motoola SYSTEM INTEGRATION MODULE (SIM)
AT91 C-startup. 2 For reasons of modularity and portability most application code for an embedded application is written in C The application entry point.
AT91Bootstrap. Introduction Device initialization such as clock speed configuration, PIO settings, etc. Peripheral drivers such as PIO, PMC, SDRAMC, etc.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
AT91SAM7L Enhanced Embedded Flash Controller. ARM-Based Products Group 2 EEFC Features 64KB or 128KB single plane memory organized in several pages 128-bit.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
Components of a typical full-featured microcontroller.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
DATE S. S.. Sandstone The sandstone carries out the following tasks: 1. Set up target platform environment, 2. Load a bootable image into memory, 3. Relinquish.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
Chap. 4 ARM Boot Loader Internals. 2 S3C2500 ARM940T Core module ARM9TDMI CoreIC.
2D-Graphic Accelerator
AT91SAM: ARM-based controllers
Popular Microcontrollers and their Selection by Lachit Dutta
CC2430 module Jinho Son Real-Time System Lab.
TOPIC : USB FLASH DRIVE. May E.Al-Hajri. Intro Information Technology.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
Computer Organization
NS Training Hardware.
ADSP 21065L.
Presentation transcript:

- AT91SAM Training SAM9 Boot Strategies Frederic BOYER AT91 Support Group. Version 1.0 October 2006 AT91 Support Group. Version June 2007

- AT91SAM Training ARM-Based Products Group 2 SAM9 BootROM Memory SAM9 devices feature on-chip BootROM memory BootROM memory can contain up to 4 applications:  SAM-BA Boot -Provides In-System Programming Solutions through serial or USB communication channels  DataFlash-Boot  NandFlash-Boot  SDCard-Boot

- AT91SAM Training SAM9261

- AT91SAM Training ARM-Based Products Group 4 SAM9261 Internal Memory Mapping (for Master 0 & 1*) ROM mapped by default RAM Undefined Area (No abort) ROM 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_0000 0x0050_0000 RAM EBI NCS0 ROM 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_0000 0x0050_0000 * Master 0  ARM926 Instruction & Master 1  ARM926 Data 16-bit non-volatile Memory BMS=1 BMS=0 Undefined Area (No abort)

- AT91SAM Training ARM-Based Products Group 5 SAM9261 Embedded ROM SAM-BA Boot Power Up BMS = 1 Boot From External Memory on EBI Chip Select 0 User Application YesNo DataFlash-Boot on SPI0 Chip Select 0 Valid Code ? (SPI0 NPCS0) Yes No Downloads and runs code from Dataflash into SRAM Boot From ROM Boot From External Flash

- AT91SAM Training SAM9260

- AT91SAM Training ARM-Based Products Group 7 SAM9260 Internal Memory Mapping (for Master 0 & 1*) ROM mapped by default SRAM1 4KB ROM SRAM0 4KB 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_0000 SRAM1 4KB ROM EBI NCS0 SRAM0 4KB 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_ bit non-volatile Memory BMS = 1BMS = 0 * Master 0  ARM926 Instruction & Master 1  ARM926 Data

- AT91SAM Training ARM-Based Products Group 8 SAM9260 Embedded ROM SAM-BA Boot Power Up BMS = 1 Boot From External Memory on EBI Chip Select 0 User Application YesNo Boot From ROM NandFlash-Boot on EBI Chip Select 3 DataFlash-Boot on SPI0 Chip Select 0 DataFlash-Boot on SPI0 Chip Select 1 Optional Boot From External Flash

- AT91SAM Training ARM-Based Products Group 9 SAM9260 Embedded ROM (cont.) Yes No Downloads and runs code into SRAM Yes No Yes Valid Code ? (SPI0 NPCS0) Valid Code ? (SPI0 NPCS1) Valid FAT12/16 ? (EBI NCS3) Valid Code ? (EBI NCS3) No Boot From ROM SAM-BA Boot DataFlash-Boot NandFlash-Boot SAM-BA Boot

- AT91SAM Training SAM9263

- AT91SAM Training ARM-Based Products Group 11 SAM9263 Internal Memory Mapping (for Master 7 & 8*) ROM mapped by default 80kB SRAM Undefined Area (No abort) ROM 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_0000 0x0050_ kB SRAM EBI NCS0 ROM 0x0000_0000 0x0010_0000 0x0020_0000 0x0030_0000 0x0040_0000 0x0050_0000 * Master 8  ARM926 Instruction & Master 7  ARM926 Data 16-bit non-volatile Memory BMS=1 BMS=0 Undefined Area (No abort) 0x0060_ kB SRAM 0x0060_ kB SRAM

- AT91SAM Training ARM-Based Products Group 12 SAM9263 Embedded ROM SAM-BA Boot Power Up BMS = 1 Boot From External Memory on EBI0 Chip Select 0 User Application YesNo Boot From ROM NandFlash-Boot on EBI0 Chip Select 3 SD Card Boot on MCI1 DataFlash-Boot on SPI0 Chip Select 0 Optional Boot From External Flash Not Supported on SAM9263 rev A

- AT91SAM Training SAM-BA Boot DataFlash-Boot NandFlash-Boot SDCard-Boot

- AT91SAM Training ARM-Based Products Group 14 SAM9 SAM-BA Boot 1.Device Initialization 2.Check if USB Device enumeration (End of Bus Reset) has occured 3.Check for a received character on the DBGU or Check if the AutoBaudrate sequence has succeeded 4.Step 2. and 3. until one occurs 5.Once the communication interface is identified, the application runs in an infinite loop waiting for different commands AT91SAM Dependant

- AT91SAM Training ARM-Based Products Group 15 SAM-BA Boot (cont.)  AT91SAM9261 & AT91SAM9263: No AutoBaudrate See. SAM9261 & SAM9263 SAM-BA Boot Requirements

- AT91SAM Training ARM-Based Products Group 16 SAM-BA Boot (cont.)  SAM9261 SAM-BA Boot Requirements: Supported Quartz (MHz) (Main Oscillator Enabled) Supported Ext. Clocks (MHz) (Main Oscillator Bypassed) None USB Device (UDP) Pull-up Management Handled by SAM-BA Boot No PIO driven Internal UDP Pull-up Enabled DBGU & USB

- AT91SAM Training ARM-Based Products Group 17 SAM-BA Boot (cont.)  SAM9263 SAM-BA Boot Requirements: Supported Quartz (MHz) (Main Oscillator Enabled) Supported Ext. Clocks (MHz) (Main Oscillator Bypassed) 1 to 50MHz USB Device (UDP) Pull-up Management Handled by SAM-BA Boot No PIO driven Internal UDP Pull-up Enabled DBGU & USB

- AT91SAM Training ARM-Based Products Group 18 SAM-BA Boot (cont.)  AT91SAM9260: See. SAM9260 SAM-BA Boot Requirements  On-chip RC (OSCSEL=0):  Hz Oscillator (OSCSEL=1): No AutoBaudrate AutoBaudrate Detection

- AT91SAM Training ARM-Based Products Group 19 SAM-BA Boot (cont.)  SAM-BA Boot AutoBaudrate Sequence: SAM9260 with On-chip RC Only

- AT91SAM Training ARM-Based Products Group 20 SAM-BA Boot (cont.)  On-chip RC (OSCSEL=0)  Main Oscillator Enabled (MOSCEN=1)  SAM9260 SAM-BA Boot Requirements: Any other crystal (3-20MHz) can be used, but it prevents using USB  On-chip RC (OSCSEL=0)  Main Oscillator Bypassed (OSCBYPASS=1) Any other input frequency (1-50MHz) can be used, but it prevents using USB DBGU & USB

- AT91SAM Training ARM-Based Products Group 21 SAM-BA Boot (cont.)  Hz Oscillator (OSCSEL=1) / Main Oscillator Enabled (MOSCEN=1)  Hz Oscillator (OSCSEL=1) / Main Oscillator Bypassed (OSCBYPASS=1)  SAM9260 SAM-BA Boot Requirements: DBGU & USB

- AT91SAM Training ARM-Based Products Group 22 SAM-BA Boot (cont.)  SAM9260 SAM-BA Boot USB Requirements: USB Device (UDP) Pull-up Management Handled by SAM-BA Boot No PIO driven Internal UDP Pull-up Enabled

- AT91SAM Training ARM-Based Products Group 23 DataFlash-Boot  Device Initialization  Search for valid code: First 8th arm vectors must be valid Decode the 6th vector (used to store code size)  If valid code found: Download code into the internal SRAM Reset peripherals Perform a remap Set PC at address 0x0000_0000

- AT91SAM Training ARM-Based Products Group 24 DataFlash-Boot Requirements µCSAM9260SAM9261SAM9263 MOSISPI0_PIOA1 MISOSPI0_PIOA0 SPCKSPI0_PIOA2 NPCS0SPI0_PIOA3 SPI0_PIOA5 NPCS1SPI0_PIOC11-- Maximum Downloadable Code Size4 kB156kB72kB

- AT91SAM Training ARM-Based Products Group 25 NandFlash-Boot  Device Initialization  Search for Boot.bin file in the root directory or in the FIRMWARE directory of a FAT12/16 formatted NandFlash  If valid file found: Download code into the internal SRAM Reset peripherals Perform a remap and set PC at address 0x0000_0000  If no FAT12/16 file system, search for valid code: First 8th arm vectors must be valid Decode the 6th vector (used to store code size)  If valid code found: Download code into the internal SRAM Reset peripherals Perform a remap and set PC at address 0x0000_ bit & 16-bit NandFlash Support Small & Large Blocks Support Not Supported on SAM9263 rev A

- AT91SAM Training ARM-Based Products Group 26 NandFlash-Boot Requirements µCSAM9260SAM9263 NandFlash Ready/BusyPIOC13PA22 NandFlash Chip Enable (NANDCS)PIOC14PD15 Address Bus (NAND CLE)A22 Address Bus (NAND ALE)A21 Maximum Downloadable Code Size (Minimum Nandflash First Block Size) 4 kB72kB Not Supported on SAM9263 rev A

- AT91SAM Training ARM-Based Products Group 27 NandFlash-Boot Requirements (cont.) NandFlash first block must be guaranteed to be valid without ECC (generally up to 1,000 Program/Erase cycles)  Supported NandFlash Manufacturers: Not Supported on SAM9263 rev A

- AT91SAM Training ARM-Based Products Group 28 SD Card Boot  Device Initialization  Search for Boot.bin file in the root directory or in the FIRMWARE directory of a FAT12/16 formatted SD Card  If valid file found: Download code into the internal SRAM Reset peripherals Perform a remap and set PC at address 0x0000_0000  If no FAT12/16 file system, search for valid code: First 8th arm vectors must be valid Decode the 6th vector (used to store code size)  If valid code found: Download code into the internal SRAM Reset peripherals Perform a remap and set PC at address 0x0000_0000 Not Supported on SAM9263 rev A

- AT91SAM Training ARM-Based Products Group 29 SD Card-Boot Requirements µCSAM9263 MCCKPA6 MCCDAPA7 MCDA0PA8 MCDA1PA9 MCDA2PA10 MCDA3PA11 Maximum Downloadable Code Size (Minimum Nandflash First Block Size) 72kB Not Supported on SAM9263 rev A