/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name          : Readme.txt
* Author             : MCD Application Team
* Version            : V4.0
* Date               : 10/09/2007
* Description        : Description of the EMI Example.
********************************************************************************
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/

Example description
===================
 This example shows how to use the EMI (External Memory Interface).
 The main program configures the EMI Bank 1 (external SRAM) and writes 16 words
 in the external SRAM, then displays the content of the the first 16 content of 
 the SRAM in the Windows hyperterminal. 

 It is made as following steps :
   - Configures P2.1, P2.4, P2.5, P2.6, P2.7 pins corresponding respectively to  
     CS.1, A20, A21, A22, A23 EMI lines.
   - Configures EMI bank 1: 15 wait states, 16-bit wide external memory device.
   - Enables EMI Bank 1.
   - Writes 16 words starting from 0x62000000.
   - Display on Windows hyperterminal, the content of the SRAM from
     0x62000000 address to 0x6200001F to verify if the data were written 
    correctly.
   - When the EMI bank1 is disabled, all bytes displayed are 0x00.
      
 
Directory contents
==================
 71x_conf.h  Library Configuration file
 71x_it.c    Interrupt handlers
 71x_it.h    Interrupt handlers header file
 main.c      Main program
  

Hardware environment
====================
Connect the COM A port on the STR71x-Eval board (mb393) using a serial link to a PC
- Hyperterminal configuration:
    - Word Length = 8 Bits
    - 1 Stop Bit
    - No parity
    - BaudRate = 9600 baud
    - flow control: None  

How to use it
=============
In order to make the program work, you must do the following :
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files :
  + 71x_lib.c
  + 71x_emi.c
  + 71x_apb.c
  + 71x_gpio.c
  + 71x_uart.c
  + 71x_rccu.c

- Link all compiled files and load your image into either RAM or Flash
- Run the example


******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****
