T1022 SPI Flash uboot

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

T1022 SPI Flash uboot

748 Views
hitrichard
Contributor I

Hi!

Now I am developinging a T1022 board. I use a Winbond SPI FLASH as the RCW, PBI and uboot source. But I found after reading the RCW, the T1022 does not continue sending out the SPI_CLK to read the PBI.

IN the RCW, I config RCW[192:195]  PBI_SRC 0101 which means SPI 24-bit addressing. and I choose RCW[196:200] BOOT_LOC 1-0000 which means Memory complex 1 because I don't find an option of SPI. Is that right?

What should I config in RCW[203:213] IFC_MODE?

Do I need to config something else between RCW and PBI in the software?

Why the T1022 can't continue read the PBI after reading the RCW?

This picture is the config in SPI FLASH. The 00h before the red mark is the end of RCW[504:511], and the red mark 0925h is the start of PBI.

Thank you !

T1022.jpg

0 Kudos
3 Replies

670 Views
ufedor
NXP Employee
NXP Employee

Please attach complete SPI U-Boot image for inspection.

0 Kudos

670 Views
hitrichard
Contributor I

The first picture is the FPGA signaltap waveform. And the second picture is my SPI uboot. From the first picture, we can see that the T1022 did't continue reading the PBI from the SPI Flash after reading the RCW.  My RCW and PBI are in the same SPI Flash. So why the PBL didn't read the PBI?signaltap.jpgT1022_uboot.jpg

0 Kudos

670 Views
ufedor
NXP Employee
NXP Employee

Please attach complete SPI U-Boot binary image for inspection.

0 Kudos