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.

MCU-PLUS-SDK-AM243X: Using "printf" on core M4f for AM2434 device

Part Number: MCU-PLUS-SDK-AM243X

Hello,

I had a question regarding "printf".
On R5 core, using "printf" outputs on the UART terminal (enabled UART on syscfg).

We want to replicate similar behavior for M4 core as well. On M4 Syscfg, UART is enabled but nothing comes up when I use "printf".
Note: "DebugP_log" does print out to the UART terminal, but I want to figure out why printf won't achieve the same behavior as it does on R5f.

Thank you

  • Hi Himel,

    The printf will not output to the UART console. It only output to the CCS console.

    DebugP_log(), on the other hand, can output to CCS console and/or UART console depending on the syscfg "Debug Log" selection.

    Please refer to the Hello World example - hello_world_am243x-evm_m4fss0-0_nortos_ti-arm-clang for details.

    Best regards,

    Ming