I am trying to debug some QuadSPI problems and ran into the follow odd behaviour when attempting to read from memory from a u-boot shell.
The reference manual says the LUT Key Register (QuadSPIx_LUTKEY) is at Base address + 300h offset, and Look-up Table register (QuadSPIx_LUT0) is at Base address + 310h offset.
However I cannot seem to read them. The base address for the QuadSPI is 0x30BB0000
=> md 0x30bb0300 4
30bb0300: ffffffff ffffffff ffffffff ffffffff ................
The reset value for (QuadSPIx_LUTKEY) should not be 0xfffffff
Reading Serial Flash Address Register (QuadSPIx_SFAR) at Base address + 100h offset yields:
> md 0x30bb0100 4
30bb0100: 6008ff80 00000000 00000000 00000000 ...`............
Which seems right...
Hi Bio_TICFSL, thanks for following up! I gave up on this.
I followed as it said in the datasheet which as of a few weeks ago was the latest.
If you are saying it should be 410h, then that could be the problem!