Pages: [1]   Go Down
Author Topic: error: avrdude: stk  (Read 906 times)
0 Members and 1 Guest are viewing this topic.
bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you give steps to clear this error so programs will again upload? I have onlu the usb cable. Have tried to clear the error by operating the reset on the board. no go. Do I need another cable to rest individual pins? wheere to buy it?
Logged

teaches science for ReSet in the inner city

bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you give steps to clear this error so programs will again upload? I have only the usb cable. Have tried to clear the error by operating the reset on the board while uploading the BLINK program. no go. Please do it step by step. I'm not very experienced with the UNO.
BTW... the program that preceded the error was "SleepDEMOserial"
Logged

teaches science for ReSet in the inner city

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Threads merged.

- Moderator
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What board? What version of the IDE? What operating system are you using? Help us out here.
Logged

bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

the board is the Arduino Uno rev 3 with no external components connected to it.
 IDE is 1.0.3 (I believe that is what you are referring to)
  OS 10.4.11

after uploading sleep software the goal was to measure  sleep current of the UNO by itself to calculate the life of a battery pack, 4 ea AA rechargeables producing 4.6V at 2450maH. After the SLEEPDEMOserial upload, the next upload produced the error.
Logged

teaches science for ReSet in the inner city

bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry... IDE :Xcode 2.5 Developer Tools for
Mac OS X v10.4 (Tiger
Logged

teaches science for ReSet in the inner city

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Where did you connect those 4 batteries exactly? Did you measure the voltage from them?
Logged

bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

An adafruit 4-AA battery pack
positive lead connected to the black lead of the mmeter set at 200ma.
red mmeter lead to the red lead of the barrel power male
black batterypack lead to the black lead of the barrel power male

barrel male to female power on the UNO

current was `25ma
Logged

teaches science for ReSet in the inner city

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's current, not voltage.

I just wondered what voltage was coming out of your battery pack.

Can you take a photo or draw a sketch of what you just described? It was rather confusing.
Logged

bethesda
Offline Offline
Newbie
*
Karma: 0
Posts: 8
bees, sensors and remote sensing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry... Voltage was 5.26 V. measured across the connector that plugs into the UNO. battery pack is javascript:popupWindow('http://www.adafruit.com/index.php?main_page=popup_image&pID=830').
Logged

teaches science for ReSet in the inner city

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
calculate the life of a battery pack, 4 ea AA rechargeables producing 4.6V

That's somewhat higher than you expected isn't it? Is it possible it was over 5.5V when you tested it earlier?
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 44
Posts: 2808
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Also the reason why he can't reprogram the Uno... @ 4.6V / 4 = 1.15 V or a nearly discharged Ni-Cd battery and there is a fixed 1.6 - 1.8 volt regulator I/O differential which would  leave about 2.5 - 2.9 V for the processor, Maybe and worse because of the poor state of the Ni-Cd's

Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

He actually measured 5.26V. Too high for +5V and too low for Vin.

The photo would help, hint hint ...
Logged

Ontario
Offline Offline
God Member
*****
Karma: 20
Posts: 835
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You won't correctly measure the current draw from the batteries when the Arduino is also connected to, and powered by the USB cable.
If it is NOT connected to the USB cable, I can suggest a possible reason why the programming step might fail...
Logged

Pages: [1]   Go Up
Jump to: