我的卡是1G的,说是可以在ucfs中扩展,但是我不知道扩展表格的数据填多少,哪位高人指导一下!!!
static const _FS_wd_format_media_type _FS_wd_format_media_table[] = {
{ FS_MEDIA_RAM_16KB, 0x00000000UL, 0x00000000UL, 0x0020, 0x0040, 0x0001, 0x0004, 0x0004, 0x01, (char) 0xf8, 0 },
{ FS_MEDIA_RAM_64KB, 0x00000000UL, 0x00000000UL, 0x0080, 0x0040, 0x0001, 0x0004, 0x0004, 0x01, (char) 0xf8, 0 },
{ FS_MEDIA_RAM_128KB, 0x00000000UL, 0x00000000UL, 0x0100, 0x0080, 0x0001, 0x0004, 0x0004, 0x01, (char) 0xf8, 0 },
{ FS_MEDIA_RAM_256KB, 0x00000000UL, 0x00000000UL, 0x0200, 0x0080, 0x0002, 0x0004, 0x0004, 0x01, (char) 0xf8, 0 },
{ FS_MEDIA_RAM_512KB, 0x00000000UL, 0x00000000UL, 0x0400, 0x00e0, 0x0003, 0x0004, 0x0004, 0x01, (char) 0xf8, 0 },
{ FS_MEDIA_FD_144MB, 0x00000000UL, 0x00000000UL, 0x0b40, 0x00e0, 0x0009, 0x0012, 0x0002, 0x01, (char) 0xf0, 0 },
{ FS_MEDIA_SMC_1MB, 0x00000000UL, 0x0000000DUL, 0x07c3, 0x0100, 0x0001, 0x0004, 0x0004, 0x08, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_2MB, 0x00000000UL, 0x0000000bUL, 0x0f95, 0x0100, 0x0002, 0x0008, 0x0004, 0x08, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_4MB, 0x00000000UL, 0x0000001bUL, 0x1f25, 0x0100, 0x0002, 0x0008, 0x0004, 0x10, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_8MB, 0x00000000UL, 0x00000019UL, 0x3e67, 0x0100, 0x0003, 0x0010, 0x0004, 0x10, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_16MB, 0x00000000UL, 0x00000029UL, 0x7cd7, 0x0100, 0x0003, 0x0010, 0x0004, 0x20, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_32MB, 0x00000000UL, 0x00000023UL, 0xf9dd, 0x0100, 0x0006, 0x0010, 0x0008, 0x20, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_64MB, 0x0001f3c9UL, 0x00000037UL, 0x0000, 0x0100, 0x000c, 0x0020, 0x0008, 0x20, (char) 0xf8, 0 },
{ FS_MEDIA_SMC_128MB, 0x0003e7d1UL, 0x0000002fUL, 0x0000, 0x0100, 0x0020, 0x0020, 0x0010, 0x20, (char) 0xf8, 1 },
{ FS_MEDIA_MMC_32MB, 0x00000000UL, 0x00000020UL, 0xf460, 0x0200, 0x003d, 0x0020, 0x0004, 0x04, (char) 0xf8, 1 },
{ FS_MEDIA_MMC_64MB, 0x0001e8e0UL, 0x00000020UL, 0x0000, 0x0200, 0x007a, 0x0020, 0x0008, 0x04, (char) 0xf8, 1 },
{ FS_MEDIA_MMC_128MB, 0x0003d2e0UL, 0x00000020UL, 0x0000, 0x0200, 0x00f5, 0x0020, 0x0008, 0x04, (char) 0xf8, 1 },
{ FS_MEDIA_SD_16MB, 0x00000000UL, 0x00000039UL, 0x7187, 0x0200, 0x0003, 0x0020, 0x0002, 0x20, (char) 0xf8, 0 },
{ FS_MEDIA_SD_64MB, 0x0001dbd9UL, 0x00000027UL, 0x0000, 0x0200, 0x000c, 0x0020, 0x0008, 0x20, (char) 0xf8, 0 },
{ FS_MEDIA_SD_128MB, 0x0003c09fUL, 0x00000061UL, 0x0000, 0x0200, 0x001f, 0x0020, 0x0008, 0x20, (char) 0xf8, 1 },
// { FS_MEDIA_SD_256MB, }
{ FS_MEDIA_CF_32MB, 0x00000000UL, 0x00000020UL, 0xf760, 0x0200, 0x007c, 0x0020, 0x0004, 0x02, (char) 0xf8, 1 },
{ FS_MEDIA_CF_64MB, 0x0001e860UL, 0x00000020UL, 0x0000, 0x0200, 0x007b, 0x0020, 0x0004, 0x04, (char) 0xf8, 1 }
}; |