Tool/software:
How we can get the trace log information at remote cores into QNX debug terminal?
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.
Tool/software:
How we can get the trace log information at remote cores into QNX debug terminal?
Trace log information at remote cores will be saved in trace buffer, which is shared via IPC resources table.
If the remote core is running vision-apps, we can get the trace log of vision-apps remote cores like MCU2_0, MCU2_1 by running vision init script on QNX.
Trace log of remote core running vision applications:
# cd /ti_fs/vision_apps
# . ./vision_apps_init.sh
Trace log of remote core running non-vision applications:
If remote core application is non-vision application, and trace logs are enabled on remote core application then we can get trace log by running "ipc_trace_logger" utility in QNX.
Refer to "PSDK QNX/qnx/utils/ipc_trace_logger/src/ipc_trace_logger.use" file for usage of ipc_trace_logger utility.
For getting remote cores trace log, utility need trace buffer details like buffer base address, buffer size these can be find from remote core .map file generated during building of remote core application.
Ex:
In order to get trace log of ETHFW standalone application, get the trace buffer address from ETHFW .map file (.tracebuf address) and use ipc_trace_logger with address and size as captured below for reference.