Hello, good afternoon. My name is Patricio, a high school student from an industrial school in Argentina. The school is part of an inter-school aerospace-themed project. Our proposal is to make a series of measurements in the atmosphere by launching a payload on a rocket, and as an innovation, we want to apply RIOT on an Arduino Mega2560. We are having many problems trying to install it. We have tried many methods, but none of them end up installing the system on the board. We are trying to install it from various versions of Ubuntu, and we have problems with drivers and keys to install these. It would be very helpful if you could provide us with a foolproof method for flashing the system.
PD: we are using a generic Arduino Mega2560.
Whether with a virtual machine or with a real Ubuntu, the system cannot recognize the connected Arduino, or at least that’s what I think the problem is. I tried plugging it into all the USB ports, from 0 to 3.
I understand that the issue is due to the lack of drivers, specifically for the CH340PCB, which I’m unable to install on the system. Any driver I try to install from the terminal gives me the following message: “Key was rejected by service.”
Can you give me some solutions or other methods to install RIOT on Arduino 2560?
Clarifying again, we are using a generic Arduino Mega2560
Thank you very much.
I followed the tutorial until minute 12:35 of the video, where the subject encounters the same error as me. I configured the USB input to the VM and it didn’t work. I researched in various forums that the Arduino Mega2560 has issues when trying to configure it from a virtual machine, so I decided to install Ubuntu on my PC in order to install RIOT. But the same problem continues to happen.
Right now I don’t have the Arduino at my disposal, I’ll be able to try it in a couple of hours. In the meantime, could you tell me about other possible solutions? Sorry for the inconvenience and thank you very much. If my English is very good, it’s because I’m translating a message in Spanish.
To know possible solutions we first have to understand what’s the problem.
When I plug in my Arduino Mega2560 clone I get
[17243.676301] usb 1-220.127.116.11: new full-speed USB device number 29 using ehci-pci
[17243.785421] usb 1-18.104.22.168: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[17243.785432] usb 1-22.214.171.124: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[17243.785436] usb 1-126.96.36.199: Product: USB2.0-Serial
[17243.786015] ch341 1-188.8.131.52:1.0: ch341-uart converter detected
[17243.787126] usb 1-184.108.40.206: ch341-uart converter now attached to ttyUSB2
So the device is immediately recognized without me having to install any drivers, so I wonder why you don’t get a /dev/ttyUSB* device.