
readme.txt for BF518FEzFlashDriver_SST25WF040.dpj

ADSP-BF518F EZ-Board Flash Programmer Driver for internal SST SST25WF040 SPI flash
and Spansion S25FL116K SPI Flash

Date Modified: August 23, 2013

Test history:
	- Last tested August 23, 2013
	- VisualDSP 5.0 Update 6
	- ADSP-BF518F EZ-Board Rev 1.0

Added support for Spansion S25FL116K replacement internal SPI flash

_____________________________________________________________________

Contents

I.    Overview
II.   Required Hardware
III.  Operation Description
IV.   Deliverables
V.    S25FL116K Notes

       
I. Overview

The flash programmer interface application (FPIA) implements the interface
between the VisualDSP++ Flash Programmer utility and the flash driver.


II. Required Hardware 

1) Blackfin ADSP-BF518F EZ-Board with ADSP-BF518F processor 
   (not compatible with ADSP-BF518 processor)
2) HPPCI-ICE, HPUSB-ICE, or USB stand-alone debug agent
3) standard-A to mini-B USB cable (if using the USB stand-alone debug agent)


III. Operation Description

1)  Start the IDDE.
2)  Create and/or select an ADSP-BF518 session.
3)  Open the FPIA project (.dpj) file.
4)  Build and load the FPIA.  Note that FPIAs must be built with symbolic
    information and the symbols must be globally defined.
5)  From the "Tools" menu, choose "Flash Programmer...".
6)  On the "Driver" tab, set "Driver file" to the FPIA executable (.dxe).  
    You may use the "Browse..." button to locate the .dxe file on your 
    machine.
7)  Click "Load Driver" to load the FPIA.
    You are now ready to perform flash operations.

Note: If the driver does not load, verify that the processor you are using 
is an ADSP-BF518F rather than an ADSP-BF518, which does not contain the 
internal SPI flash.


IV. Deliverables

All the flash driver examples are shipped pre-built, but you can rebuild 
them yourself.  The source files for both the top-end .dxe file and the 
flash-specific library are included in the directory structure shown below.

+---Blackfin
    +---Examples
       +---ADSP-BF18F EZ-Board
           +---Flash Programmer 	
               +---InternalSPI
    		       BF518FEzFlashDriver_SST25WF040.dpj
    		       BF518FEzFlashDriver_SST25WF040.dxe
    		       main.c
    		       readme.txt
			sst25wf040.h
			sst25wf040.c
    +---include
    |   +---drivers
    |       +---flash
    |           
    |           Errors.h
    |           util.h
   


V.    S25FL116K Notes

The S25FL116K is the replacement flash for the SST25WF040 internal SPI flash.
The S25FK116K is a 16 Mbit flash, an increase from the SST25WF040, but still remains a 
4KB sector size memory, with 512 sectors. 

When using the Flash Programmer utility some functions may cause temporary system hangup due to the
larger flash size. The Erase All command can hang the computer for 5 minutes or more. A work around 
for this problem would be to select all Sectors and use the Erase Sectors command. 



