Arduino Uno tty on uClinux

Hello !

I have a custom Board with a modified version of uClinux on it.
I'm trying to send serial data over usb from my arduino to my board...

But there is no /dev/ttyUSB* !

So is uClinux compatible with arduino usb ?

I found this post :
http://www.ladyada.net/learn/arduino/lesson0-lin.html

But i'm not on a "normal" linux... So ftdi doesn't exist for me.. (right ?)

I don't know if it's useful but i'm on an At91rm9200.

First thing I'd try is replugging in your device then checking the output of "dmesg" to see what changed. If it created a device for it it will be listed.

It may not be called ttyUSB*

Other options I have seen are ttyACM* and ttyS*

On my Yun I had to add a kernel module to make ttyACM0 work.

...R

Forgot to put the dmesg log !

Full log :

Only usb part (grep "usb|USB"):

I have 2 Usb plugged in, the computer on the device port and the Arduino on the host port.
I have no tty[USB* - ACM*] only ttyS0 and ttyS1.

When i plug the Arduino in with a simple Serial.println("PASS") in the loop with a delay(100).. I got nothing in both S0 and S1 with tail. And the arduino tx led is flashing..

But there is something weird in the top cmd :

542     1 root     S     2216   4%   0% /usr/sbin/in.tftpd -c -l -s /home/armus

Could it be Putty / my computer ?

On my Yun I had to add a kernel module to make ttyACM0 work.

It might be the solution. Like I said I'm not on a "normal" linux system.
But what should I install ? And is it compatible with uClinux... That is probably the biggest problem :confused:

Which Arduino are you using? Specifically you need to identify what it has for a serial interface: FTDI, PL2303, etc.

The FTDI driver (and quite a few other drivers) is part of the official kernel sources so recompiling your uClinux kernel with it shouldn't be a problem. grep USB_SERIAL in your kernel .config to see the list.

in.tftpd is a Trivial FTP Daemon and not an issue here. But, for your goal of learning something new everyday, you just found out you can transfer files to your uClinux machine using tftp. :wink:

Chagrin:
Which Arduino are you using? Specifically you need to identify what it has for a serial interface: FTDI, PL2303, etc.

I'm using the Osepp uno r3 plus ! So the Uno i guess ?

FTDI if i read it right :
http://osepp.com/learning-centre/start-here/uno-r3-plus/

Chagrin:
The FTDI driver (and quite a few other drivers) is part of the official kernel sources so recompiling your uClinux kernel with it shouldn't be a problem. grep USB_SERIAL in your kernel .config to see the list.

I'm kinda new to Linux and i don't really have the control on the compilation of uclinux...
And i think the card reset the system at each boot cause its say "Coping kernel" when i boot it.. But i'm not sure !

Where can i find the FTDI driver to know if i have it ?
And where i can find the .config file ?

Chagrin:
in.tftpd is a Trivial FTP Daemon and not an issue here. But, for your goal of learning something new everyday, you just found out you can transfer files to your uClinux machine using tftp. :wink:

I was like... What the **** is he talking about tftp !

MY BAD ! Wrong copy/paste :3 !!

610     1 root     S     2212   4%   0% /sbin/getty -L ttyS0 115200 vt100

But the line is here even if i disconnect the Uno.. So yeah.. Nothing there i guess.

WoofWoofDude:
Like I said I'm not on a "normal" linux system.
But what should I install ? And is it compatible with uClinux... That is probably the biggest problem :confused:

It seems to me you need to pursue your problem on a uClinux forum - it does not seem to be an Arduino problem.

...R

WoofWoofDude:

610     1 root     S     2212   4%   0% /sbin/getty -L ttyS0 115200 vt100

But the line is here even if i disconnect the Uno.. So yeah.. Nothing there i guess.

That's a serial terminal / allows you to log in over serial. If you're logging in to it with PuTTY using serial then that's where it's connecting.

The uClinux site has instructions on building the kernel. But like Robin said your problem is a uClinux one and should be taken there.

Alright !

On the road to a uclinux forum !
Thanks guys