Arduino Compatable ISP?

Hello Everyone!

Iv been programming avr’s for a while now with winavr and my avrisp, but I decided to give arduino a spin to make me a more rounded avr programer and to be able to work with peoples sketches off the internet. I have been trying to get arduino to recognize my isp as a programer for hours and have had no luck. What seems like an easy task has turned into over 6 hours of failure.

Things iv tried and noticed:

  • I have gone into tools/programmer and tried all the options, none work. I have selected the correct com port.

  • When trying to program a sketch or burn the bootloader i get this error

avrdude: stk500_getsync(): not in sync: resp=0x00

  • I have tried going into the arduino preference file and changing the programer type from bootloader to stk500, avrisp, avrispv2 and none work.

  • Strange thing iv noticed is that under Tools/Burn Bootloader there is supposed to be a submenu to choose programers, i do not have this dropdown menu. I have the most current version of arduino from the website.

  • my isp works perfectly fine, works great in AVRstudio and can program in winAvr with makefiles.

  • I have checked all my cables and verified the programers wired correctly to the board.

Im staring to wonder if my programmer is not compatible with the arduino ide, anyone have any ideas? My next problem is I don’t know exactly what type of programer I have. I got my programer from an industrial liquidation place for $5, they didn’t even know what it was and I got a steal :-).

Here is a picture: http://www.raphnet.net/divers/avrprog/avrisp.jpg

Pretty Sure its this programer, Mature avrisp: http://www.atmel.com/tools/MATUREAVRISP.aspx

Would love to hear your ideas of things to try. I don’t mind getting a new programer if I have too, but I need to know that I have tried everything before I spend money on a new one. This programer has been wonderful and I’m not ready to throw in the towel just yet.

Thanks for all the help!

Briscoe

Funny you should ask. I’m in a similar predicament. I believe its bitching at you because it can’t communicate to the board via serial. The AVRISPMKII will work for burning a bootloader, but I don’t think it can be used for application programming via the Arduino IDE. I’d sure like to though. I’m having trouble with bootloading apps to my Arduino Pro 3.3. It’ll work for a while, and then go into some kind of limbo. I haven’t figure out the magic sauce yet, but occasionally it comes back to life and I can program it for a while again. I just used my dusty MKII to burn a new boot loader, hoping that would help. It didn’t, but the process of burning that bootloader was effortless. Makes me wonder WHY I BOTHERED TO GO WITH ARDUINO. Actually I remember why: I got tired of the never ending tool chain, and wanted a light-weight-one-stop-shop. Of course, with that setup and the MKII, I was never told:

stk500_getsync(): not in sync: resp=0x00

Well I did some digging since my (hasty) earlier post. It seems you can use the AVRISP/mkii to program your app, but [the directions that tell you how appear to be missing some steps. I tried it, but unfortunately the IDE is still trying to use the serial loader.](http://www.arduino.cc/en/Hacking/Programmer)

Use AVR Studio 4.

Or AVRdude.

Yes, AVRStudio and AVRDude (or STK500 for that matter) will work fine, but hardly as a one-step operation from SKETCH to execution; as I believe the Arduino prime directive might state if such existed. Actually I think AVRDude is what the Arduino IDE is exercising under the covers, but I’m not certain.

In any case, I stumbled across VisualMicro; a plugin for Visual Studio 2010 that lets you do all things Arduino in a real IDE (opinions will vary on that point). It too allows using the AVRISP and related programmers to upload your Arduino sketches, and it worked flawlessly once I set the options.

Yes, the Arduino IDE uses AVRDude. It’s simply a command line program launched by the the Arduino IDE.

Easy to edit up a little .bat file for windows, put it in your project folder, click on it to download.

The Arduino IDE is sort of easy, but like training wheels on a bicycle, one quickly learns enough to not need it.

Hence, Studio 4 (and later, Studio 5 or 6).