Download GPL162002A/162003A Programming Guide
Transcript
GPL162002A/162003A Programming Guide P_CHECKSUM1_HB Bit 15 14 0x7833 13 12 11 10 NAND Flash High Byte Check Sum High Value 9 Function Init Bit 7 6 5 4 3 2 1 0 0 0 0 0 0 0 CHECKSUM1_HB 0 0 0 0 Function Type [15:0] CHECKS R/W UM1_HB 17.5 8 0 0 0 0 0 0 Description Condition NAND Flash High byte 256~511 bytes check sum value. This register is valid only when NAND flash set to 16-bit mode. l a i e t n s e U d i f n 司 o C 公 s 限 u 有 l p 份 l a r e 股 n e 技 G 科 格 普 Special Note As for ECC check error registers, here are some descriptions. y l n O For 8-bit type nand flash, the unit of ECC logic calculation is 512 bytes, and the results can correct 1 bit error for each 256 bytes and determine two bit errors for each 256 bytes. For 0~255 byte, the error information is stored in 0x785E (P_ECC_ERR0_LB). For 256~511 byte, the error information is stored in 0x785F (P_ECC_ERR1_LB). For 16-bit type NAND flash, the unit of ECC logic calculation is 256 words or 512 words. For 256 words, the ECC result can correct 1 bit for low 256 bytes and high 256 bytes, respectively, and determine two bit errors for low 256 bytes and high 256 bytes, respectively. For 0~255 low byte, the error information is stored in 0x785E (P_ECC_ERR0_LB). For 0~255 high byte, the error information is stored in 0x784E (P_ECC_ERR0_HB). For 512 words, the error information is described as follows. For 0~255 low byte, the error information is stored in 0x785E (P_ECC_ERR0_LB). For 256~511 low byte, the error information is stored in 0x785F (P_ECC_ERR1_LB). For 0~255 high byte, the error information is stored in 0x784E (P_ECC_ERR0_HB). For 256~511 high byte, the error information is stored in 0x784F (P_ECC_ERR1_HB). r o F © Generalplus Technology Inc. PAGE 246 V1.0 – Dec. 20, 2006