Author Topic: Avrdude Errors flashing on Linux  (Read 3820 times)

machinaut

  • Newbie
  • *
  • Posts: 1
Avrdude Errors flashing on Linux
« on: December 26, 2012, 09:42:44 pm »
Running System: Linux: Ubuntu 12.04 64-bit
Computer: Lenovo Thinkpad

I followed the instructions at the bottom of http://digistump.com/wiki/digispark/tutorials/connecting and am getting this error while trying to flash the examples:

Binary sketch size: 756 bytes (of a 6,010 byte maximum)
Running AVRDUDE...
avrdude_original: usbdev_open(): did not find any USB device "usb"

digistump/Blubie might have suggestions on where to start.  This happens both when arduino is run as sudo and as a normal user.

What is it supposed to be doing here?  My guess would be that the micronucleus commandline is just talking libusb to the device to program it, so this might be a matter of going in and debugging what avrdude is doing wrong.
« Last Edit: December 26, 2012, 09:42:44 pm by machinaut »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Avrdude Errors flashing on Linux
« Reply #1 on: December 26, 2012, 09:48:17 pm »
If it displays \"Running AVRDUDE\" then my guess is you might not have set Programmer to Digispark as well as board. If it is properly setup Arduino IDE should call the avrdude dummy that you replaced avrdude with and that should respond \"Running Digispark Uploader...\" and then run micronucleus - the avrdude dummy bases the routing on what the programmer is set to.

Check that and let me know if it works.

Thanks!
Erik