Skip to content

Linux avrdude64 will crash with usbtinyisp [imported] #610

Closed
@cmaglie

Description

@cmaglie

This is Issue 610 moved from a Google Code project.
Added by 2011-08-29T11:21:28.000Z by Vliegend...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).

Original labels: Type-Defect, Priority-Medium

Original description

What steps will reproduce the problem?

  1. Connect usbtiny isp.
  2. Use upload using programmer function
  3. IDE will not upload with the following message:

Reproduced this using the avrdude and avrdude64 binaries from the source package.

What is the expected output?
$ avrdude usbtiny -c usbtiny -p m328p -C ./avrdude.conf

avrdude: AVR device initialized and ready to accept instructions

Reading | | 0% 0.Reading | ################# | 33% 0Reading | ################################# | 66% 0Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f

avrdude: safemode: Fuses OK

avrdude done. Thank you.

What do you see instead?
$ ./avrdude64 usbtiny -c usbtiny -p m328p -C ./avrdude.conf

USB read error: expected 8, got 4
USB read error: expected 8, got 4
avrdude64: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude64 done. Thank you.

What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?
1.0-beta2-64
Slackware64-current with multilib support. (Linux 2.6.38.7 #3 SMP)

Please provide any additional information below.
32 bit version of arduino avrdude works.
64 bit version of aruidno avrdude gives the above error.
64 bit version of avrdude 5.10 compiled on this system works fine.

Possible fix documented here:
http://forums.adafruit.com/viewtopic.php?f=20&t=3683&start=22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions