AT91SAM9260-EK Atmel, AT91SAM9260-EK Datasheet
AT91SAM9260-EK
Specifications of AT91SAM9260-EK
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 ...