主题中讨论的其他器件: UNIFLASH
工具与软件:
尊敬的 TI 团队:
我们有基于 AM2432的定制电路板。
我们希望通过 UART 来刷写 hello world 应用。
以下是我们正在执行的步骤:
1.通过 OSPI Read_write SDK 代码检查 SPI 闪存——结果——"所有测试都通过"
2. MCU 现在是 UART 引导通过命令提示符加载 hello world 代码--
#首先指向 sbl_uart_uniflash 二进制文件,其作为服务器来刷写一个或多个文件
--flash-writer=sbl_prebuilt/am243x-lp/sbl_uart_uniflash.release.hs_fs.tiimage
#现在根据需要将一个或多个文件发送到闪存或闪存验证。 文件的发送顺序无关紧要#对 OSPI PHY 调优攻击向量进行编程
--operation=flash-phy-tuning-data
#发送 bootloader 时、请确保闪存偏移量为0x0。 ROM 期望引导加载程序位于偏移量0x0处
--file=sbl_prebuilt/am243x-lp/sbl_ospi.debug.hs_fs.tiimage --operation=flash --flash-offset=0x0
#发送应用程序映像时、请确保以偏移0x80000 (默认值)或引导加载程序配置的任何偏移刷写
--file=C:/ti/hello_world_am243x-lp_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs --operation=flash --flash-offset=0x80000
3.应用硬复位并通过命令提示符 run-- python uart_uniflash.py -p COM16 --cfg=sbl_prebuilt/am243x-lp/ default_sbl_null.cfg
3.通过 CCS 启动目标配置并连接目标 R5_0_0
4.加载 GEL 文件以更改引导模式、并选择"解锁引导重置"、然后选择"SPI Boot"、然后选择"热重置"
5.理论上、MCU 必须从 闪存引导并将应用程序加载到 RAM 中、然后执行 hello world 以打印"Hello world"但无法打印任何内容
请尽早告知
此致、
Santosh