\hypertarget{index_intro}{}\section{Introduction}\label{index_intro}
This application is an example of how to execute a single function as well as complete binary from external SDRAM. The code has been tested on EVK1100, EVK1104 and UC3C-\/EK

For executing a single function:

Set EXECUTE\_\-FUNCTION\_\-IN\_\-SDRAM to 1 in conf\_\-sdram.h (EXECUTE\_\-CODE\_\-IN\_\-SDRAM to 0) In case of GCC the function \char`\"{}test\_\-function\_\-in\_\-sdram()\char`\"{} would be placed in SDRAM during runtime and would be executed. It is a simple function which turns ON the four LED's

For copying and executing complete binary from SDRAM

Set EXECUTE\_\-CODE\_\-IN\_\-SDRAM to 1 in conf\_\-sdram.h (EXECUTE\_\-FUNCTION\_\-IN\_\-SDRAM to 0) The example binary \char`\"{}external\_\-sdram\_\-binary.bin\char`\"{} can be loaded either from external dataflash as well as SD/MMC card. Select BOOT\_\-OPTION = DATA\_\-FLASH to copy bin file from Data flash Select BOOT\_\-OPTION = SD\_\-MMC\_\-CARD to copy bin file from SD MMC card and then build the project. To copy the bin file to Data Flash,download the USB Mass Storage example in the on the EVK1104 kit.Perform a hard reset. The data flash (8 MB) will appear as disk drive on your Computer (PC). Copy the external\_\-sdram\_\-binary.bin file to disk drive represented by Data Flash. The same method can be used to copy bin file to SD/MMC card

Make sure to name the externally generated binary as \char`\"{}external\_\-sdram\_\-binary.bin\char`\"{} since this has been hard coded.\hypertarget{index_compileinfo}{}\section{Compilation Information}\label{index_compileinfo}
This software is written for GNU GCC for AVR32 and IAR\hypertarget{index_deviceinfo}{}\section{Device Information}\label{index_deviceinfo}
All AVR32 devices with EBI and SDRAMC can be used.\hypertarget{index_configinfo}{}\section{Configuration Information}\label{index_configinfo}
This example has been tested with the following configuration:
\begin{DoxyItemize}
\item EVK1104 evaluation kit;
\item CPU clock: -\/-\/ 12 MHz : EVK1104 evaluation kit;
\end{DoxyItemize}


\begin{DoxyItemize}
\item UC3C\_\-EK evaluation kit;
\item CPU clock: -\/-\/ 16 MHz : UC3C\_\-EK evaluation kit;
\end{DoxyItemize}

SDRAM should be initialized with same speed as Main Clock for CPU\hypertarget{index_contactinfo}{}\section{Contact Information}\label{index_contactinfo}
For further information, visit \href{http://www.atmel.com/products/AVR32/}{\tt Atmel AVR32}.\par
 Support and FAQ: \href{http://support.atmel.no/}{\tt http://support.atmel.no/} 