NDFC_CMD Контроллер Nand Flash (NDFC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 NDFC_CMD_TYPE Bits 31 : 30R/W 0x0 00: Common command for normal operation NDFC_SEND_FOURTH_CMD Bit 29R/W 0x0 0: Donot send fourth set command NDFC_SEND_THIRD_CMD Bit 28R/W 0x0 0: Donot send third set command NDFC_SEND_RANDOM_CMD2_CTL Bit 27R/W 0x0 0: Donot send random cmd2 (NDFC_RANDOM_CMD2) NDFC_DATA_METHOD Bit 26R/W 0x0 Data swap method when the internal RAM and system memory NDFC_SEQ Bit 25R/W 0x0 User data & BCH check word position. It only is active for Page Command, donot NDFC_SEND_SECOND_CMD Bit 24R/W 0x0 0: Donot send second set command NDFC_WAIT_FLAG Bit 23R/W 0x0 0: NDFC can transfer data regardless of the internal NDFC_RB wire NDFC_SEND_FIRST_CMD Bit 22R/W 0x0 0: Donot send first set command NDFC_DATA_TRANS Bit 21R/W 0x0 0: No data transfer on external memory bus NDFC_ACCESS_DIR Bit 20R/W 0x0 0: Read NAND Flash NDFC_SEND_ADR Bit 19R/W 0x0 0: Donot send ADDRESS NDFC_ADR_NUM Bits 18 : 16R/W 0x0 Address Cycles' Number Unused Bits 15 : 10NDFC_ADR_NUM_IN_PAGE_CMD Bits 9 : 8R/W 0x0 The number of address cycles during page command. NDFC_CMD_LOW_BYTE Bits 7 : 0R/W 0x0 NDFC command low byte data Команда U-Boot для чтения регистра md 4011024 1Bit fields structuretypedef union ndfc_cmd { struct { unsigned ndfc_cmd_low_byte : 8; unsigned ndfc_adr_num_in_page_cmd : 2; unsigned unused0 : 6; unsigned ndfc_adr_num : 3; unsigned ndfc_send_adr : 1; unsigned ndfc_access_dir : 1; unsigned ndfc_data_trans : 1; unsigned ndfc_send_first_cmd : 1; unsigned ndfc_wait_flag : 1; unsigned ndfc_send_second_cmd : 1; unsigned ndfc_seq : 1; unsigned ndfc_data_method : 1; unsigned ndfc_send_random_cmd2_ctl : 1; unsigned ndfc_send_third_cmd : 1; unsigned ndfc_send_fourth_cmd : 1; unsigned ndfc_cmd_type : 2; } b; unsigned long w; } NDFC_CMD |