[Solved] Can't Upload with Arduino IDE after install of Atmel Studio 6

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
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

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 8)

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.

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 8)

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 8)

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 8)

Glad to see you found the problem without much heartache.