Unable to connect to Arduino Mega 2560 via USB

Support forum for MegunoLink
Post Reply
Venom501
Posts: 1
Joined: Wed Aug 21, 2019 10:23 am

Wed Aug 21, 2019 10:39 am

Hi,
I've been working on my project the last few days and everything worked fine. I am using Megunolink as a GUI to create input via buttons and value lists to control my device.
Till yesterday I got no problems, but when I tried to connect Megunolink today, it wasn't possible to establish a serial connection.
The "connect" button did nothing. And when pressing some Buttons, I get the message "Error sending: can't write to serial channel. Is it open?"
Uploading my programs with the Arduino IDE works as usual. (I tried different programs)

When opening a backup .mlpz-File from yesterday, the connection is established and everything works as intended. But when disconnect once, I am not able to reconnect.
After loading the backup file again it works till the next disconnect.
philr
Posts: 292
Joined: Mon May 26, 2014 10:58 am

Sat Aug 24, 2019 2:56 am

Hi, do you have a MegunoLink license? Those are the sort of symptoms you get when an invalid license key is used. Get in touch with use as support@megunolink.com with your transaction information and we can try to figure out what the issue is.

Cheers
Phil
DrewRu
Posts: 1
Joined: Fri Oct 04, 2019 2:06 pm

Fri Oct 04, 2019 2:17 pm

Hi...the only difference between your working Uno configuration and your non-working Mega configuration is the board? It's plugged into the same computer in the same USB port?
If it doesn't show up at all in Device Manager that indicates the problem is not with the bootloader on the ATmega2560. That problem would only show up once you attempted to upload a sketch to the board. The problem is more likely with the ATmega16U2 that handles the USB to serial conversion. You could try uploading the firmware to that chip.
philr
Posts: 292
Joined: Mon May 26, 2014 10:58 am

Mon Oct 07, 2019 8:42 am

Hi DrewRu, we got it sorted in the end. Was incorrectly registered. Once the code was entered properly all was well.

Cheers
Phil
Post Reply