Linux Mint Türkiye
Yazılım => Yazılım Genel => Konuyu başlatan: abdyek - 16 Mart 2017, 22:04:45
-
Arduino'yu sitesinden indirdim. Ve içerisindeki install.sh 'ı alıştırarak kurdum.
Ardından
dmesg | grep "tty"
ve ardından
sudo chmod a+rw /dev/ttyUSB0
[/size]
port a izin verdim.
Programa girip yükleme işi yapınca hata veriyor. Yazılım kısmında hata yaptığımı düşünmüyorum. Aynı işlemleri Windows 10 tarafında denedim sorunsuz çalıştı.
Hata şu şekilde:
Arduino: 1.8.1 (Linux), Board: "Arduino/Genuino Uno"
Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
-
Aşağıdaki komutları çalıştırmayı denediniz mi? Sonrasında sistemi yeniden başlatınız.
sudo usermod -a -G tty $USER
sudo usermod -a -G dialout $USER
https://www.arduino.cc/en/Guide/Troubleshooting#upload
-
Aşağıdaki komutları çalıştırmayı denediniz mi? Sonrasında sistemi yeniden başlatınız.
sudo usermod -a -G tty $USER
sudo usermod -a -G dialout $USER
https://www.arduino.cc/en/Guide/Troubleshooting#upload (https://www.arduino.cc/en/Guide/Troubleshooting#upload)
Bu iki kodu girdim ardından sistemi yeniden başlattım. Yine de sorun çözülmedi Aynı hatayı veriyor.
-
Çıktıya bakalım.
dmesg | grep "tty"
-
Çıktıya bakalım.
dmesg | grep "tty"
Arduino bağlı değilken:
[ 0.000000] console [tty0] enabled
-
Çıktıyı alırken aygıt takılı değildi sanırım.
-
Çıktıyı alırken aygıt takılı değildi sanırım.
abdyek[member=980]abdyek[/member]-K53SD ~ $ dmesg | grep "tty"
[ 0.000000] console [tty0] enabled
#kartı taktım
abdyek[member=980]abdyek[/member]-K53SD ~ $ dmesg | grep "tty"
[ 0.000000] console [tty0] enabled
[ 826.091594] usb 2-1.1: ch341-uart converter now attached to ttyUSB0
-
Aygıtlar => port menüsünde ttyUSB0 seçeneği görünüyor mu veya seçili mi?
Aygıtlar => kartlar bölümünden doğru aygıtın seçili olduğuna emin misiniz?
-
Aygıtlar => port menüsünde ttyUSB0 seçeneği görünüyor mu veya seçili mi?
Aygıtlar => kartlar bölümünden doğru aygıtın seçili olduğuna emin misiniz?
kart: arduino/genuio uno seçili
port da seçili zaten başka port seçeneği çıkmıyor
-
Aygıt takılı olduğu halde aşağıdaki komutun çıktısına bakalım.
lsusb
Birde aşğaıdaki komutu deneyelim.
sudo chown $USER /dev/ttyUSB0
Şunlar bir köşede dursun.
https://ubuntuforums.org/showthread.php?t=2265244&p=13227930#post13227930
http://electronics.stackexchange.com/questions/43544/cant-get-upload-code-to-arduino-uno-from-ubuntu-12-04
-
Bus 002 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 13d3:5710 IMC Networks UVC VGA Webcam
Bus 001 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Buyrun hocam
sudo chown $USER /dev/ttyUSB0 bu komut da işe yaramadı