Serial port debug strange character

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WGT_4383351
Level 5
Level 5
First like received

void

CyFxBulkLpDmaCallback (

        CyU3PDmaChannel   *chHandle, /* Handle to the DMA channel. */

        CyU3PDmaCbType_t  type,      /* Callback type.             */

        CyU3PDmaCBInput_t *input)    /* Callback status.           */

{

    if (type == CY_U3P_DMA_CB_PROD_EVENT)

    {

    CyU3PDebugPrint(4,"PROD_EVENT\n");

    }

    if (type == CY_U3P_DMA_CB_CONS_EVENT)

    {

    CyU3PDebugPrint(4,"CONS_EVENT\n");

    }

}

1.jpg

Another problem is, if use \n then the text on the next line will begin after the last text of the previous line, if use \r\n then it will alwasy scroll down.

0 Likes
1 Solution
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please change the terminal setting in Tera term (setup -> terminal), Receive : CR + LF .

Also, please open the teraterm before the firmware starts executing.

Thanks,

Yatheesh

View solution in original post

0 Likes
1 Reply
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please change the terminal setting in Tera term (setup -> terminal), Receive : CR + LF .

Also, please open the teraterm before the firmware starts executing.

Thanks,

Yatheesh

0 Likes