Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG, UNIFLASH,
Tool/software:
Hi Team,
I have used the example given in the SDK for the IPC notify echo to test the multicore booting and IPC also.
From the default path provided in 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)
i have not found the ipc_notify_echo.release.appimage.hs_fs file.
then started building using the CCS tool
while building example found few errors for LOG_SHM_MEM ,USER_SHM_MEM etc then i have fixed these by adding the region in the sysconfig file
and able build successfully for all r5 and m4 core.
for a53 core still few errors found
So, i have ignored the a53 core and used all the r5 and m4 core ipc_notify_echo.release.appimage.hs_fs file to flash to OSPI using the commands listed below
Also flashed success, please see log below :
Logs:
C:\ti\mcu_plus_sdk_am64x_10_00_00_20\tools\boot>python uart_uniflash.py -p COM29 --cfg=D:\Projects\SE_AM6442\3.Sources\2.Demo\2.SPI\EVK_SPI_loopback\Workspace\mcspi_loopback_am64x-evm_m4fss0-0_nortos_ti-arm-clang\Debug\default_sbl_ospi_multi_partition.cfg
Parsing config file ...
Parsing config file ... SUCCESS. Found 7 command(s) !!!
Executing command 1 of 7 ...
Found flash writer ... sending sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage
Sent flashwriter sbl_prebuilt/am64x-evm/sbl_uart_uniflash.release.hs_fs.tiimage of size 321150 bytes in 32.74s.
Executing command 2 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/boot/sbl_ospi_multi_partition/am64x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_ospi_multi_partition.release.hs_fs.tiimage of size 321422 bytes in 33.53s.
[STATUS] SUCCESS !!!
Executing command 3 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-0_freertos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs of size 63610 bytes in 8.9s.
[STATUS] SUCCESS !!!
Executing command 4 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss0-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs of size 22569 bytes in 5.04s.
[STATUS] SUCCESS !!!
Executing command 5 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs of size 22569 bytes in 5.06s.
[STATUS] SUCCESS !!!
Executing command 6 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/r5fss1-1_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs of size 22569 bytes in 5.05s.
[STATUS] SUCCESS !!!
Executing command 7 of 7 ...
Command arguments : --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
Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/m4fss0-0_nortos/ti-arm-clang/ipc_notify_echo.release.appimage.hs_fs of size 28165 bytes in 5.53s.
[STATUS] SUCCESS !!!
All commands from config file are executed !!!
After flashing complete put the evm to OSPI boot mode and following logs are observed.
Logs:
Starting OSPI Multi-Partition Bootloader ...
DMSC Firmware Version 10.0.8--v10.00.08 (Fiery Fox)
DMSC Firmware revision 0xa
DMSC ABI revision 4.0
INFO: Bootloader_runCpu:180: CPU r5f1-0 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:180: CPU r5f1-1 is initialized to 800000000 Hz !!!
INFO: Bootloader_runCpu:180: CPU m4f0-0 is initialized to 400000000 Hz !!!
Some tests have failed!!
Please do explain what went wrong.

