/* --------------------------------------------------------- NAND Flash TSOP48: XJEase device file NAND_FLASH_TSOP48.xje Revision: 1.18 (c)2001-2008 XJTAG Limited Disclaimer: XJTAG makes no guarantees whatsoever about this code. You use it at your own risk ... This code requires XJTAG version 1.4 or later. This file tests Non-JTAG Flash using Test()(INT result) --------------------------------------------------------- */ DEVICE NAME := "NAND_FLASH_TSOP48" COMPAT_VERSION := 1; DESCRIPTION := ""; PINS IO := 44, 43, 42, 41, 32, 31, 30, 29; nCE := 9; nRE := 8; RDY := 7; nWP := 19; nWE := 18; ALE := 17; CLE := 16; END; DISABLE DEVICE nCE := 1; END; TEST COVERAGE IO := OPEN SHORTS LO HI; nCE := OPEN HI; nRE := OPEN LO HI; nWP := OPEN LO; nWE := OPEN LO HI; ALE := OPEN LO HI; CLE := OPEN LO HI; END; // Additional files FILES "FaultFinder.xje"; "memtestNANDFlash.xje"; END; END; //---------------------------------------------------------------------------------- // Constant, Static variables and definitions //---------------------------------------------------------------------------------- // Set the expected manufacturer and device codes. A list of common manufacturer // codes can be found in memtestNANDFlash.xje CONST INT EXPECTED_MANU_CODE := 0x2C; CONST INT EXPECTED_DEVICE_CODE := 0xBC; // Set this to TRUE if the device is programmed with enough data for // the full data bus test to run, or FALSE if the device is erased. CONST INT DEVICE_IS_PROGRAMMED := FALSE; // The number of the block used if the destructive test is selected. CONST INT DESTRUCTIVE_TEST_BLOCK_NUMBER := 0;