Hello Everyone,
I am trying to boot WINEC7 on custom board other than NAND rest of the components remains same as EVM8148.I am able to boot up WINEC7 on the custom board successfully through the SD card.now i need to do NAND boot .
but i am not able to recognize nand i am getting the following error messages in tera term console.
NAND manufacturex 17 device 17 : no matching device found FMD driver does not support NAND manufacturer:0x17 dev:0x17
I have made changes tothe following files.
1) bspcfg.c(The manufacture id,read id ,block ....)
2) Bsp_def.h(Config registers).
3) fmd.c
hi i have even tried including the TRC timing also but still i am not able to detect NAND.
Could anyone please give me some pointers on where to make changes and other necessary things to make my NAND get recognized.
Hi Rajath,It looks like you have modified the proper section to support reading the nandflash's chip ID. A few questions.
Is the NAND still on chip select 0?Is the bus size the same as the reference design?Can you verify the manufacturer id and chip id?Finally can you send the modification you made to bsp_cfg?
Regards,
Adeneo Embedded Support teamContact us at sales@adeneo-embedded.com
Thanks for the reply,
Is the NAND still on chip select 0 - Yes.
Is the bus size the same as the reference design - 8 bit
Can you verify the manufacturer id and chip id - as mentioned in the datasheet.
changes made to bspcfg.c
for 8GB,
0x98, //manufacturerId 2C 0xDE, //deviceId CA 4124,//number of blocks 256, //Sectors/pages per block 8192, //page size, (8224 - redundant bytes = 8192), multiple of 1024 taken 4 //Word data
changes made in bsp_def.h
#define M_NAND_GPMC_CONFIG1 0x00000800 #define M_NAND_GPMC_CONFIG2 0x00040400#define M_NAND_GPMC_CONFIG3 0x00040301#define M_NAND_GPMC_CONFIG4 0x03010501#define M_NAND_GPMC_CONFIG5 0x00050707#define M_NAND_GPMC_CONFIG6 0x16000f80#define M_NAND_GPMC_CONFIG7 0x00000008
Hope i get a reply ASAP.
1) Do i need to make changes in bsp_def.h config registers
Hi Rajath,
The 2.30 BSP NAND driver currently does not support 8-bit access. You will need to update the driver to switch the access from 16-bit to 8-bit. Please see the following thread for more details.
http://e2e.ti.com/support/embedded/wince/f/353/t/204225.aspx
The thread to which you pointed is pretty much helpful but still even Andreas is at the same page where i am.
Could you be more lucid so that i can get this problem resolved.
I am newbie to this,kindly help me out in fixing this issue.