Go Down

Topic: arduino BT upload problem (Read 543 times) previous topic - next topic

lievenstandaert

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

lievenstandaert

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?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy