0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mblock3: avrdude: stk500_recv(): programmer is not responding

Last updated at Posted at 2019-08-07

mblockでのarduinoへのアップロードエラー

stk500_rev()の下記エラーが出てアップロードできない場合の解決方法の1つを記載。

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b57600 -D -Uflash:w:C:\Users\tsuyo\AppData\Local\Temp\build7167667021832597049.tmp/project_Demo_Avoid_Obstacle7_4.cpp.hex:i 

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa6
avrdude: stk500_recv(): programmer is not responding

##原因
arduinoのアップロード速度の違い
旧arduino nano: 57600 bps
新arduino nano: 115200 bps

##対策
下記ファイル内のupload.speed(146行目)を57600から115200に変更
\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\boards.txt

Arduino Nano w/ATmega328(140行目以降)

修正前
nano.menu.cpu.atmega328.upload.speed=57600

修正後
nano.menu.cpu.atmega328.upload.speed=115200

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?