收藏官网首页
查看: 31233|回复: 1

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

1

主题

2

帖子

15

积分

新手上路

Rank: 1

积分
15
跳转到指定楼层
楼主
发表于 2015-7-6 22:44:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
汉枫LPB120模块
我现在的步骤:1、去 arduino 官网下载安装了 Arduino IDE

2、根据这个链接,我把 CH340 的驱动下载安装,并配置好了,在 Arduino 的 工具 -> 端口 里面也可以看到相应的端口
http://javacolors.blogspot.tw/20 ... -ch341-chipset.html
3、根据《gokit2代Arduino底板程序编译及下载教程》 去下载了相应的代码,并按教程把相应的文件和目录都放到了对应的目录下
http://club.gizwits.com/forum.ph ... &extra=page%3D1
  1. ➜  Arduino  pwd
  2. /Users/bob/Documents/Arduino
复制代码
  1. ➜  Arduino  ls libraries
  2. ChainableLED DHT          I2Cdev       MemoryFree   MsTimer2     SSD1306      readme.txt
复制代码
  1. ➜  Arduino  ls GoKit-Arduino-MCU/gokit_2
  2. GoKit.cpp    GoKit.h      gokit_2.ino  protocol.cpp protocol.h
复制代码
4、然后通过 Arduino 的验证,发现没有问题,然后点击上传,就报了以下的错误(我把显示详细输出的,上传勾上了)
  1. Sketch uses 13,732 bytes (42%) of program storage space. Maximum is 32,256 bytes.
  2. 全局变量使用了1,470字节,(71%)的动态内存,余留578字节局部变量。最大为2,048字节。
  3. /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

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

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

  9.          Using Port                    : /dev/cu.wchusbserial1420
  10.          Using Programmer              : arduino
  11.          Overriding Baud Rate          : 115200
  12. avrdude: stk500_recv(): programmer is not responding
  13. avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
  14. avrdude: stk500_recv(): programmer is not responding
  15. avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
  16. avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
  17. avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
  18. avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
  19. avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
  20. avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
  21. avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
  22. avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
  23. avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

  24. avrdude done.  Thank you.

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


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


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

1

主题

2

帖子

15

积分

新手上路

Rank: 1

积分
15
沙发
 楼主| 发表于 2015-7-12 12:02:39 | 只看该作者
自己顶一下!!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表