Insufficient current for windows, works in linux

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Insufficient current for windows, works in linux

Postby andstos » Tue Aug 09, 2011 12:05 am

In Linux I can use the arduino IDE to program my UNO board or the 328p chip in a breadboard, via the 6 pin header. In Windows, if I try to program the UNO with the usbtinyisp, I get this error:

avrdude: verification error at byte 0X0000.
etc.etc.

The problem seems that the usbtiny is not supplying enough current for the UNO. If I supply the UNO with an external 5V and remove the ISP jumper JP3, I am able to program successfully in Windows.

There are some cryptic hints about programming the usbtiny to supply more current on the ladyada site, but I am hesitant to program the _original_ firmware into the ATTiny2313, much less make any changes that might be required to it.

Is there anyone that has increased the current allowance of the usbtinyisp, enough to program the UNO without an external voltage supplied?
andstos
 
Posts: 2
Joined: Wed May 25, 2011 9:49 pm

Re: Insufficient current for windows, works in linux

Postby adafruit » Tue Aug 09, 2011 1:34 pm

its always best to supply external voltages, more stable!
User avatar
adafruit
 
Posts: 10551
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Insufficient current for windows, works in linux

Postby kscharf » Thu Aug 11, 2011 4:43 pm

The ONLY time I've ever used the jumper to have the programmer supply power was to program a stand alone chip in a zif socket. Note that this works ONLY for a banned chip because once you set the fuses for an external clock or crystal it won't work anymore until you supply the external clock or crystal. (In fact the fuses will probably fail to verify once changed!). Still It isn't hard to rig up a zif socket with two caps and a 'rock' to program naked chips that will be used with an external crystal.
User avatar
kscharf
 
Posts: 136
Joined: Wed Sep 10, 2008 9:29 am

Re: Insufficient current for windows, works in linux

Postby andstos » Fri Aug 12, 2011 11:24 pm

Hmm.. yeah that's a good point. External voltages are required anyway for any chip in-circuit, so I guess that makes sense. Thanks for the reality check. Weird that it works in Linux but not Windows, though.
andstos
 
Posts: 2
Joined: Wed May 25, 2011 9:49 pm


Return to USBtinyISP

Who is online

Users browsing this forum: ArekKindAcere and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]