Go Down

Topic: MEGA2560 board gives no signal at all (Read 81 times) previous topic - next topic

archi02

Hello,

I'm attempting to make working a (official) Arduino Mega2560 board under Ubuntu 16.04.

I connected the board a USB cable, its green LED is on, and the orange LED too (without blinking). But the Arduino IDE (v 1.8.9) doesn't see the board, the only port available is /dev/ttyS0.

In the terminal, I tried :

Code: [Select]
$ lsusb
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:0819 Logitech, Inc. Webcam C210
Bus 003 Device 004: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 003: ID 046d:c318 Logitech, Inc. Illuminated Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ dmesg | tail
[   20.382375] scsi 4:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 4
[   20.382580] sd 4:0:0:0: Attached scsi generic sg2 type 0
[   20.383351] sd 4:0:0:0: [sdc] 31285248 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   20.383743] sd 4:0:0:0: [sdc] Write Protect is off
[   20.383744] sd 4:0:0:0: [sdc] Mode Sense: 43 00 00 00
[   20.385086] sd 4:0:0:0: [sdc] No Caching mode page found
[   20.385089] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[   20.387280]  sdc: sdc1
[   20.388680] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[   33.348537] usb 3-4: reset high-speed USB device number 2 using xhci_hcd
[\code]


$ ls -Rla /dev > /tmp/output2
$ ls -Rla /dev > /tmp/output1
$ diff /tmp/output1 /tmp/output2
64c64
< crw-rw-rw-   1 root tty       5,   2 mai    8 16:19 ptmx
---
> crw-rw-rw-   1 root tty       5,   2 mai    8 16:18 ptmx
656c656
< crw--w----  1 jonathan tty  136, 0 mai    8 16:19 0
---
> crw--w----  1 jonathan tty  136, 0 mai    8 16:18 0



I finally tried the board on another computer (Ubuntu 18.04 as well), and with another USB cable. Nothing change.

It seems that there is no signal at all, as if the board is not connected.

What happens ? Do I miss something ? What can I try ?

Thank you in advance for your help !   :smiley-confuse:

sterretje

The combination of symptoms indicates (to me) that the board is DOA (dead-on-arrival); I would contact the supplier and get it swapped.

You have no communication which would point to the usb-to-ttl chip. You have no blinking LED which would indicate problems around the 2560.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

hammy

I'd be tempted to reload the bootloader to see if that fixed it ?

sterretje

#3
May 09, 2019, 02:22 pm Last Edit: May 09, 2019, 02:22 pm by sterretje
@hammy

I don't think that that will help if the board is not even detected as a serial port.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

Go Up