Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello,
In the default_sbl_ospi.cfg file that when executes the OSPI flash programming of user's application as shown in the content here :
--flash-writer=sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage
"
# Now send one or more files to flash or flashverify as needed. The order of sending files does not matter
# Program the OSPI PHY tuning attack vector
--operation=flash-phy-tuning-data
# When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0
--file=sbl_prebuilt/am64x-evm/sbl_ospi.release.hs_fs.tiimage --operation=flash --flash-offset=0x0
# When sending application image, make sure to flash at offset 0x80000 (default) or to whatever offset your bootloader is configured for
--file=C:/Users/user_application/user_application.release.appimage.hs_fs --operation=flash --flash-offset=0x80000
# send the XIP image for this application, no need to specify flash offset since flash offset is specified within the image itself
--file=C:/Users/user_application/user_application.release.appimage_xip --operation=flash-xip
"
Now if I want to program the user's binary data into OSPI flash for later use, let's say the location 0x280000, can I just add the other command line in this file as :?
--file=C:/Users/user_application/user_data.bin --operation=flash --flash-offset=0x280000
The purpose is in my application I later go to this OSPI flash memory to retrieve the user_data.bin for my application use. Is this the way to program it ?
Thanks,
Huynh