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.

AM6442: Shared Memory Log Reader - NoRTOS

Genius 17695 points
Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Hi Experts,

Seeking your assistance on behalf of my customer:

I'm working on a AM64x. In particular, I have 3 R5F cores working with bare-metal firmware (NoRTOS). I would like to enable the shared memory debug feature. For this purpose, I enabled (via SysConfig) the option "Shared Memory Log Writer" on 2 of the 3 cores. On the third core I enabled both "Shared Memory Log Writer" and "Shared Memory Log Reader", in order to be able to output the logs to UART. The problem arises when I try to compile the project of the third core (the one with both options enabled). During linking I get the following message: 

makefile:154: recipe for target 'ipc_rpmsg_echo_am64x-sk_r5fss0-1_nortos_ti-arm-clang.out' failed
 
 undefined               first referenced        
  symbol                     in file             
 ---------               ----------------        
 DebugP_shmLogReaderInit ./syscfg/ti_dpl_config.o
 
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ipc_rpmsg_echo_am64x-sk_r5fss0-1_nortos_ti-arm-clang.out" not built

Indeed, if I look inside makefile.am64x.r5f.ti-arm-clang under <MCU_PLUS_INSTALL_DIR>\source\kernel\nortos, I notice that file DebugP_shmLogReader.c is not included in the list of files to compile. This means that in the final library file (nortos.am64x.r5f.ti-arm-clang.$(PROFILE).lib) there's no definition of function DebugP_shmLogReaderInit.

On the other hand, if I do the same thing on a FreeRTOS example, the project compiles and links successfully.

Why is that so? Am I not supposed to use "Shared Memory Log Writer" when working with NoRTOS? 

Thank you in advance for your help.

Regards,
Archie A.