at91sam9g20-cu ATMEL Corporation, at91sam9g20-cu Datasheet - Page 71

no-image

at91sam9g20-cu

Manufacturer Part Number
at91sam9g20-cu
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9G20-CU
Manufacturer:
Atmel
Quantity:
5
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
188
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
705
Company:
Part Number:
AT91SAM9G20-CU
Quantity:
4
13. AT91SAM9G20 Boot Program
13.1
13.2
6384B–ATARM–15-Dec-08
Overview
Flow Diagram
The Boot Program integrates different programs that manage download and/or upload into the
different memories of the product.
First, it initializes the Debug Unit serial port (DBGU) and the USB High Speed Device Port.
The Boot program tries to detect SPI flash memories. The Serial Flash Boot program and Data-
Flash
vectors in a Serial Flash or 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.
If a valid sequence 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.
If no valid ARM vector sequence is found, NAND Flash Boot program is then executed. The
NAND Flash Boot program looks for a sequence of seven valid ARM exception vectors. If such a
sequence 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.
If no valid ARM exception vector is found, the SDCard Boot program is then executed. It looks
for a boot.bin file in the root directory of a FAT12/16/32 formatted SDCard. 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.
If the SDCard is not formatted or if boot.bin file is not found, TWI Boot program is then executed.
The TWI Boot program searches for a valid application in an EEPROM memory. 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.
If no validapplication is found, SAM-BA Boot is then executed. It waits for transactions either on
the USB device, or on the DBGU serial port.
The Boot Program implements the algorithm in
®
Boot program are executed. It looks for a sequence of seven valid ARM exception
AT91SAM9G20 Preliminary
Figure
13-1.
71

Related parts for at91sam9g20-cu