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.
工具与软件:
您好!
我在使用 SDKv10.01.00.31的定制电路板上使用 AM263PX。 电路板有一个 QSPI 闪存、我要尝试使用 SDK 中提供的 UART 闪存工具对其进行编程。 我的目标是使用 SDK 中的 uart_uniflash.py 工具来执行我的定制.cfg 文件。 该文件具有以下命令
-- flash-writer=c:/ti/mcu_plus_sdk_am263px_10_01_00_31/tools/boot/sbl_prebuilt/am263px-lp/sbl_uart_uniflash.release.tiimage
# SBL
--file=C:/ti/mcu_plus_sdk_am263px_10_01_00_31/tools/boot/sbl_prebuilt/am263px-lp/sbl_ospi.debug.tiimage --operation=flash --flash-offset=0x0
#应用图像
--file={path_to_my_appimage}.appimage --operation=flash --flash-offset=0x81000
将引导引脚设置为 UART 模式后、当我运行 闪存脚本时、第一个命令(写入闪存写入器)始终会成功执行、但随后我会停留在 SBL 阶段。 EVM 从不响应 xmodem 发送。
谢谢!
尊敬的 Rivrat:
对于定制板、您需要使用自定义闪存配置重新构建 Flasher 二进制文件。
您能提供以下详细信息吗?
您使用的是哪个闪存部件?
2.是否支持 SFDP?
根据上述答案、您可以修改 flasher.out 二进制文件、如下所述:
e2e.ti.com/.../lp-am263p-how-to-load-an-image-to-flash-from-uniflash
闪存为 Infineon S25FL128S。
是否可以修改 UART uniflash 映像、因为 SDK 似乎仅提供预编译的映像?
谢谢
是的、可以修改 UART uniflash 映像。
示例工程位于: C:\ti\mcu_plus_sdk_am263px_10_01_00_27\examples\drivers\boot\sbl_uart_uniflash
明白了。 因此、如果我的闪存器件仅启用 QSPI 并且没有 SFDP、我如何修改驱动程序示例以自动期望/使用 QSPI 写入闪存?
您将需要通过查看闪存数据表在 syscfg 中手动输入详细信息。