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.

AM2634: Multi-core UART log is not output

Part Number: AM2634
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello. Dear TI team,

I want to create an empty project and check the operation of the 5 cores in the UART log.
UART logs for r5fss0-0 are output, but UART logs for other cores are not output.
I am using terminal software to check the UART log. I also tried the CCS log, but there is no output.
What am I missing?

e2e.ti.com/.../am2634-sysconfig-enable-uart-log-for-multiple-cores
I referred to this, but could not resolve the issue.

environment:
*CCS12.7.0
*AM243x MCU+SDK 09.02.01.05
*LP-AM2434

We confirmed in advance that the UART log of the IPC sample is output.
I tried importing IPC samples r5fss0-0 and r5f1-1 into my empty project, but no UART logs other than r5fss0-0 are output.
The example.syscfg and CCS build settings should be the same as the IPC sample, but the UART log is not output.

IPC sample logs have CORE names appended to them.

[r5f1-1]     6.801416s : 2024.07.11.1948[R5F][1-1][IPC] [IPC NOTIFY ECHO] Remote core has echoed all messages !!!

I think it is added in the UART log driver.
I think there is probably a setting to enable UART logging.

Thank you and looking forward for your response.
Regards,
Yoshiki Koide

  • Hello Yoshiki,

    Thanks for your question.

    So to enable a UART log for a specific project, you need to add a UART port in the SysConfig GUI.

    In the attached screenshot above, simply go ahead and check the option: Enable UART log

    Regards,

    Vaibhav

  • Hello Vaibhav,
    Thank you for your answer.

    UART log of r5fss0-0 is output.
    I turned on the Enable UART Log checkbox for other than r5fss0-0, but there is no output.

    software-dl.ti.com/.../KERNEL_DPL_DEBUG_PAGE.html

    "It is recommended to enable UART logging and shared memory reader on one "main" core and other core's should enable the shared memory writer."
    It has been described as.
    In the IPC sample, the Enable UART Log checkbox is OFF except for r5fss0-0. I think OFF is correct.

    There was a difference between the MPU ARMv7 of the IPC sample and my ARMv7, so I tried to correct it.
    When CONFIG_MPU_REGION5 was added and CONFIG_MPU_REGION4 was modified, logs other than r5fss0-0 were output.

    Start address after correction:
      CONFIG_MPU_REGION4    701d 0000
      CONFIG_MPU_REGION5    6000 0000

    Start address before modification:
      CONFIG_MPU_REGION4    6000 0000
      CONFIG_MPU_REGION5    undefined

    When you build, a map file will be output.
    If you check 701d0000, it is assigned USER_SHM_MEM.
    If you check 701d0180, LOG_SHM_MEM is assigned.

    If the MPU ARMv7 settings are incorrect, UART logs will not be output.