This thread has been locked.

AM625-Q1: The issue regarding the DebugP_log printing function

Part Number: AM625-Q1
Other Parts Discussed in Thread: SYSCONFIG

I have a question that I'd like to ask you for advice

One: I can print garbled characters in CCS using the vprintf_ function, but cannot print in the serial port tool as shown in the figure in Attachment 1. 

img_v3_0212j_488ed3a8-5cb2-47da-925f-2355ae564f2g.jpg

Two: DebugP_log debug cannot be accessed and there is no print either. As shown in Figure 2 of Attachment.

img_v3_0212j_1ea1c8b7-5535-47d1-99bf-3a6f5f37403g.jpg

The current UART configuration is as follows :

/* UART Driver Parameters */

UART_Params gUartParams[CONFIG_UART_NUM_INSTANCES] =

{

    {

        .baudRate           = 115200,

        .dataLength         = UART_LEN_8,

        .stopBits           = UART_STOPBITS_1,

        .parityType         = UART_PARITY_NONE,

        .readMode           = UART_TRANSFER_MODE_BLOCKING,

        .readReturnMode     = UART_READ_RETURN_MODE_FULL,

        .writeMode          = UART_TRANSFER_MODE_BLOCKING,

        .readCallbackFxn    = NULL,

        .writeCallbackFxn   = NULL,

        .hwFlowControl      = FALSE,

        .hwFlowControlThr   = UART_RXTRIGLVL_16,

        .transferMode       = UART_CONFIG_MODE_POLLED,

        .skipIntrReg        = FALSE,

        .uartDmaIndex = -1,

        .intrNum            = 219U,

        .intrPriority       = 4U,

        .operMode           = UART_OPER_MODE_16X,

        .rxTrigLvl          = UART_RXTRIGLVL_8,

        .txTrigLvl          = UART_TXTRIGLVL_32,

        .rxEvtNum           = 0U,

        .txEvtNum           = 0U,

    },

};

c3f525f3-9c85-4b4d-a723-19c78d06dba7.jpeg

I would like to ask: 1. Why doesn't DebugP_log take effect? 2. How to print normally? 

  • Hi,

    There are some checks which may not be enabled in SysConfig of your application. I have assigned this ticket to another expert who can help answer this.

    Regards,

    Vaibhav

  • Hi,

    Your image1 shows the garbage character in CIO but the image2 does not shows the same. Is the same application running on both cases?

    What have changed between image1 and image2? 

    Can you also share your UART configuration settings from Sysconfig?

    Regards,

    Tushar

**Attention** This is a public forum