No device found on ttyACM0 MKR1010 and arduino IDE 2.0

Hi to all. I just try the arduino IDE 2.0. I try it on UBUNTU.
Also if the IDE found the board I receive the error: No device found on ttyACM0 during the upload. I also try to launch the IDE like a root but don't work.

ad@ad-Aspire-V3-572G:~/ARDUINO IDE 2.0$ sudo ./arduino-ide_2.0.0_Linux_64bit.AppImage 
[0922/103510.371787:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Rilevato trace/breakpoint

Any solution please?
Thank you.

I think you should launch with --no-sandbox option as the error shows.
like below:

sudo ./arduino-ide_2.0.0_Linux_64bit.AppImage --no-sandbox

Could you see ttyACM0 in /dev/?
Please use this command:

ls /dev/ | grep ttyACM

I hope this helps you.

Hi @alfonsodalessandro. I'm going to ask you to post the full output from the upload when in verbose mode.

:exclamation: NOTE: These instructions will not solve the problem. They are only intended to possibly gather some more information about the problem, which might provide a clue that leads to a solution.

Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Uncheck the checkbox next to Show verbose output during: β˜‘ compilation
  3. Check the checkbox next to Show verbose output during: ☐ upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  10. Press Ctrl+V.
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code tags before you add any additional text to your reply.
  12. Click the Reply button to post the output.

Sorry I read better the documentation of MKR1010 and looks like works :slight_smile: ! Thank you a lot!

lease Read (Only Linux Users)

It might happen that when you upload a sketch - after you have selected your board and the serial port - you get an error such as "... Permission denied". If you get this error, you need to set serial port permission.

To do this, open your Terminal and type:


ls -l /dev/ttyACM*

you will get something like:


crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0

The "0" at the end of ACM might be a different number, or multiple entries might be returned. The data we need is "dialout" (is the group owner of the file).

Now we just need to add our user to the group:


sudo usermod -a -G dialout <username>

where

<username>

is your Linux user name. You will need to log out and log in again for this change to take effect.

Adding user to the group.

Adding user to the group.

After this procedure, you should be able to proceed normally and upload the sketch to your board or use the Serial Monitor.

1 Like

Great work on finding the solution. Thanks for taking the time to post an update with your solution.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.