SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By nave25
#193493
I am trying to program a SAMD21 Mini Breakout board from Arduino IDE (1.8.1), running on CentOS6 Linux, I get the following error: "No device found on ttyS0".

When I push the upload button, the sketch is compiles and the log window shows:
Sketch uses 9528 bytes (3%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyS0
PORTS {/dev/ttyS0, } / {/dev/ttyS0, } => {}
...
PORTS {/dev/ttyS0, } / {/dev/ttyS0, } => {}
Uploading using selected port: /dev/ttyS0
/home/vrw/.arduino15/packages/arduino/tools/bossac/1.6.1-arduino/bossac -i -d --port=ttyS0 -U true -i -e -w -v /tmp/arduino_build_495005/Blinktest.ino.bin -R
No device found on ttyS0
Set binary mode
Send auto-baud
An error occurred while uploading the sketch
Set binary mode
The board is connected by a USB cable, with which I have programmed other platforms successfully. I can change from normal mode to bootloader mode by double clicking the reset button, which is shown by the LEDs accordingly, but the problem is the same in bootloader mode.

This is the output of an "lsusb":
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 08e6:3437 Gemalto (was Gemplus) GemPC Twin SmartCard Reader
Bus 002 Device 037: ID 1b4f:8d21
I think that the last line, which corresponds to my board, should mention a name. Apart from that, I would expect that a new terminal like /dev/ttyACM0 would be created when I plug-in the device (like it is the case with Arduino Due, for example), but no terminal is being created.

When I connect to an Arduino Due, "dmesg" shows:
usb 2-1.7: new full speed USB device number 38 using ehci_hcd
usb 2-1.7: New USB device found, idVendor=2341, idProduct=003d
usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=220
usb 2-1.7: Product: Arduino Due Prog. Port
usb 2-1.7: Manufacturer: Arduino (http://www.arduino.cc)
usb 2-1.7: SerialNumber: 95335343136351A03170
usb 2-1.7: configuration #1 chosen from 1 choice
cdc_acm 2-1.7:1.0: ttyACM0: USB ACM device
In contrast, when I connect my SAMD21 Mini Breakout, "dmesg" shows only:
usb 2-1.7: new full speed USB device number 39 using ehci_hcd
usb 2-1.7: New USB device found, idVendor=1b4f, idProduct=8d21
usb 2-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.7: Product: SFE SAMD21
usb 2-1.7: Manufacturer: SparkFun
usb 2-1.7: configuration #1 chosen from 1 choice
It seems that the CDC driver is not activated, although the hardware setup guide (https://learn.sparkfun.com/tutorials/sa ... ware-setup) says, that no driver installation / setup is required on Linux platforms.

Any suggestions?