?? readme.txt
字號:
-------------------------------------------------------------------------------
Example: SPI Flash Programmer
Target: ADSP-21369
Date: July 29, 2005
Tools: VisualDSP++ 4.0
Hardware: ADSP-21369 EZ-KIT LITE
-------------------------------------------------------------------------------
This project provides assembly code capable of programming the entire Atmel AT25F512
SPI-Flash that is included with the ADSP-21369 Ez-kit Lite.
The code illustrates the method used to access the on-board SPI Flash which is
connected to the SPI port using flag 0 as the chip select. This code uses SPI Mode 3.
Callable subroutines are provided for all of the following functions as provided by
the Flash:
Write Enable
Write Disable
Read Status Register
Write Status Register
Read
Program
Sector Erase
Chip Erase
Read Device ID
The included main routine will program a buffer to the flash, and read it back for
verification. Set breakpoints at main.end, and error_detected.end, and the DSP will
halt when it reaches the end of the code, indicating whether any errors were
encountered.
-------------------------------------------------------------------------------
Instructions: To change the file to be programmed to the flash, simply add your file
to the project directory and change the name of the file to be included in the
SPIflash.h file. By default, this project expects the input file to be generated
by the Loader Utility provided by VisualDSP using SPI Flash 32-bit ASCII format.
-------------------------------------------------------------------------------
Source Files contained in this directory:
Atmel SPI Flash Programmer.dpj VisualDSP project file
SPIflash.asm ADSP-21369 source - SPI Flash Subroutines
buffers.asm ADSP-21369 source - Buffer declarations
initSRU.asm ADSP-21369 source - Route SPI signals in the DPI
main.asm ADSP-21369 source - SPI Flash Subroutines
21369_IVT.asm Interrupt Vector Table
SPIflash.h Header File - Macro Definitions
ADSP-21369-EZKIT.ldf Linker description file
input.ldr Loader file to burn into the Flash
-------------------------------------------------------------------------------
Dependencies contained in VisualDSP++ default include path:
def21369.h Header file with generic definitions
sru.h Header file with DAI/DPI definitions
*******************************************************************************
Analog Devices, Inc.
DSP Division
One Technology Way
Norwood, MA 02062
(c) 2005 Analog Devices, Inc. All rights reserved.
*******************************************************************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -