/***********************************************************************/ /* This file is part of the ARM Toolchain package */ /* Copyright KEIL ELEKTRONIK GmbH 2003 - 2006 */ /***********************************************************************/ /* */ /* FlashDev.C: Device Description for AM29F160DB (16-bit Bus) */ /* */ /***********************************************************************/ #include "..\FlashOS.H" // FlashOS Structures struct FlashDevice const FlashDevice = { FLASH_DRV_VERS, // Driver Version, do not modify! "AM29F160DB Flash", // Device Name EXT16BIT, // Device Type 0x000000, // Device Start Address 0x200000, // Device Size in Bytes (2MB) 1024, // Programming Page Size 0, // Reserved, must be 0 0xFF, // Initial Content of Erased Memory 100, // Program Page Timeout 100 mSec 3000, // Erase Sector Timeout 3000 mSec // Specify Size and Address of Sectors 0x04000, 0x000000, // Sector Size 16kB (1 Sector) 0x02000, 0x004000, // Sector Size 8kB (2 Sectors) 0x08000, 0x008000, // Sector Size 32kB (1 Sector) 0x10000, 0x010000, // Sector Size 64kB (31 Sectors) SECTOR_END };