I have a board frdm-ls1012a-pa,now,i need flash ppa firmware to QSPI flash,command `sf write 0x96000000 0x50000 $ppa_file_size` and reset board,but serial console print
Reset Configuration Word (RCW):
00000000: 08000008 00000000 00000000 00000000
00000010: 33050000 c000000c 40000000 00001800
00000020: 00000000 00000000 00000000 000c4571
00000030: 00000000 00c28120 00000096 00000000
I2C: ready
DRAM: 510 MiBfsl-ppa: Bad firmware image (not a FIT image)
fsl-ppa: error (-22)
Using SERDES1 Protocol: 13061 (0x3305)
SF: Detected S25FS512S_256K with page size 512 Bytes, erase size 128 KiB, total 64 MiB
Can you help me,thanks
Hello 穆 昆空,
PPA FIT image is at 0x4050_0000, offset 0x500000 on QSPI flash. Please refer to the following procedure.
=>tftp 0x80000000 ppa.itb
=>sf probe 0:0
=>sf erase 0x500000 +$filesize
=>sf write 0x80000000 0x500000 $filesize
=>reset
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------