Pages: [1]   Go Down
Author Topic: arduino BT upload problem  (Read 502 times)
0 Members and 1 Guest are viewing this topic.
Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

i've been trying to upload to an arduino BT for the last 4 hours.
I'm working on XP with arduino 15.
I don't have a problem uploading to a regular Diecimila through USB.

I've read through the other threads here describing upload errors, and tried most things written there.
 

Error:
avrdude: stk500_getsync(): not in sync: resp=0x54
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x54



With upload.verbose=true:

         Using Port            : \\.\COM2
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x54
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x54

avrdude done.  Thank you.



I found out that:
-I can upload by hitting the reset-button on the board after pressing 'upload'
I get an 'out of sync' error, but the sketch gets uploaded ok.

-I can also receive messages from the arduino BT through the serial monitor. Serial.println works fine.


-AND i can send commands to the arduino BT with Serial.read()

Problem: I meant to program the arduino while being mounted in a remote-controlled airship 5 meters from the ground. Pressing 'reset' manually just isn't practical.

Is there a way around this?
Anyone else has had this problem?


regarding -Lieven
Logged

Belgium
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been reading on, and it's unclear to me if this is normal.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1247005623
seems to have the same problem

The arduino BT does not seem to have auto-reset, like the Diecimila has.

Am I supposed to manually press the reset-button every time?
Logged

Pages: [1]   Go Up
Jump to: