The Atmel AIC interrupt controller provides vectored interrupts through the AIC. Because of this, and because of the REMAP command usually required to set up the chip select units and to place RAM at address zero, the usual INITARM.FTH file is not used for CPU initialisation, and the file INTARM.FTH for the interrupt handlers is not required.
Each Atmel AT91 variant uses a CPU specific start up file INITxxxx.FTH which enables enough of the chip to perform the REMAP command and to waggle an LED pin on the Atmel EVBs.
In the case of an application file the boot loader has copied the memory image into RAM at 0201:0000 and executed the code at 0201:0000. It is assumed that all REMAPping
If the application is transferred to system using Xmodem transfer with Hyperterm, the binary should be forced to be a multiple of 128 bytes in size.
The initialisation code generates the following memory map:
on-chip 0000:0000 - 8k SRAM
Flash 0100:0000 - 2Mb Flash
external 0200:0000 - 256k SRAM
The first 64k of RAM is reserved for the boot code, which is run from SRAM for speed and to avoid Flash programming problems. Application extension programs are run from RAM at 0201:0000. Providing that extension programs make no use of boot code, they may use the 64k of SRAM at 0200:000.
Next are included the I2C serial EEPROM and SPI DataFlash drivers.