ADVANCED MICRO DEVICES NON-VOLATILE MEMORY DIVISION EMBEDDED Flash Card Device Driver Sample Code V2.20- March 1996 COPYRIGHT AMD 1996 Disclaimer ---------- AMD provides this code "as is" without warranty or support of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability or fitness for any particular purpose. Contents -------- This disk contains the following files: readme.txt this file embed.exe (compiled code, DOS executable) embed.obj (x86 object code) socket.obj (object code for PCMCIA controller) embed.c (source code) build.bat (build file) embed.h (header file) Function -------- The embed.c program demonstrates the use of AMD Flash cards in a non-PCMCIA environment (that is, one that does not require card or socket services). Basic routines for read, write, and erase of the card are included. The code supports the following cards: AmC00XCFLKA - C-Series Cards (based on Am29F040) AmC00XDFLKA - D-Series Cards (based on Am29F016C) AmMC00XFLKA - 5.0 Volt-only Miniature Cards (based on Am29F080 and Am29F016C) AmMCL00XFLKA - 3.0 Volt-only Miniature Cards (based on Am29LV081) and Fujitsu versions of the above. The code was compiled on an Am486-based PC, using ANSI C and x86 assembler (Microsoft C or similar). The target platform is an ISA-bus based 486 (or better) PC, with an SCM SwapBox Lite PCMCIA Card Drive (Vadem VG365/465 compatible controller). The card drive is available in AMD's Flash Memory Card Evaluation Kits, available from authorized distributors. The code may also run in other environments using PCIC controllers that are compatible with the Vadem VG465 device, but this has not been tested or guaranteed. The embed.c code provides a simple menu-driven user interface that allows the user to select (and check) the Flash card type inserted, read and modify the CIS information, and perform basic read/write/erase operations on the Flash memory. For any questions about AMD Flash cards or third-party driver availability, please contact your local AMD sales office.