LS1021A NOR flash not detected in U-BOOT

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

LS1021A NOR flash not detected in U-BOOT

1,559 Views
winstonjacob
Contributor IV

I am using LS1021A custom board with NOR flash (IS29GL256-70FLET) in IFC bus, so I need to calculate the IFC timing using the attached sheet which is provided by NXP, but when I  use those values, the chip is not responding, that log I attached below, and the working log of reference board (LS1021A-TWR) attached here.

And I used the improper values in reference board configuration that log also same as custom board non working log. That means I am thinking the issue is in the timing values generated by the XL sheet,

 

Reference board improper values

=========================

#define CONFIG_SYS_NOR_FTIM0 (FTIM0_NOR_TACSE(0x1) | \
FTIM0_NOR_TEADC(0x1) | \
FTIM0_NOR_TAVDS(0x0) | \
FTIM0_NOR_TEAHC(0x20))

#define CONFIG_SYS_NOR_FTIM1 (FTIM1_NOR_TACO(0x1) | \
FTIM1_NOR_TRAD_NOR(0x3) | \
FTIM1_NOR_TSEQRAD_NOR(0x1))

#define CONFIG_SYS_NOR_FTIM2 (FTIM2_NOR_TCS(0x1) | \
FTIM2_NOR_TCH(0xe) | \
FTIM2_NOR_TWPH(0x0e) | \
FTIM2_NOR_TWP(0x23))

 

Reference board proper values

=======================

#define CONFIG_SYS_NOR_FTIM0 (FTIM0_NOR_TACSE(0x4) | \
FTIM0_NOR_TEADC(0x5) | \
FTIM0_NOR_TAVDS(0x0) | \
FTIM0_NOR_TEAHC(0x5))
#define CONFIG_SYS_NOR_FTIM1 (FTIM1_NOR_TACO(0x35) | \
FTIM1_NOR_TRAD_NOR(0x1A) | \
FTIM1_NOR_TSEQRAD_NOR(0x13))
#define CONFIG_SYS_NOR_FTIM2 (FTIM2_NOR_TCS(0x4) | \
FTIM2_NOR_TCH(0x4) | \
FTIM2_NOR_TWP(0x1c) | \
FTIM2_NOR_TWPH(0x0e))

 

Custom board used value

====================

#define CONFIG_SYS_NOR_FTIM0            (FTIM0_NOR_TACSE(0x1) | \
                                        FTIM0_NOR_TEADC(0x1) | \
                                        FTIM0_NOR_TAVDS(0x0) | \
                                        FTIM0_NOR_TEAHC(0x20))
 
#define CONFIG_SYS_NOR_FTIM1            (FTIM1_NOR_TACO(0x20) | \
                                        FTIM1_NOR_TRAD_NOR(0x13) | \
                                        FTIM1_NOR_TSEQRAD_NOR(0x10))
 
#define CONFIG_SYS_NOR_FTIM2            (FTIM2_NOR_TCS(0x1) | \
                                        FTIM2_NOR_TCH(0xe) | \
                                        FTIM2_NOR_TWPH(0x0e) | \

                                        FTIM2_NOR_TWP(0x23))

 

Please suggest me to resolve this issue.

 

Regards

Winston

0 Kudos
3 Replies

1,552 Views
ufedor
NXP Employee
NXP Employee

Please provide the Flash data sheet.

0 Kudos

1,547 Views
winstonjacob
Contributor IV

Thanks for the immediate reply @ufedor , Here I attached the custom board NOR(IS29GL256) and reference board datasheet(MT28), please verify the attachment.

 

Regards

Winston

0 Kudos

1,542 Views
ufedor
NXP Employee
NXP Employee

Please use a digital scope to check that Flash device is capable to provide correct data - i.e. to ensure that it is possible to read Manufacturer ID correctly on LAD[0:15].

0 Kudos