Tool/software:
I am trying to run the DSPLIB kernels from ti-processor-sdk-rtos-j784s4-evm-10_01_00_04 and I am having problems running the DSPLIB_add test. Below are the details about my setup.
- I am using J784S4 RTOS SDK 10.01.00.04 on Ubuntu 22.04.1 host
- I have followed the DSPLIB build instructions at this link: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/10_01_00_04/exports/docs/dsplib/docs/user_guide/build_instructions_linux.html
- I have followed the CCS baremetal instructions at this link: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/latest/exports/docs/psdk_rtos/docs/user_guide/ccs_setup_j784s4.html#debugging-without-hlos-running-on-a72-rtos-only-baremetal
- I am using a new J784S4XG01EVM rev PROC141E5(001)
I successfully built the code using the command below to build test_DSPLIB_add_C7120.out
cmake -B build -DTARGET_PLATFORM="" -DBUILD_TEST="1" -DKERNEL_NAME="DSPLIB_add" -DSOC="j784s4" -DDEVICE="C7120" -DDSPLIB_DEBUGPRINT="0" -DCMAKE_EXPORT_COMPILE_COMMANDS="TRUE" -DMAKE_BUILD_TYPE="Debug”
I then used the following steps to run on-target
- ‘Run’ -> ‘Connect Target’ on C71X_0
- ‘Run’ -> ‘Load’ -> ‘Load Program’
- ‘Run’ -> ‘Resume’
When I run test_DSPLIB_add_C7120.out executable, I don’t get any cycle outputs. The CIO window gets populated with the header, but then no cycle values are printed for any test iterations. See below screenshot of the output.
Further more, when I halt the C7x core, CCS gives the following error. Is it expected?
In contrast, when I use the same build command for DSPLIB_cholesky the kernel runs and gives cycle counts for each iteration as shown below.
Why is the DSPLIB_add kernel not running correctly?