【问题标题】:avrdude and attiny2313 and avrispavrdude 和 attiny2313 和 avrisp
【发布时间】:2014-01-31 21:39:04
【问题描述】:

我正在尝试使用 avrdude 对我的 ATTiny 2313 进行编程。这是我的命令行和输出(第一行是我输入的命令,其他是输出):

utnmac:firmware utn$ make flash
avrdude -c avrispmkII -p attiny2313 -U flash:w:main.hex:i

avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0xffffff
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

make: *** [flash] Error 1

更新:我的接线似乎有问题,但我找不到关于我的接线需要去哪里的好教程。现在我正在使用这个:

【问题讨论】:

    标签: avr avr-gcc avrdude


    【解决方案1】:

    这就是你的整个电路吗?

    来自online documentation

    AVRISP mkII 不在 Vcc 引脚上提供电源,而是使用该引脚来检测目标电路上的电压。您的电路需要通过外部方式供电才能运行。

    您还需要通过一个电阻将复位拉到 Vcc,以便它在未激活时不会浮动。

    【讨论】:

      猜你喜欢
      • 2017-07-08
      • 2011-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多