Pages: [1]   Go Down
Author Topic: error burning bootloader: linux, usbtinyisp, 328  (Read 602 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
0
Offline Offline
Newbie
*****
Karma: 0
Posts: 40
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Working on the problem I had last week, where my Arduino Duemilanove with ATMEGA 328 seems to have a corrupted bootloader.

I have borrowed a USBTinyISP and am trying to reprogram the bootloader, but I get the following error:

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

I have tried both allowing the USBTinyISP to power the Arduino, and also powering the Arduino externally, via USB.
I'm using Ubuntu Linux and version 15 of the Arduino IDE.

Any suggestions?
Logged

Chicago IL USA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
int myMind = 0;
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had this same issue until I ran Arduino as a superuser. Try sudo ./arduino
Logged

there are 10 types of people in this world, those who can read binary and those who can't.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"sudo" advice works for me. thanks a lot
Logged

Pages: [1]   Go Up
Jump to: