avrdude: ser_open(): can't open device “/dev/ttyACM0”: Device or resource busy

后端 未结 8 1254
粉色の甜心
粉色の甜心 2020-12-29 07:59

I am Linux Mint user.I am dealing with Arduino Yun.I am compiling Arduino program.After that I am uploading to Arduino Yun.Then I get these error.Can you help me?

相关标签:
8条回答
  • 2020-12-29 08:57

    Make sure your USB cable is plugged firmly. Mine stopped working all of a suddenly because of this. The "/dev/ttyACM0 not found" message happens because the device doesn't get created unless the device is plugged in.

    0 讨论(0)
  • 2020-12-29 09:00

    I get this message when a process is connected to the port that I am trying to use for loading code through e.g. screen or gtkterm.

    Try this command:

    lsof /dev/ttyACM3
    

    Use the ACM<x> for your device. If something comes up, e.g.

    screen  8610  elm    5u   CHR  166,3      0t0 5599015 /dev/ttyACM3
    

    Then kill the PID:

    kill 8610
    

    To clear the process that is using the port.

    0 讨论(0)
提交回复
热议问题