Part Number: AM5716
I am using Custom Board with Sitara AM5716. I have successfully boot it via U-boot by sending the SPL and U-boot image via UART. I have QSPI Flash memory of part number "S25FS512S" in my board. I want to test the peripheral using u-boot command.
So Output of my sf probe is
=> sf probe
SF: Detected s25fs512s with page size 512 Bytes, erase size 4 KiB, total 64 MiB, mapped at 5c000000
So this implies that the device got detected . But when I try to erase, write and read data, I am getting wrong output.
The commands I tried in u-boot to test QSPI memory is ::
=> mw 90000000 ff 40000
=> mw a0000000 aa 40000
=> sf erase 0 40000
SF: 262144 bytes @ 0x0 Erased: OK
=> sf write 90000000 0 40000
device 0 offset 0x0, size 0x40000
SF: 262144 bytes @ 0x0 Written: OK
=> sf read a0000000 0 40000
device 0 offset 0x0, size 0x40000
SF: 262144 bytes @ 0x0 Read: OK
=> md a0000000 ff
a0000000: 00000000 00000000 00000000 00000000 ................
a0000010: 00000000 00000000 00000000 00000000 ................
a0000020: 00000000 00000000 00000000 00000000 ................
a0000030: 00000000 00000000 00000000 00000000 ................
a0000040: 00000000 00000000 00000000 00000000 ................
a0000050: 00000000 00000000 00000000 00000000 ................
a0000060: 00000000 00000000 00000000 00000000 ................
a0000070: 00000000 00000000 00000000 00000000 ................
a0000080: 00000000 00000000 00000000 00000000 ................
a0000090: 00000000 00000000 00000000 00000000 ................
a00000a0: 00000000 00000000 00000000 00000000 ................
a00000b0: 00000000 00000000 00000000 00000000 ................
a00000c0: 00000000 00000000 00000000 00000000 ................
a00000d0: 00000000 00000000 00000000 00000000 ................
a00000e0: 00000000 00000000 00000000 00000000 ................
a00000f0: 00000000 00000000 00000000 00000000 ................
I was expecting data 'ff' in memory a0000000 after the sf read command. What could be the issue ? Kindly guide me, where I need to check?