BigBoss21X / mega-isp

Automatically exported from code.google.com/p/mega-isp
0 stars 0 forks source link

stk500 not in sync #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. connect an ATtin2313 to arduino
2. press reset button
3. enter avrdude -c avrisp -P com4 -p t2313

What is the expected output? What do you see instead?
The programmer seems not to recognize the signature of the t2312.

I get the following.

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\UserName>avrdude -c avrisp -P com4 -p t2313 -F
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done.  Thank you.

( I should mention I tried several avrdude options)

What version of the product are you using? On what operating system?
I am using avrisp.03. ( I tested all versions but seem to get the same
responses.

Please provide any additional information below.

When using the option -c avr910 the fllowing appears and keeps repeating.

C:\Users\UserName>avrdude -c avr910 -P com4 -p t2313 -F

Found programmer: Id = ""; type = ♦
    Software Version =  . ; Hardware Version =  .

Programmer supports the following devices:
    Device code: 0xffffffe3 = (unknown)
    Device code: 0xffffffe3 = (unknown)
    Device code: 0xffffffe3 = (unknown)
    Device code: 0xffffffe3 = (unknown)
^C
C:\Users\UserName>

I also used a 200 ohm resistor between reset and 5V on the Arduino as
describe in the Arduino forum but I still get the same result.
I appreciate your help.

Original issue reported on code.google.com by daka...@yahoo.com on 1 Jul 2009 at 9:23

GoogleCodeExporter commented 8 years ago
Try to add baudrate option:

avrdude -c avrisp -P com4 -p t2313 -b 19200

Had the same problem, this solved the issue.

Original comment by drug...@gmail.com on 13 Jul 2009 at 11:01

GoogleCodeExporter commented 8 years ago
Do not press the RESET button on the Arduino. The Arduino needs to be running 
the
mega-isp firmware before you run avrdude.

Original comment by rsb...@gmail.com on 23 Nov 2009 at 9:22

GoogleCodeExporter commented 8 years ago
rsbohn: the newer Arduinos auto-reset when DTR drops.  This is usually a nice 
feature
but a pain in the bum here.  A crude hardware solution exists
(http://www.arduino.cc/playground/Code/MegaISP), but it'd be nice to find a
friendlier software alternative...

Original comment by tgvaughan on 4 Feb 2010 at 2:00

GoogleCodeExporter commented 8 years ago
Arduino Mega. Arduino 018 IDE and avrisp.03 sketch. AVRDUDE ver. 5.10.

No sync:

avrdude -p m48 -P com5 -c avrisp -b 9600

stk500_initialize(): programmer not in sync: resp=0x15 

Once or twice they have sync. And, as I see from resp 0x15, they do 
communicate. More of it, this resp is send when Arduino gets '0' command from 
the AVRDUDE. And fails to find trailing SPACE.

I've tried 120 Ohm resistor. No result. No RESET pulse when AVRDUDE begins it's 
session, by the way -with or without the resistor. 

What can I do?

Original comment by drv...@gmail.com on 25 Aug 2010 at 2:22

GoogleCodeExporter commented 8 years ago
It works with a Uno clone but not with an original Mega2560, but only to burn 
the bootloader.

I'm using a minimal breadboard 8Mhz internal clock setup.  Tried every 
suggestions listed on every pertinent guide (specifically starting with 
http://arduino.cc/en/Tutorial/ArduinoToBreadboard ) without success.

I'm still stuck to the "stk500_initialize(): programmer not in sync: resp=0x15" 
error message.

Didn't success in uploading a sketch (but as I understand, that's not up to 
mega-isp).

Original comment by Roberto....@gmail.com on 23 Jun 2011 at 7:23