dcb9 发表于 2015-7-6 22:44:24

Mac OS X Yosemite 10.10.4开发环境安装出错

我现在的步骤:1、去 Arduino 官网下载安装了 Arduino IDE

2、根据这个链接,我把 CH340 的驱动下载安装,并配置好了,在 Arduino 的 工具 -> 端口 里面也可以看到相应的端口
http://javacolors.blogspot.tw/2014/08/dccduino-usb-drivers-ch340-ch341-chipset.html
3、根据《GoKit2代Arduino底板程序编译及下载教程》 去下载了相应的代码,并按教程把相应的文件和目录都放到了对应的目录下
http://club.gizwits.com/forum.php?mod=viewthread&tid=258&extra=page%3D1
➜Arduinopwd
/Users/bob/Documents/Arduino
➜Arduinols libraries
ChainableLED DHT          I2Cdev       MemoryFree   MsTimer2   SSD1306      readme.txt➜Arduinols GoKit-Arduino-MCU/gokit_2
GoKit.cpp    GoKit.h      gokit_2.inoprotocol.cpp protocol.h4、然后通过 Arduino 的验证,发现没有问题,然后点击上传,就报了以下的错误(我把显示详细输出的,上传勾上了)
Sketch uses 13,732 bytes (42%) of program storage space. Maximum is 32,256 bytes.
全局变量使用了1,470字节,(71%)的动态内存,余留578字节局部变量。最大为2,048字节。
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.wchusbserial1420 -b115200 -D -Uflash:w:/var/folders/3n/v7ncqzx53zjgv3tcd74zb6kc0000gn/T/build2421517229242112148.tmp/gokit_2.cpp.hex:i

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/bob/.avrduderc"

         Using Port                  : /dev/cu.wchusbserial1420
         Using Programmer            : arduino
         Overriding Baud Rate          : 115200
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_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.Thank you.

上传出错。查看页面 http://www.arduino.cc/en/Guide/Troubleshooting#upload 获取建议。


然后在网上搜了一些资料,找到一个这个:Arduino Sketch upload issue - avrdude: stk500_recv(): programmer is not responding 看了一下回复,大约是在上传的时候按下 reset 键就可以了,我按了 usb 电源左边的那个红键也看不出任何变化,还是报原来的错。


希望大家帮忙看一下是哪里有问题,谢谢!

dcb9 发表于 2015-7-12 12:02:39

自己顶一下!!!
页: [1]
查看完整版本: Mac OS X Yosemite 10.10.4开发环境安装出错