AT91SAM9260-EK Atmel, AT91SAM9260-EK Datasheet

KIT EVAL FOR AT91SAM9260

AT91SAM9260-EK

Manufacturer Part Number
AT91SAM9260-EK
Description
KIT EVAL FOR AT91SAM9260
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr

Specifications of AT91SAM9260-EK

Contents
Evaluation Board, Parallel Cable and CD-ROM
Processor To Be Evaluated
AT91SAM9260
Data Bus Width
32 bit
Interface Type
RS-232, Ethernet, USB
Core
ARM 9
Silicon Manufacturer
Atmel
Core Architecture
ARM
Core Sub-architecture
ARM926EJ-S
Silicon Core Number
AT91SAM9260
Silicon Family Name
ARM
Kit Contents
Board, Cables, CD, Power Supply
Rohs Compliant
Yes
For Use With/related Products
AT91SAM9260
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
1. Introduction
On the AT91SAM9260-EK revA board based on the 32-bit ARM
AT91SAM9260 microcontroller, both DataFlash
power up, the chip looks for a valid application in the DataFlash then in the
NANDFlash.
If there is a wrong image programmed in NAND Flash or in DataFlash, the board can
become non-responsive even to
There are three ways to solve the problem:
To prevent an incorrect image from being programmed into the Flash memory, it is
highly recommended to use the
power up cycle. This application integrates a recovery procedure activated when BP4
button is pressed.
2. Boot Sequence on the AT91SAM9260-EK
The Boot Program integrates different programs permitting download and/or upload
into the different memories of the product.
• Connect a DataFlash card containing a small application that erases the Flash
• Erase the Flash using a JTAG device.
• Remove resistors to disable the DataFlash and NAND Flash chip selects.
• First, it initializes the Debug Unit serial port (DBGU) and the USB Device Port.
• Then the DataFlash Boot program is executed. It looks for a sequence of eight
• If a valid sequence is found, code is downloaded into the internal SRAM. This is
• If no valid ARM vector sequence is found, the DataFlash Boot program is executed
• If no valid ARM vector sequence is found, NAND Flash Boot program is then
correctly.
valid ARM exception vectors in a DataFlash connected to the SPI. All these vectors
must be B-branch or LDR load register instructions except for the sixth vector. This
vector is used to store the size of the image to download.
followed by a remap and a jump to the first address of the SRAM.
on the second chip select.
executed. First, it looks for a boot.bin file in the root directory or in the FIRMWARE
directory of a FAT12/16 formatted NAND Flash. If such a file is found, code is
downloaded into the internal SRAM. This is followed by a remap and a jump to the
first address of the SRAM.
AT91SAM9260-EK SAM-BA Recovery
• If the NAND Flash is not formatted, the NAND Flash
Boot program looks for a sequence of eight valid ARM
AT91Bootstrap
SAM-BA
.
®
application to setup the system after
and NAND Flash are present. After
®
Thumb
®
based
AT91 ARM
Thumb
Microcontrollers
Application Note
6281A–ATARM–16-Nov-06

Related parts for AT91SAM9260-EK

AT91SAM9260-EK Summary of contents

Page 1

... AT91SAM9260-EK SAM-BA Recovery 1. Introduction On the AT91SAM9260-EK revA board based on the 32-bit ARM AT91SAM9260 microcontroller, both DataFlash power up, the chip looks for a valid application in the DataFlash then in the NANDFlash. If there is a wrong image programmed in NAND Flash or in DataFlash, the board can become non-responsive even to There are three ways to solve the problem: • ...

Page 2

... This is followed by a remap and a jump to the first address of the SRAM. • valid ARM vector sequence is found, SAM-BA Boot is then executed. It waits for transactions either on the USB device the DBGU serial port. The AT91SAM9260 Boot ROM sequence is shown in Figure 2-1. Boot Program Algorithm Flow Diagram ...

Page 3

... DataFlash, the NAND Flash or a formatted NAND Flash, it never reaches the SAM-BA Boot monitor. The AT91SAM9260-EK revA does not offer an easy way (jumpers) to disable the CS of these memories. An easy software workaround that offers an unconditional access to the SAM-BA Boot monitor consists in adding a recovery procedure in the bootstrap sequence ...

Page 4

... NAND Flash Boot Recovery board/at91sam9260ek/at91sam9260ek.c file. Figure 3-2. NAND Flash Recovery Procedure in the board/at91sam9260ek/at91sam9260ek.c file The same algorithm can be implemented in a custom bootstrap application. Application Note 4 /* Configure PIOs */ const struct pio_desc bp4_pio {"BP4", AT91C_PIN_PA(31), 0, PIO_PULLUP, PIO_INPUT}, {(char *) PIO_DEFAULT, PIO_PERIPH_A}, } ...

Page 5

Configure PIOs */ const struct pio_desc bp4_pio {"BP4", AT91C_PIN_PA(31), 0, PIO_PULLUP, PIO_INPUT}, {(char *) PIO_DEFAULT, PIO_PERIPH_A Configure the PIO controller */ writel((1 << AT91C_ID_PIOA), PMC_PCER + ...

Page 6

... The soldered DataFlash can be disabled on the AT91SAM9260-EK board by removing the R40 0 Ohm resistor. Location: Component side, next to the DataFlash (MN9) device. The soldered DataFlash can be disabled on the AT91SAM9260-EK board by removing the R36 0 Ohm resistor. Location: Solder side, opposite from the NAND Flash (MN6A1) device. ...

Page 7

... Loading AT91bootstrap-recovery in SRAM Using an ICE Interface ™ 4.2.3.1 Using SAM-ICE Connect the AT91SAM9260-EK to the host PC using a SAM-ICE. • Start SAM-BA and select \jlink\ARM0. • Select the SRAM frame set. • Select the dataflash-recovery_at91sam9260ek.bin in the “Send File Name” field. • Check that the address is 0x200000. ...

Page 8

... Using Other ICE Interfaces Connect the AT91SAM9260-EK to the host PC using an ICE interface. • Load the dataflash-recovery_at91sam9260ek.bin at the address 0x200000. • Set the PC to 0x200000. • Resume the execution. Application Note 8 6281A–ATARM–16-Nov-06 ...

Page 9

Revision History Table 5-1. Document Ref. Comments 6281A First issue 6281A–ATARM–16-Nov-06 Application Note Change Request Ref. 9 ...

Page 10

... 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 ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, 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 ...

Related keywords