Pages: [1]   Go Down
Author Topic: Cutting REST-EN results in avrdude: stk500_getsync(): not in sync: resp=0x00  (Read 740 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I cut RESET-EN so the arduino uno smd does not reset when the serial connection gets closed.

Now every time I try to upload a sketch I get the error;

Code:
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

I can get a sketch to upload correctly if I press the reset button during the upload process.

My understanding is that trick is typically used when the arduino is sending too much over serial to have a sketch loaded.

I need to do the reset trick every time even when the blink sketch is currently loaded and trying to upload the blink sketch.

I thought I might have damaged the arduino so I cut the RESET-EN on a second arduino with the same result.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8975
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

By cutting the Auto Reset Enable jumper you have disabled the Auto Reset feature.  The only way  to upload when Auto Reset is disabled is to manually reset.  Perhaps you could put a pair of pins where the Auto Reset Enable jumper was and jumper those pins when you want to upload.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My understanding is that you need to reload the arduino after uploading a new sketch not that you need to do a well timed reset while uploading the sketch.

With RESET-EN cut I need to release the reset button when I see the first "avrdude: Send: 0 [30]   [20]" to successfully upload a sketch.
« Last Edit: March 03, 2012, 12:43:48 am by bigmagu » Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 152
Posts: 6181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

With RESET-EN cut I need to release the reset button when I see the first "avrdude: Send: 0 [30]   [20]" to successfully upload a sketch.

That is correct. The processor needs a reset by the reset-en or the reset button to start the bootloader. You have chosen to disable the auto reset, so now you must do that manually with the reset button.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27425
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can add some solder across the pads to re-enable the reset.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or add a real jumper / switch. The way it should have been in the first place.
Logged

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Pages: [1]   Go Up
Jump to: