Pages: [1]   Go Down
Author Topic: [Solved] Can't Upload with Arduino IDE after install of Atmel Studio 6  (Read 992 times)
0 Members and 1 Guest are viewing this topic.
Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I have just installed Atmel Studio 6 with and STK500 & AVRISPmkII attached.
All seemed fine with AS6.
I now find I can still compile using Arduino IDE but when I try and upload it fails with the following messages.

1. With Shift Key & Upload
Code:
Binary sketch size: 2,900 bytes (of a 32,256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
2 Without Shift Key just Upload
Code:

Binary sketch size: 2,900 bytes (of a 32,256 byte maximum)

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x86

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x18
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x18
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00

Can anyone please advise me what I can do to get both IDE's working?

Thanks and kind regards as always,

jB  smiley-cool
« Last Edit: September 05, 2012, 12:59:23 pm by britesc » Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27418
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

Using Windows?
Check Device Manager, see it its using Jungo driver for the MKii.
If it is you need to uninstall that and install the MKii drivers in the Arduini folders.
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.

Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi again CrossRoads,
Thanks for taking the time to reply.

Unfortunately that does not seem to work.
I even assigned the Arduino UNO a new com port to see if that would help.

Seems at the moment whatever I do I get the same stk500 failure comments whenever I try and upload.

Just as a matter of interest, I set the board to UNO and the Serial Port to 15 my newly chosen one.
Under programmer I have the following menu options:

AVR ISP
AVRISP MkII
USBtinyISP
USBasp
Parallel Programmer
Arduino as ISP

As I have never really paid any attention to these, are they correct, do I need to be concerned about them (one)?
Maybe if I uninstall Arduini IDE and reinstall would that help, do you think?

Appreciate the help as always, kind regards,

jB  smiley-cool
Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Further to my last, I just attached an Arduino MEGA on COM 9 and it is compiled and uploaded.

So somehow it has to be the driver that is affecting the UNO but for the life of me I cannot at the moment work this out.

I will have a look on google to see if I can find a tool to remove all drivers associated with a port / device then try again as a new device.

If you have any ideas feel free to jump in.

Regards,

jB  smiley-cool
Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Spain
Offline Offline
Jr. Member
**
Karma: 0
Posts: 51
I hope I'm not too old for this stuff...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It would appear that the SIM900 shield I had attached was switched over to UART mode.
When I disconnected all the shields and started from the UNO, all uploaded.
I kept adding shields and uploading until I added the SIM900 shield, then it croaked.
Luckily my first kludge was to flick the UART switch and try again. Voila 1 UNO uploading very happily.

Moral of the story RTFM

Thanks and kind regards,

jB  smiley-cool
Logged

=====================================================
My Grandkids think I'm cool but, actually I'm partially sighted so sorry for any typos

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27418
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

Glad to see you found the problem without much heartache.
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.

Pages: [1]   Go Up
Jump to: