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.

Linux/TMS570LC4357: Virtual Coms?

Part Number: TMS570LC4357

Tool/software: Linux

Hello again,

I am trying to port my SW to Linux now and I want to reproduce my simple hello world over serial. I can build and run the SW on target using the CCS debugger. My two board ports are : ttyACM0 and ttyACM1.

The code is the one I used before:

#define SCI_PORT sciREG1

void main(void)
{
    gioInit();
    sciInit();
    while(1)
    {
        sciSend(SCI_PORT, 5, "Heyy\n");
    }
}

Which serial com should I use ttyACM0 or ttyACM1? If I use ttyACM0 I get the error that the device is busy; If I use ttyACM1 I do not see anything.


Any suggestions?

Thank you in advance and kind regards,

Javier Guzman