How to read NOR flash register via IFC bus in u-boot (LS1021A )

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read NOR flash register via IFC bus in u-boot (LS1021A )

Jump to solution
882 Views
winstonjacob
Contributor IV

I am working with ls1021a, which is having NOR(IS29GL256) flash connected via IFC bus, I want to read the device ID, is their any command or other way to read the register(device ID) in u-boot, please suggest me to get this.

 

Regards

Winston.

0 Kudos
1 Solution
851 Views
winstonjacob
Contributor IV

Thanks  for your immediate reply, @ufedor  that is working properly in LS1021ATWR board.

Regards

Winston

View solution in original post

0 Kudos
4 Replies
873 Views
ufedor
NXP TechSupport
NXP TechSupport

For 16-bit NOR Flash it is possible to use the following sequence of U-Boot commands to read Device ID (example is for the JS28F00 and the IFC Flash chip-select base address 0xe8000000):

=> mw.w e8000AAA aa;mw.w e8000554 55; mw.w e8000AAA 90;md.w e8000002 1;md.w e800001c 1;md.w e800001e 1
e8000002: 227e "~
e800001c: 2228 "(
e800001e: 2201 ".
=>

0 Kudos
862 Views
winstonjacob
Contributor IV

Thanks for your reply @ufedor,

              I tried with the same command for my EVK (LS1021ATWR) board, I am getting on FFFF and here my NOR flash is MT28EW01GABA.

=> mw.w 60000554 aa;mw.w 600002AA 55; mw.w 60000554 90;md.w 60000002 1;md.w 6000000e 1
60000002: ffff ..
6000000e: ffff ..
=>

I am not getting the proper result, so please help me to resolve this issue

Regards

Winston

0 Kudos
854 Views
ufedor
NXP TechSupport
NXP TechSupport

On the TWR board:

=> mw.w 60000AAA aa00;mw.w 60000554 5500; mw.w 60000AAA 9000;md.w 60000002 1;md.w 6000001c 1;md.w 6000001e 1

60000002: 7e22                                       "~

6000001c: 2822                                       "(

6000001e: 0122                                       ".

0 Kudos
852 Views
winstonjacob
Contributor IV

Thanks  for your immediate reply, @ufedor  that is working properly in LS1021ATWR board.

Regards

Winston

0 Kudos