basic-dataflash-project
Default mainpagebasic-dataflash-project
Description Graph
basic-dataflash-project
 
Purpose
The Basic Dataflash project will help new users get familiar with SPI interface on Atmel's AT91 family of microcontrollers. This project gives you an AT45 Dataflash programming code so that can help develop your own SPI devices applications with maximum efficiency.

You can find following information depends on your needs:
See also

Requirements
This package can be used with all Atmel evaluation kits that have SPI interface and on-board or external Serialflash connected. The package runs at SRAM or SDRAM, so SDRAM device is needed if you want to run this package in SDRAM.

Description
The demonstration program tests the dataflash present on the evaluation kit by erasing and writing each one of its pages.

Usage
  1. Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. Upon startup, the application will output the following lines on the DBGU.
    -- Basic Dataflash Project xxx --
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    -I- Initializing the SPI and AT45 drivers
    -I- At45 enabled
    -I- SPI interrupt enabled
    -I- Waiting for a dataflash to be connected ...
    
  5. As soon as a dataflash is connected, the tests will start. Eventually, the test result (pass or fail) will be output on the DBGU.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c