This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDS64EVM:将用户's 数据写入 OSPI 闪存

Guru**** 2324840 points
Other Parts Discussed in Thread: UNIFLASH
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1524853/tmds64evm-writing-user-s-data-to-ospi-flash

器件型号:TMDS64EVM
Thread 中讨论的其他器件:UNIFLASH

工具/软件:

您好:

在 default_sbl_ospi.cfg 文件中、当执行用户应用程序的 OSPI 闪存编程时、如此处的内容所示:  

-- flash-writer=sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage

"
#现在发送一个或多个文件到闪存或 flashverify 根据需要。 发送文件的顺序无关紧要

#对 OSPI PHY 调优攻击向量进行编程
--操作=flash-phy-tuning-data

#发送引导加载程序时、请确保闪存偏移为0x0。 ROM 期望引导加载程序位于偏移量0x0处
-file=sbl_prebuilt/am64x-evm/sbl_ospi.release.hs_fs.tiimage --operation=flash --flash-offset=0x0

#发送应用程序映像时,请确保以偏移0x80000 (默认值)或引导加载程序配置的任何偏移进行闪存
--file=C:/Users/user_application/user_application.release.appimage.hs_fs --operation=flash --flash-offset=0x80000

#为此应用程序发送 XIP 映像,由于闪存偏移是在映像中指定的,因此无需指定闪存偏移
--file=C:/Users/user_application/user_application.release.appimage_xip --operation=flash-XIP
"
现在、如果我想将用户的二进制数据编程到 OSPI 闪存中以供后续使用、假设位置为0x280000、我是否可以只添加此文件中的另一个命令行为:?
--file=C:/Users/user_application/user_data.bin --operation=flash --flash-offset=0x280000
目的是在我的应用中、我稍后前往该 OSPI 闪存存储器检索 user_data.bin 以供应用使用。 这是怎么编程的?
谢谢、
Huynh
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Huynh:

    [引述 userid="555281" url="~/support/processors-group/processors/f/processors-forum/1524853/tmds64evm-writing-user-s-data-to-ospi-flash
    现在、如果我想将用户的二进制数据编程到 OSPI 闪存中以供后续使用、假设位置为0x280000、我是否可以只添加此文件中的另一个命令行为:?
    --file=C:/Users/user_application/user_data.bin --operation=flash --flash-offset=0x280000
    [/报价]

    正确的是、可以使用此命令刷写文件。

    此致、

    会面。