[FLASH_LIST]
//	File:\\super\RD\SharedDocs\SKYMEDI\1603_Flash_Support_Spec
//	Flash list definition
//	Offset		abbreviation		value
//=================================================================================================================================================================================================
//						1st flash ID ( Manufacture ID )
//						2nd flash ID ( Device ID )
//						3rd flash ID
//						4th flash ID
//						LA: 5th flash ID
//	0x00		FSH_CTRL5		Flash Control5 Register ( 0x7024 )
//	0x01		FSH_CTRL6		Flash Control6 Register ( 0x7025 )
//	0x02		PARTI_SHIFT 		For formula Parti Shift Register ( 0x7015 ) in normal mode
//	0x03		BLK_SHIFT		For formula Block Shift Register ( 0x7016 ) in normal mode
//	0x04		PAGE_SHIFT		For formula Page Shift Register ( 0x7018 ) in normal mode
//	0x05		ADDR_CYCLE		Address Cycle Register ( 0x7019 )
//	0x06, 0x07	DEFECT_BLK		The percentage of defective blocks per chip
//	0x08		CHIP_SEL		Chip Selection Register ( 0x7006 )
//	0x09		FSH_CFG			Flash Cfg Register ( 0x701A )
//	0x0A		FSH_WR_CTRL		Flash Write Control Register ( 0x701B )
//	0x0B		FSH_RD_CTRL		Flash Read Control Register ( 0x701C )
//	0x0C		FSH_RD_CTRL2		Flash Read Control 2 Register ( 0x701D )
//	0x0D		FSH_ALE_CLE_CTRL	Flash ALE/CLE Control Register ( 0x701E )
//	0x0E		FSH_CTRL0		Flash Control0 Register ( 0x701F )
//	0x0F		FSH_CTRL1		Flash Control1 Register ( 0x7020 )
//	0x10		FSH_CTRL2		Flash Control2 Register ( 0x7021 )
//	0x11		FSH_CTRL3		Flash Control3 Register ( 0x7022 )
//	0x12		FSH_DEFECT		Flash Defect Register ( 0x70D7 )
//	0x13		MP_FACTOR		MP Factor Register ( 0x7012 )
//	0x14		BANK_SHIFT		Bank Shift Register ( 0x7017)
//	0x15		DIE_FACTOR		Die Factor Register ( 0x7013 )
//	0x16		CHIP_FACTOR		Chip Factor Register ( 0x7014 )
//	0x17		FSH_CTRL4		Flash Control4 Register ( 0x7023 )
//	0x18		FSH_CTRL7		Flash Control5 Register ( 0x7026 )
//	0x19		FSH_CTRL8		Flash Control6 Register ( 0x7027 )
//	0x1A		FSH_DQS_CTRL		Flash DQS Control Register ( 0x7028 )

//	0x1B		Parameter1 		See the Summary below:
//	bit1: program error retirement
//	bit2: Even and Odd Pages Copy Back restriction (0 -> Have restriction, 1 -> No restriction)
//	bit3: Reset First before flash command
//	bit4: Check Erase Status (0 -> Disable, 1 -> Enable)
//	bit5: Toshiba Type2
//	bit6: read error retirement
//	bit7: Pre-Erase (0 -> Disable, 1 -> Enable)

//	0x1C, 0x1D		Parameter2		The Page Num of partial CloseC and CloseR

//	0x1E		Parameter3		See the Summary below:
//	bit0 ~ bit2: No of R Blks (0 -> 0 R Blk, 1 -> 2 R Blks, 2 -> 3 R Blks, 3 -> 4 R Blk, 4 -> 5 R Blks, 5 -> 6 R Blks, 6 -> 7 R Blks, 7 -> 8 R Blks)
//	bit3: 	     No of C Blks (0 -> 0 C Blk, 1 -> 2 C Blks)
//	bit4: Synchronous mode
//	bit5: Toshiba 3-bit

//	0x1F		Parameter4		The size of I-Ring Table (Sectors)


// Intel Flash
//	                                        0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    10   11   12   13   14   15   16   17   18   19   1A   1B   1C   1D   1E   1F   				OSC	tWC	tRC	VCC	Spec		
H27UBG8T2A_512      0xAD 0xD7 0x94 0x9A 0x74 0x01 0x0E 0x04 0x0B 0x08 0x12 0x00 0x26 0x00 0x30 0x51 0xB1 0x0B 0x03 0x10 0x3F 0x88 0x04 0x00 0x01 0x08 0x00 0x00 0x21 0x40 0x0A 0x24 0x46 0x01 0x00 0x0D 0x20	//	35M
H27UBG8T2A          0xAD 0xD7 0x94 0x9A 0x74 0x53 0x0F 0x04 0x0B 0x08 0x12 0x00 0x26 0x00 0x30 0x51 0xB1 0x0B 0x03 0x10 0x3F 0x88 0x04 0x00 0x01 0x08 0x00 0x00 0x21 0x40 0x0A 0x24 0x46 0x01 0x00 0x0D 0x20	//	35M

[SD_CID]
// (A) SD 2.0/SD 1.xx
1F 53 4B 4D 4D 43 20 34 30 10 00 00 00 01 87 75

[MMC_CID]
// (B) MMC 4.0/MMC 3.x
44 12 34 4D 4D 43 20 34 30 10 00 00 00 01 67 75

