QSPI FLASH: S25FS512
I used the command "sf write" to program the image to QSPI, but it didn't work. It seems the image size will affect the program result. I have taken some program tests based on two scenarios below:
The total image size is 54MB. I only programmed the first 16MB to the QSPI with command "sf write" at this scenario. Then using "sf read" to verify that I found the first 256 Bytes data was missing (Fig. 2). Afterward, I used CodeWarrior to read and check it successfully programmed that means there is no data missing. (Fig. 1)
I used the "sf write" to program the first 32MB to the QSPI. Then using "sf read" to check, and I found all data was completely different with the original image. (Fig. 3)
How can I fix this issue?
Figure 1. Image file
Figure 2. sf write 16MB to QSPI & read result
Figure 3. sf write 32MB to QSPI & read result
Solved! Go to Solution.
Do you use LSDK 20.12?
How do you generate u-boot image?
On LS1043AQDS board, QSPI is support, you could generate SD boot firmware image with the following command to enable QSPI device in u-boot.
$ flex-builder -i mkfw -b sd -m ls1043aqds
Do you use LSDK 20.12?
How do you generate u-boot image?
On LS1043AQDS board, QSPI is support, you could generate SD boot firmware image with the following command to enable QSPI device in u-boot.
$ flex-builder -i mkfw -b sd -m ls1043aqds