主题中讨论的其他器件:SysConfig、UNIFLASH、
工具与软件:
大家好、团队成员:
我已经使用 SDK 中给出的示例、让 IPC Notify echo 测试多核启动和 IPC。
根据 SDK 中提供的默认路径(C:\ti\mcu_plus_sdk_am64x_10_00_00_20\examples\drivers\ipc\ipc_notify_echo\am64x-evm\m4fss0-0_nortos\ti-arm-clang)
我未找到 ipc_notify_echo.release.appimage.hs_fs 文件。
然后、开始使用 CCS 工具进行构建
在构建示例时发现 LOG_SHM_MEM、USER_SHM_MEM 等错误很少、因此我已通过在 SysConfig 文件中添加区域来修复这些错误
并能够成功构建所有 R5和 M4内核。
对于 A53内核、仍然发现很少错误
因此、我忽略了 A53内核、使用 下列命令将所有 R5和 M4内核 ipc_notify_echo.release.appimage.hs_fs 文件刷写到 OSPI
也刷新成功,请参阅下面的日志:
日志:
C:\ti\mcu_plus_sdk_am64x_10_00_00_20\tools\boot>python uart_uniflash.py -p COM29 --cfg=D:\projects\SE_AM6442\3.source\2.demo\2.spi\evk_spi_loopback\Workspace\mcspi_loopback_am64x-evm_m4cls0-arm_nortos\debugnortos_ti_nortos_debugang default_sbl_ospi_multi_partition.cfg
正在解析配置文件...
正在解析配置文件...成功。 找到7个命令!!!
正在执行命令1/7 ...
找到闪存写入器...正在发送 sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage
发送了大小为32.74s 的闪存写入器 sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage、大小为321150字节。
正在执行命令2/7 ...
命令参数:--file=../../examples/drivers/boot/sbl_ospi_multi_partition/am64x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_ospi_multi_partition.release.hs_fs.tiimage --operation=flash --flash-offset=0x0
发送了大小为321422字节(33.53s)的./../examples/drivers/boot/sbl_ospi_multi_partition/am64x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_ospi_multi_partition.release.hs_fs.tiimage。
[status]成功!!!
正在执行命令3/7...
命令参数:--file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-0_freertos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs --operation=flash --flash-offset=0x080000
在8.9s 内发送了大小为63610字节的/../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-0_freertos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs。
[status]成功!!!
正在执行命令4 of 7 ...
命令参数:--file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs --operation=flash --flash-offset=0x100000
发送了大小为22569字节的../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs、单位为5.04s。
[status]成功!!!
正在执行命令5,共7个...
命令参数:--file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs --operation=flash --flash-offset=0x180000
发送了大小为22569字节的../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs、单位为5.06s。
[status]成功!!!
正在执行命令6、共7个...
命令参数:--file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs --operation=flash --flash-offset=0x200000
发送了大小为22569字节的../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs、单位为5.05s。
[status]成功!!!
正在执行命令7/7 ...
命令参数:--file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/m4fss0-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs --operation=flash --flash-offset=0x280000
发送了大小为28165字节的./../examples/drivers/ipc/ipc_notify_echo/am64x-evm/m4fss0-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs、以5.53s 为单位。
[status]成功!!!
执行配置文件中的所有命令!!!
刷写完成后、将 EVM 置于 OSPI 引导模式、并观察到以下日志。
日志:
正在启动 OSPI 多分区引导加载程序...
DMSC 固件版本10.0.8--v10.00.08 (Fiery Fox)
DMSC 固件版本0xA
DMSC ABI 修订版4.0
信息:bootloader_runCpu:180:CPU r5F1-0初始化为800000000 Hz!!
信息:bootloader_runCpu:180:CPU r5F1-1被初始化为800000000 Hz!!
信息:bootloader_runCpu:180:CPU m4f0-0初始化为400000000 Hz!!
某些测试失败!!
请务必说明出了什么问题。