[SD_CSD]
// 2GB
// (A) SD 2.0/SD 1.xx, 2F: Large/AG-AND/Small/Multi-Plane
// 00 3F 01 32 5F 5A 80 00 36 D8 5F FF 9E 40 00 75

// (B) SD 1.01, 2F:Large/AG-AND/Small/Multi-Plane
// 00 3F 01 32 1F 5A 80 00 36 D8 5F FF 9E 40 00 75

// Under 2GB
// (C) SD 2.0/SD 1.xx, 2F: Large/AG-AND/Small/Multi-Plane
00 3F 01 32 5F 59 80 00 36 D8 5F FF 9E 40 00 75

// (D) SD 1.01, 2F:Large/AG-AND/Small/Multi-Plane
// 00 3F 01 32 1F 59 80 00 36 D8 5F FF 9E 40 00 75

[MMC_CSD]
// 2GB
// (A) MMC 4.0, 2F: Large/Small/Multi-Plane
// 90 3F 01 2A 0F 5A 80 00 36 D8 7F E3 9E 40 00 75

// (B) MMC 3.x, 2F: Large/Small/Multi-Plane
// 8C 3F 01 2A 0F 5A 80 00 36 D8 7F E3 9E 40 00 75

// (C) MMC 4.0, 3F: AG-AND
// 90 3F 01 2A 0F 5A 80 00 36 D8 7F E3 9E 40 00 75

// (D) MMC 3.x, 3F: AG-AND
// 8C 3F 01 2A 0F 5A 80 00 36 D8 7F E3 9E 40 00 75

// Under 2GB
// (A) MMC 4.0, 2F: Large/Small/Multi-Plane
90 3F 01 2A 0F 59 80 00 36 D8 7F E3 9E 40 00 75

// (B) MMC 3.x, 2F: Large/Small/Multi-Plane
// 8C 3F 01 2A 0F 59 80 00 36 D8 7F E3 9E 40 00 75

// (C) MMC 4.0, 3F: AG-AND
// 90 3F 01 2A 0F 59 80 00 36 D8 7F E3 9E 40 00 75

// (D) MMC 3.x, 3F: AG-AND
// 8C 3F 01 2A 0F 59 80 00 36 D8 7F E3 9E 40 00 75

[SD_COMP_PARAS]
76 B8 B3 61 39 29 B8 80 FF 00 00 00 00 00 11 38 76 A0 B1 61 39 2A B8 80 3B 23 28 00 DA 21 7F 5A
//76 B8 B3 61 39 2A B8 80 FF 00 00 00 00 00 00 38 76 A0 B1 61 39 2A B8 80 3B 23 28 00 6D 00 7F 5A
//76 B8 B3 61 39 2A B8 80 FF 00 00 00 00 00 31 38 76 A0 B1 61 39 2A B8 80 3B 23 28 00 6D 31 7F 5A

[MMC_COMP_PARAS]
76 B8 B3 61 39 11 B8 80 FF 00 00 00 00 00 11 38 76 A0 B2 63 3A 29 B8 89 3B 23 55 00 DA 21 7F 5A
//76 B8 B3 61 39 2A B8 80 FF 00 00 00 00 00 00 38 76 A0 B2 63 3A 2A B8 89 3B 23 00 00 DA 00 7F 5A
//76 B8 B3 61 39 2A B8 80 FF 00 00 00 00 00 31 38 76 A0 B2 63 3A 2A B8 89 3B 23 00 00 DA 31 7F 5A

[VERSION]
04 09

[MMC_EXT_CSD]
00 00 04 A2 0B 08 04 00 00 00 04 A2 08 0D C4 00 00 00 00 66 66 66 66 00 00 00 00 00 00 00 00 00

[SD_EXT_CSD]
00 00 00 00 00 00 0A 00 00 00 00 00 00 03 00 03 00 00 00 66 66 66 66 00 00 00 00 00 00 00 00 00

[MULPAGE_WRITE_CMD_SET]
//80 10 11 81 85 70 10 00 FC 11 00 00
80 15 11 81 85 70 10 00 FC 11 00 00
//80 15 11 81 00 70 10 00 BC 11 00 00 //multi cache write
//80 00 11 81 00 70 10 00 B4 11 00 00 //multi write



[MULPAGE_READ_CMD_SET]
//60 30 00 E0 05 70 00 00 7C 73 00 00 
00 30 00 E0 05 70 00 00 6E 10 00 00
//00 30 06 E0 05 78 E0 00 FE 70 00 00
//00 30 05 E0 06 78 E0 00 FE 70 00 00
//00 30 06 E0 05 70 E0 00 FE 76 32 01

[MULPAGE_CB_CMD_SET]
//00 10 11 85 85 70 35 00 FC 16 00 00
00 10 11 00 00 70 35 00 FC 16 00 00

[MULBLOCK_ERASE_CMD_SET]
60 D0 00 60 00 70 00 00 2C 20 00 00

[SD_SCR]
// (A) SD 2.0/SD 1.x
01 25 00 00 00 00 00 00


[SD_SIZE_OF_PROTECTED_AREA]
// card density is less than 1GB(< 1GB)
00 00 00 28

// card density is larger than or equal to 1GB(>= 1GB)
//00 00 00 30	//	AG-AND
//00 00 00 50	//	Others                                                                