📄 readcfi.txt
字号:
READCFI.TXT for Common Flash Interface Low level- ANSI C Version
04-Feb-1998
Current source versions: Lowlvl with CFI in 'C' v2.4
This read-me file is organized into the following sections:
1.0 Purpose
2.0 What's New
3.0 Source Organization and Contents
4.0 Installation
4.1 Upgrading From An Older Revision
4.2 How To Install The New Source
5.0 Software Generation
6.0 License Agreement
1.0 Purpose
-----------
The included source code contains the ANSI 'C' source code for Intel's
Common Flash Interface (CFI) Low Level Routine Reference Code.
This can be used as a basis for, or an education on, heuristic flash
detection and support routines based on CFI flash architecture.
2.0 What's New
--------------
02-February-1998 Version 2.4
Add additional functionality: set/clear lock bits,
full chip erase, multiple erase regions, configure
status, load DC and time parameters. Improved
compiler independence, particularly in the
IntelSCSWrite function.
09-September-1997 Version 2.3
Correct mask value for error in erase for CFI parts.
29-August-1997 Version 2.2
Optimized polling loops in flash routines
Minor timing fix for non-CFI x8 flash devices
Add ERR_DETECT define in type.h for device check
routine
09-July-1997 Version 2.1
Added enhanced method to link in other vendor's CFI
low level routines
Fixed minor issues in:
- reading buffer count in x16 mode
- erase suspend operation
18-April-1997 Initial Release
3.0 Source Organization and Contents
------------------------------------
After extracting the main archive, you will find the following files:
READCFI.TXT - This file.
LICENSE.TXT - Intel Source Code/Executable license agreement
FLOWCH~1.DOC - Word for Windows* V7.0 format document that contains
the flowcharts of the reference code.
LOWLVL.C
. read/write/erase routines for supported flash devices
. recognition code, determining flash type and media size
. includes CFI (Common Flash Interface) support
LOWLVL.H
. definition file for "low level" routines
Type.H - Please see this file for compile time options which
modify and adapt the code to support your specific
hardware and software application.
. All compile time options are defined/enabled/disabled here
PCIC.ASM - This particular module supports the Intel 82365SL
PCIC or compatible PC Card controller.
. routines for i82365SL controller
. includes window setting and power control
If you are not using a PCIC, then your hardware
specific routines should go in the following file
which replaces PCIC.ASM in this situation:
ARCH.C - Your application specific flash hardware interface routines
go here to replace PCIC.ASM for non-PCIC applications
. Flash interface initialization routines
. Window setting (if any) and power control (if any)
TABLE.C
. table of supported flash devices
. includes component geometries (block size, device size)
LIBRARY.C
. memory functions: copy and compare
LIBRARY.H
. definition file for "low level" routines
4.0 Installation
----------------
The installation instructions assume that you have run the main self-
extracting executable in order to obtain this read me file as well as
the rest of the files contained within.
***********************************************************************
Please read, understand, and agree to the terms of the included
LICENSE.TXT before installing the software. It contains the Intel
Software license for the use of this source code. Please print out the
file (see instructions below), fill out the registration information,
and return a signed copy (follow the instructions at the end of the
license).
***********************************************************************
4.1 Upgrading From An Older Revision
------------------------------------
If you are installing this file as an update to a previously installed
source, it is highly recommended that you archive your original work
(i.e. move your files to a new directory) and then delete all of the
'old' files and directories before installing the new files -OR-,
install the new files in a new directory. This is because the file
names and/or directory structure(s) may have changed and could cause
confusion if mixed together with the old files and/or directory
structure(s)!
Next, install the new source as detailed below in 'How To Install The
New Source'.
The next step requires you to evaluate the modules that have changed
in the new source since your current (older) source revision and
determining how the changes impact your own changes to the original
code. You may be able to use your modified modules with the new source,
or, you might have to roll your changes into the new source modules
(or visa-versa... ahh, the joys of programming!)
4.2 How To Install The New Source
---------------------------------
To install the source code:
1) Copy files to your work directory
5.0 Software Generation
-----------------------
The CFI Low Level code and support files have been written in ANSI C.
The source code may require changes to compile and assemble with your
particular processor.
Your application and hardware specific support routines, such as flash
hardware interface routines, should be coded in ARCH.C module. However,
if you are using a 365SL PCIC or compatible PC Card interface on an x86
platform, the file PCIC.ASM may be used instead.
Please see the module TYPE.H for the compile time options that can be
used to modify the operation of this code.
6.0 License Agreement
-----------------
The license agreement for the Intel source code and executables is
included in the file LICENSE.TXT. It can be printed by using the
command:
COPY LICENSE.TXT LPT1: (substitute the LPT# of your printer)
-OR-
PRINT LICENSE.TXT
***********************************************************************
Please read, understand, and agree to the terms of the included
LICENSE.TXT before installing the software. It contains the Intel
Software license for the use of this source code. Please print out the
file, fill out the registration information, and return a signed copy
(follow the instructions at the end of the license).
***********************************************************************
* Other brands and names are the property of their respective owners
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -