Connecting to serial port in OSX

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
tomcarter259
Member++
Posts: 28
Joined: Tue Mar 15, 2011 3:29 pm

Connecting to serial port in OSX

Post by tomcarter259 »

Is it possible to use xrun to load and run a program and also connect to the serial port to communicate with the processor using UART?

On Windows, I could find the COM port but on OSX no such luck. I have tried both using the terminal (ls /dev/tty.*) and through a Java program using rxtx.

Thanks


User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

Unfortunately in OSX it is not possible to have both the JTAG and COM port devices available at the same time with the FTDI based interface on the G4 based XMOS boards. I believe this may be fixed in OSX lion as there was a issue with composite devices on OSX.
User avatar
tomcarter259
Member++
Posts: 28
Joined: Tue Mar 15, 2011 3:29 pm

Post by tomcarter259 »

Hmm it would seem not as I am on Lion.

Presumably I get round this by flashing the program on then? In which case shouldn't the serial port appear after plugging in a dev board (XC-1A running the default twinkly lights demo)?