|
发表于 2006-7-29 14:51:00
|
显示全部楼层
应该是FlashConf.c有问题吧,64X32的一般弄成这样的
/***********
* Step 1. *
***********/
#define FLASH_BASE_ADDRESS 0x0700000
/***********
* Step 2. *
***********/
#define ALLOCATED_FAT_SPACE 0x100000 //0x200000 == 2Mbytes
/***********/
/* Step 3. */
/***********/
static const FlashRegionInfo RegionInfo[] =
{
{0x10000, 15},
{0x2000, 8},
EndRegionInfo /* Don't modify this line */
};
/***********/
/* Step 4. */
/***********/
#define TOTAL_BLOCKS 23 //Maximum 127
/***********/
/* Step 5. */
/***********/
/* Partition Sectors in the First Partitions (Unit Sectors) one sector 512 Byte */
/* 0 for no partition */
#define PARTITION_SECTORS 0
mtk有发一个excel表,吧支持的flash都放在里面的
MemoryDeviceList.xls |
|