****************************************************************************************************
This folder is associated with the Application Note


   	ADSP-CM40x Boot Time Optimization and Device Initialization(EE-359)  


that can be found at http://www.analog.com/ee-notes.

Date Created:	07/07/2015

****************************************************************************************************
CONTENTS

	1. DESCRIPTION
	2. VERSION INFORMATION
	3. DIRECTORY STRUCTURE
	4. EXTERNAL CONNECTIONS

****************************************************************************************************
1. DESCRIPTION

Boot_Optimization_Single_App directory provides blink project which performs processor optimization and initialization operations in __low_lev_init() function.  

         
User Configuration Macros:
==========================

In blink.c configure the PORT and PIN settings for LED 2
 
    ADSP-CM403F EZ-Kit:
      #define PORT  ADI_GPIO_PORT_B
      #define PIN   ADI_GPIO_PIN_4

    ADSP-CM408F EZ-Kit:
      #define PORT  ADI_GPIO_PORT_E
      #define PIN   ADI_GPIO_PIN_6

    Configure CCLK/SCLK in Project options> C/C++ Compiler> Preprocessor> Defined Symbols
	CCLK_SCLK_225_100
	CCLK_SCLK_240_96
	CCLK_SCLK_240_80
	CCLK_SCLK_200_100

Boot Mode:
=================
    SW1 - Set the Boot Mode rotary switch to position 1 

****************************************************************************************************
2. VERSION INFORMATION

Tested on:

IDE: 	  IAR Embedded Workbench for ARM 7.40.1
Hardware: ADSP-CM408F EZ-KIT board revision 0.2, BOM Revision 0.7
    	  ADSP-CM403F EZ-Kit board revision 1.0, BOM Revision 0.7
	  Silicon Revision H

****************************************************************************************************
3. DIRECTORY STRUCTURE
		
- Boot_Optimization_Single_App

	init_cgu.c - Initializes CGU.
	init_cgu.h - Initializes CGU.
	init_dpm.c - Initializes DPM.
	init_dpm.h - Initializes DPM.
	init_mem.c - Configures memory and code partioning.
	init_mem.h - Configures memory and code partioning.
	init_spi.c - Configures SPI flash.
	init_spi.h - Configures SPI flash.
	proc_init.c - Initializes processor optimization technique. 
	proc_init.h - Initializes processor optimization technique. 
	blink_CM403F.c - Led blink code for CM403F.
	blink_CM408F.c - Led blink code for CM408F.
	test_data.h - Configures test Data.
	__low_lev_init.c - It is called early in the runtime startup sequence.  

****************************************************************************************************
4. EXTERNAL CONNECTIONS

None



            



	