Other Parts Discussed in Thread: OMAPL138
I have interfacing TMS320C6746 with Micron NAND Flash MT29F1G08ABAEAWP_E,
NAND is connected to CS3,
I tried to read flash ID information using READID coommand,but it is not working, also flash not responded to RESET command
can anyone tell me how to properly setup the EMIFA for 8 bit NAND
Please help to know how to set up the timing information in the void *hNandTimingInfo;
below from nandlib.h
typedef struct _NAND_CTRL_INFO_
{
/* Function to initialize the NAND controller before accessing the NAND */
NandStatus_t (*CtrlInit)(NandInfo_t *nandInfo);
/* Function to get the wait pin status */
unsigned int (*WaitPinStatusGet)(NandInfo_t *nandInfo);
/* Timing info for the device and the controller */
void *hNandTimingInfo;
/* Base address of the controller */
unsigned int baseAddr;
/* ECC supported by the controller */
unsigned int eccSupported;
/* Wait pin where NAND dev R/B pin is connected */
unsigned int waitPin;
/* Wait pin polarity */
unsigned int waitPinPol;
/* Write protect pin polarity */
unsigned int wpPinPol;
/* Chip select base address */
unsigned int chipSelectBaseAddr[NAND_MAX_CHIP_SELECTS];
/* Chip select region size */
unsigned int chipSelectRegionSize[NAND_MAX_CHIP_SELECTS];
/* Curr chip select in use by the memory controller */
int currChipSelect;
}
NandCtrlInfo_t