Trying to connect Ardweeny using USB and FTDI board on Linux LXLE

I am trying to connect my old Ardweeny to my new (to me) Linux box running LXLE.

I’ve selected the Ardweeny as a Duemilanove (which is what I think worked before on my old Windows box), an Uno, and some others; with Atmega 328 and Atmega 168; and using both /dev/ttyS0 and /dev/ttyS1 in all combinations and haven’t made it work.

USB cable to FTDI breakout board (what I have used in the past) to Ardweeny.

I tried a
sudo usermod -a -G tty

with no luck.

All I can get is
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Any suggestions?

Any thoughts on connecting Linux in general to FTDI boards?

USB serial devices on Linux have names like /dev/ttyACM0 or /dev/ttyUSB0. The ttySx ports are usually serial ports with DB-9 connectors built-in to the PC.

Try the command lsusb to see one line descriptions of all USB devices. My FTDI board shows up like this.

Bus 002 Device 075: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)

Another useful command is dmesg. Type the command after plugging in the FTDI cable. There are different models of the FTDI chip so the description and product ID might be different.

$ dmesg
usb 2-1.1: new full-speed USB device number 75 using ehci-pci
usb 2-1.1: New USB device found, idVendor=0403, idProduct=6015
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: FT231X USB UART
usb 2-1.1: Manufacturer: FTDI
usb 2-1.1: SerialNumber: xxxxxxxx
ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected
usb 2-1.1: Detected FT-X
usb 2-1.1: Number of endpoints 2
usb 2-1.1: Endpoint 1 MaxPacketSize 64
usb 2-1.1: Endpoint 2 MaxPacketSize 64
usb 2-1.1: Setting MaxPacketSize 64
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB0

FTDI is sometimes used generically for any USB serial device so you might see Prolific PL230x, Silicon Labs CP21xx, or CH34x. But all work on my Ubuntu desktop.

How is the USB serial adapter connected to the arduino?

Is the DTR Autoreset wiring correct?

@gdsports

Sorry to be slow getting back to this- Thanksgiving got in the way. Thanks for your response.

I discovered someplace else I should check to see if the drivers were loaded. They suggested

lsmod | grep ftdi_sio

If that got nothing back (and mine didn't) to try

sudo modprobe ftdi_sio

Seemed to do something.

gdsports:
Try the command lsusb to see one line descriptions of all USB devices.

After that a lsusb got me

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Which doesn't seem to show what I need.

gdsports:
Another useful command is dmesg.

Tried a dmesg | tail and got

[   60.032662] init: plymouth-stop pre-start process (2153) terminated with status 1
[   67.309024] ip_tables: (C) 2000-2006 Netfilter Core Team
[  830.504151] type=1400 audit(1511833259.836:32): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=5263 comm="apparmor_parser"
[  830.504164] type=1400 audit(1511833259.836:33): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=5263 comm="apparmor_parser"
[ 2293.830468] Web Content[7630]: segfault at e5e5e669 ip 8a9aef99 sp bfce5b20 error 5 in nouveau_dri.so[8a775000+403000]
[ 7828.504369] usbcore: registered new interface driver usbserial
[ 7828.504386] usbcore: registered new interface driver usbserial_generic
[ 7828.504399] usbserial: USB Serial support registered for generic
[ 7828.543865] usbcore: registered new interface driver ftdi_sio
[ 7828.544065] usbserial: USB Serial support registered for FTDI USB Serial Device

which seemed very encouraging.

I then tried

ls -l /dev/ttyUSB*

and

ls -l /dev/ttyACM*

But got back

ls: cannot access /dev/ttyUSB*: No such file or directory

and

ls: cannot access /dev/ttyACM*: No such file or directory[/code]

I even tried

sudo usermod -a -G tty yourUserName

but got the same no such file or directory message.

I rebooted everything but still no joy. Any of that jump out at you and mean anything? Am I closer maybe?

lsusb indicates Linux does not see the usb serial device. The only thing it sees is the mouse. What kind of computer are you using?

Try a different USB cable and and different USB port. USB 3.0 ports may not work so the computer has USB 3.0 ports, try a USB 2.0 hub.

Also see this.

gdsports:
What kind of computer are you using?
Try a different USB cable and and different USB port. USB 3.0 ports may not work so the computer has USB 3.0 ports, try a USB 2.0 hub.

Old computer converted over to Linux. USB 1. FTDI worked fine to program the Ardweeny when this computer was a WinXP box.

Same port and same cable.

Plugged in my Nano again just be sure. Same port, same cable. The Nano showed me dev/ttyUSB0 as an available port and took on a sketch just fine.

Unplugged that, pluggted back in the Ardweeny, USB0 is still there. Curious. Selected it. The Ardweeny took a sketch just fine. No idea what happened but my immediate problem is solved.

Thanks for

Going to save that.

Thanks for your time and effort.