Tool/software:
I have tried building a one dsp example with CCS 20.3.0, from https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-J721E/08.02.00.05, ti-processor-sdk-rtos-j721e-evm-08_02_00_05\dsplib_c66x_3_4_0_0\examples\QRD_dp_least_squares_ex
I made some changes to the include and libs path and made it compile. I managed to connect to one C66 DSP, but could not load the firmware or debug it. I get the following error :
C66xx_0: GEL: File: C:\Users\hsous\workspace_ccstheia\QRD_dp_least_squares_Example_66_BE_ELF\Debug\QRD_dp_least_squares_Example_66_BE_ELF.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).
Since the error log indicate an endianess issue, I tried changing the compilation flag from --big-endian to --little-endian
But I still get the following issue:
C66xx_0: Trouble Reading Memory Block at 0x8e8e80 on Page 0 of Length 0x4: (Error -1190 @ 0x8E8E80) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.3.0.3656) C66xx_0: File Loader: Verification failed: Target failed to read 0x008E8E80 C66xx_0: GEL: File: C:\Users\hsous\workspace_ccstheia\QRD_dp_least_squares_Example_66_BE_ELF\Debug\QRD_dp_least_squares_Example_66_BE_ELF.out: Load failed
I use the ti-processor-sdk-linux-edgeai image, I am not sure wether the OS is interfering with the system.