Sometime Failed to read from NAND on i.mx6ul

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sometime Failed to read from NAND on i.mx6ul

799 Views
dhvanil_patel1
Senior Contributor I

Hi All,

I am working on i.mx6ul based board. Sometimes I am facing an error to detect and read data from NAND. If I power cycle the board again then  No NAND detect or read error reproduced.

I am waiting for responses.

Log:

U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Aug 10 2016 - 11:30:25)

CPU: Freescale i.MX6UL rev1.0 at 396 MHz
CPU: Temperature 31 C
Reset cause: POR
Board: MX6UL Volansys BR
I2C: ready
DRAM: 256 MiB
PMIC: PFUZE3001 DEV_ID=0x31 REV_ID=0x11
NAND: 1024 MiB     : NAND is detected 
MMC: Inside FSU_config 0
FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC0
Normal Boot
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x4000000, size 0x800000   // Reading kernel from NAND
MXS NAND: DMA read error       // DMA read error
NAND read from offset 4000000 failed -110     
0 bytes read: ERROR

NAND read: device 0 offset 0x5000000, size 0x100000  // try to read from device tree from NAND
MXS NAND: Error sending command        // failed to send command error
MXS NAND: Error sending command      

Hi,

Igor1z‌ Please help us to resolve this 

-

Dhvanil Patel

Labels (3)
0 Kudos
1 Reply

475 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dhvanil 

issue may be caused by signal integrity issues,

so please catch waveforms by oscilloscope, checking signal timings

with datasheet, then tweak drive strength of processor

nand signals. Use Table 5-7. NAND Boot Fusemap "Override NAND Pad

Settings" i.MX6UL Reference Manual
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos