This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: Load and run C7x application with CCS and Linux boot

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Hello

Setup:

Part number is TDA4VH
Evaluation board is J784S4XG01EVM
Boot mode is SD Card (with uboot and Linux image), device is GP (not High security)
Target configuration file used : xxx_NO_GEL.ccxml
CCS v12 is used.
SDK RTOS 8.6 is used
SDK Linux 8.6 is used
J784s4 linker file found in SDK

Goal : Load and execute C7x application with FreeRTOS through CCS after linux boot

what works :
- Load & run C7x app (built with makefiles in SDK RTOS) with FreeRTOS with the SDK linker modified to the _c_int00 entry point instead of _c_int00_secure
the issue with that is that "Init_MMU" is not called before calling Main
the cores seem to be in non-secure mode so cannot modify Cache & MMU

what doesn't work:
- when the C7x app is built with the default linker file with _c_int00_secure, when the C7x core is loaded through CCS, the core starts running but never reaches "Main"  and we paused, CCS errors appears

Can you help making the C7x cores start in secure mode ?

Thank you
Best regards 
Clement

PS: in no boot mode, loading C7x code with _c_int00_secure works but in this case we really need to boot Linux first.