TI E2E Community
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).
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?
Adeneo Embedded Support teamContact us at email@example.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
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
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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.