In this step we will flash the application that we have build and run using CCS to the EVM flash. We can then boot this application without being connected to CCS via JTAG.
.appimage
is generated. This is the file we need to flash.${SDK_INSTALL_PATH}/examples/hello_world/{board}/r5fss0-0_freertos/ti-arm-clang/hello_world.release.appimage
${CCS_WORKSPACE_PATH}/hello_world_{board}_r5fss0-0_freertos_ti-arm-clang/Release/hello_world_{board}_r5fss0-0_freertos_ti-arm-clang.appimage
${SDK_INSTALL_PATH}/examples/drivers/ipc/ipc_notify_echo/{board}/system_freertos_nortos/ipc_notify_echo_system.release.appimage
${CCS_WORKSPACE_PATH}/ipc_notify_echo_{board}_system_freertos_nortos/Release/ipc_notify_echo_system.appimage
${SDK_INSTALL_PATH}/tools/boot/sbl_prebuilt/{board}/default_sbl_qspi.cfg
.appimage
file. Give the absolute path to the .appimage
file or path relative to ${SDK_INSTALL_PATH}/tools/boot
. Make sure to use forward slash /
in the filename path. –file=../../examples/drivers/ipc/ipc_notify_echo/{board}/system_freertos_nortos/ipc_notify_echo_system.release.appimage –operation=flash –flash-offset=0x80000
cd ${SDK_INSTALL_PATH}/tools/boot python uart_uniflash.py -p COM<x> --cfg=sbl_prebuilt/am273x-evm/default_sbl_qspi.cfg
/dev/ttyUSB0
python3
to invoke python3.x, just python
command may invoke python 2.x which will not work with the flashing script.
Starting QSPI Bootloader ... [BOOTLOADER PROFILE] System_init : 483us [BOOTLOADER PROFILE] Drivers_open : 12us [BOOTLOADER PROFILE] Board_driversOpen : 2715us [BOOTLOADER PROFILE] CPU load : 49459us [BOOTLOADER_PROFILE] SBL Total Time Taken : 52670us Image loading done, switching to application ... [DPL] Hwi post ... [DPL] Hwi post ... DONE !!! [DPL] Sleep for 100 msecs ... [DPL] Sleep ... DONE (Measured time = 99752 usecs, CPU cycles = 71849 ) !!! [DPL] Running cache operations ... [DPL] Running cache operations ... DONE !!! [DPL] Heap free size = 1984 bytes [DPL] Allocated 1023 bytes @ 0x10266080, heap free size = 896 bytes [DPL] Free'ed 1023 bytes @ 0x10266080, heap free size = 1984 bytes All tests have passed!!