Arduinoにプログラムを書き込みたい
未使用のArduinoをPCに接続して+5VピンとGNDに抵抗とLEDを繋いで動作を確認した後,
書いたコードを書き込もうとしたら,以下のエラーメッセージが発生して書き込めません.助けてください.
発生している問題・エラーメッセージ
Arduino:1.8.7 Hourly Build 2018/10/05 11:12 (Mac OS X), ボード:"Arduino Nano, ATmega328P" 最大30720バイトのフラッシュメモリのうち、スケッチが930バイト(3%)を使っています。 最大2048バイトのRAMのうち、グローバル変数が9バイト(0%)を使っていて、ローカル変数で2039バイト使うことができます。 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 マイコンボードに書き込もうとしましたが、エラーが発生しました。 このページを参考にしてください。 http://www.arduino.cc/en/Guide/Troubleshooting#upload 「ファイル」メニューの「環境設定」から 「より詳細な情報を表示する:コンパイル」を有効にすると より詳しい情報が表示されます。
詳細なコンパイルを有効にしてみると,以下の関係がありそうなメッセージが追加されました.
Using Port : /dev/cu.usbserial-A105ACDI Using Programmer : arduino Overriding Baud Rate : 115200
該当のソースコード
c
1/* 2 Blink 3 4 Turns an LED on for one second, then off for one second, repeatedly. 5 6 Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO 7 it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to 8 the correct LED pin independent of which board is used. 9 If you want to know what pin the on-board LED is connected to on your Arduino 10 model, check the Technical Specs of your board at: 11 https://www.arduino.cc/en/Main/Products 12 13 modified 8 May 2014 14 by Scott Fitzgerald 15 modified 2 Sep 2016 16 by Arturo Guadalupi 17 modified 8 Sep 2016 18 by Colby Newman 19 20 This example code is in the public domain. 21 22 http://www.arduino.cc/en/Tutorial/Blink 23*/ 24 25// the setup function runs once when you press reset or power the board 26void setup() { 27 // initialize digital pin LED_BUILTIN as an output. 28 pinMode(LED_BUILTIN, OUTPUT); 29} 30 31// the loop function runs over and over again forever 32void loop() { 33 digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) 34 delay(1000); // wait for a second 35 digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW 36 delay(1000); // wait for a second 37}
試したこと
- PCの再起動
- FTDIドライバのインストール・アンインストール
環境
Macbook Pro 2018
macOS Mojave 10.14.1
Arduino IDE 1.8.7
ご回答よろしくお願いいたします.

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/11/25 11:52
2018/11/25 11:56
2018/11/25 12:01