This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Nand Flashing DM365 evm + MT29F16G08DAA

Hi....

I am Having one customized board based on DM365 evm. Interfaced with MT29F16G08DAA Nand.

 

While i am writing i am getting NAND read from offset 400000 failed -74

I changed the page size to 4K in the config file

TI UBL Version: 1.50                                                                           
Booting Catalog Boot Loader                                                                    
BootMode = NAND
Starting NAND Copy...
DM36x initialization passed!
TI UBL Version: 1.50
Booting Catalog Boot Loader
BootMode = NAND
Starting NAND Copy...
Valid magicnum, 0xA1ACED66, found in block 0x00000019.
   DONE
Jumping to entry point at 0x81080000.


U-Boot 2009.03 (Dec 06 2010 - 18:32:58)

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_bbt: ECC error while reading bad block table
1024 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial

EEPROM @ 0x50 read FAILED!!!
Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot:  0
DM365 EVM > mw.b 0x80700000 a 200000
DM365 EVM > nand write.e 0x80700000 0x400000 0x200000
                                                                                               
NAND write: device 0 offset 0x400000, size 0x200000                                            
 2097152 bytes written: OK                                                                     
DM365 EVM > mw.b 0x80700000 0 200000                                                           
DM365 EVM > nand read.e 0x80700000 0x400000 0x200000                                         

NAND read: device 0 offset 0x400000, size 0x200000
NAND read from offset 400000 failed -74
 2097152 bytes read: ERROR
DM365 EVM > md 0x80700000
80700000: 00080800 00000000 00000000 00000000    ................
80700010: 00000000 00000000 0a0a0a0a 0a0a0a0a    ................
80700020: 0a0a0a0a 0a0a0a0a 0a0a0a0a 0a0a0a0a    ................
80700030: 0a0a0a0a 0a0a0a0a 0a0a0a0a 0a0a0a0a    ................
80700040: 0a0a0a0a 0a0a0a0a 0a0a0a0a 0a0a0a0a    ................
80700050: 0a0a0a0a 0a0a0a0a 0a0a0a0a 0a0a0a0a    ................

 

In nand_id.c it is {"NAND 1GiB 3,3V 8-bit",        0xD3, 0, 1024, 0, LP_OPTIONS},  i changed it in to {"NAND 1GiB 3,3V 8-bit",        0xD3, 4096 , 1024, 0, LP_OPTIONS},

then it Got struck over here

U-Boot 2009.03 (Dec 06 2010 - 18:19:26)

I2C:   ready
DRAM:  128 MB
NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NIK: 2GiB 3,3V 16-bit)
nand_scan_bbt: Out of memory
2048 MiB


Can any one pls suggest some solutions to over come this...