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.

TMS320F2800133: Different behavior for strlen

Part Number: TMS320F2800133
Other Parts Discussed in Thread: TMS320F2800157, SYSCONFIG

Tool/software:

I get different out for below code while use "strlen."

    char str[] = "Hello my dear world";
    uint8_t len = strlen(str");
    
    // HERE len VALUE IS 23  ????????
    
    len = strlen("Hello my dear world");
    
    //HERE len VALUE IS 32080 ???????
"

But when I use for TMS320F2800157, this function works perfect ( length is 19 ) and NO issue.