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.
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?
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:
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?
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.