Other Parts Discussed in Thread: UNIFLASH
器件型号: AM2612
Thread 中讨论的其他器件: UNIFLASH
我正在尝试 从最新的 REL.AM261X-4.2.0-ti-26.00.00.00 Zephyr 版本中刷写 SAMPLE_XIP_APP。 我遵循了电路板 自述文件中的步骤列表 、但在运行 uart_uniflash 脚本时收到以下错误。
C:\ti\ind_comms_sdk_am261x_10_02_00_17\mcu_plus_sdk\tools\boot>python uart_uniflash.py -p COM11 --cfg="C:\Development\git\buad\dl100_prime\communication_board\build\zephyr-arm-zephyr-eabi-armv7-debug\bin\ssi\uart_uniflash_sample_xip.cfg"
Parsing config file ...
Parsing config file ... SUCCESS. Found 5 command(s) !!!
Executing command 1 of 5 ...
Found flash writer ... sending sbl_prebuilt/am261x-lp/sbl_uart_uniflash.release.tiimage
Sent flashwriter sbl_prebuilt/am261x-lp/sbl_uart_uniflash.release.tiimage of size 51833 bytes in 6.82s.
Executing command 2 of 5 ...
Command arguments : --operation=flash-phy-tuning-data
Sent flash-phy-tuning-data in 3.58s.
[STATUS] SUCCESS !!!
Executing command 3 of 5 ...
Command arguments : --file=sbl_prebuilt/am261x-lp/sbl_ospi.release.tiimage --operation=flash --flash-offset=0x0
Sent sbl_prebuilt/am261x-lp/sbl_ospi.release.tiimage of size 224732 bytes in 23.0s.
[STATUS] SUCCESS !!!
Executing command 4 of 5 ...
Command arguments : --file=../../../../../Development/zephyr/zephyrproject/zephyr/samples/boards/ti/am261x_lp/sample_xip_app/build/zephyr_final.mcelf --operation=flash-sector-write --flash-offset=0x81000
Sent ../../../../../Development/zephyr/zephyrproject/zephyr/samples/boards/ti/am261x_lp/sample_xip_app/build/zephyr_final.mcelf of size 215148 bytes in 22.17s.
[STATUS] SUCCESS !!!
Executing command 5 of 5 ...
Command arguments : --file=../../../../../Development/zephyr/zephyrproject/zephyr/samples/boards/ti/am261x_lp/sample_xip_app/build/zephyr_final.mcelf_xip --operation=flash-xip
Sent ../../../../../Development/zephyr/zephyrproject/zephyr/samples/boards/ti/am261x_lp/sample_xip_app/build/zephyr_final.mcelf_xip of size 16672 bytes in 4.52s.
[STATUS] ERROR: Flashing failed !!!
All commands from config file are executed !!!
构建示例时、我不确定应该使用哪个 MCU+ SDK 版本、因为它未在自述文件中列出。 我假设这是 v10.02.00、因为 v11_00_29 中没有这个名称的 sbl_ospi.release.tiimage 文件。 我还验证了我的 AM261X LaunchPad 设置为 UART 引导模式。 如果重要、我将使用此 LaunchPad 的新硬件版本(即集成以太网端口)。
我尝试刷写我自己的示例应用、其中 CONFIG_XIP 为活动状态和未激活状态、但每次都出现相同的错误。 尝试写入 XIP 映像时的刷写过程始终失败。