Help with AVR ISP programming  / which device? - Page 1
Forum section: electronics / general

author: v81
author_rank: Regular Contributor
timestamp: April 12, 2015, 01:34:24 pm
content: Hi, re-sparking an interest in electronics and Arduino etc here.I have 2 devices purchased some time ago, and can get neither of them to work.1st is an AVRisp clone from E-Bay,this one i think?2nd is thisUSBisp from IC StationI also have an Arduino nano from IC station withfakeFT232RL (pid=0000)So I've spent hours downloading Atmel Studio, Arduino IDE etc..etc.. and gotten nowhere.Pretty dissapointed at the time wasted by clones, fakes and OneHungLow poorly documented crap.I had used the AVRisp to put code in an ATmega32 a few years ago so it worked then in AVR Studio 4.?I am now strongly considering wiping the desk clean and starting fresh with new micro gear.I am considering buying a genuine AVR isp MkII from Farnell.Am also considering in addition or in lieu of above a BusPirate v3.6 or v4Question is what of the above would anyone recommend?Or what else would anyone recommend?Intention is to work with Arduino at this point, but i would like the flexibility of ISP for updating existing Arduinos here and saving some space by not using a bootloader.PS:: Any advice on clearing the FTDI driver that changed the PID on the nano from my system, and is there a way i can work around it in future, both on this PC and friends machines?

author: madires
author_rank: Super Contributor
timestamp: April 12, 2015, 01:44:51 pm
content: Actually you just have to find out which programmer type needs to be specified for avrdude. BTW, you can even use an Arduino as ISP programmer.

author: Frost
author_rank: Regular Contributor
timestamp: April 12, 2015, 01:48:59 pm
content: Quote from: v81 on April 12, 2015, 01:34:24 pmI use the Atmel JTAGICE 3 together with the Atmel Studio 6The device works for in-system programming and debuggingover the JTAG or the debugWIRE Port.As an alternative, you can look for an Atmel AVR Dragon,the Dragon is a little bit cheaper than the JTAGICE 3but the Dragon also works well together with the Atmel Studio

author: dannyf
author_rank: Super Contributor
timestamp: April 12, 2015, 03:34:35 pm
content: QuoteAny of them will work - all of them are proven reliable.If all you could offer is "cannot get them to work", no one can help you.

author: PeterFW
author_rank: Frequent Contributor
timestamp: April 12, 2015, 03:58:33 pm
content: Quote from: v81 on April 12, 2015, 01:34:24 pmThat is terribly outdated but i had horrible experiences using two different of those cheap DIY programmers years ago.I bought a AVRISP MK2 that worked like a charm from the first day on.After i started working on battery powered and mixed power suplly stuff, i was very glad i bought a genuine programmer were i do not have to worry abut the target voltage and just can plug it in.

author: ajb
author_rank: Super Contributor
timestamp: April 12, 2015, 05:57:45 pm
content: These days the ATMEL-ICE is the best bang for buck in AVR programmers. It supports all of Atmel's AVR and SAM (ARM) parts, works seamlessly with Atmel Studio, and the basic kit is <$60.If you want to start with Arduino, though, you could just buy an Arduino and later on use it as an ISP programmer. The only downside there is that it won't be supported in Atmel Studio. You could write and compile your program there, but you'd have to use AVRDUDE or something like it to do the actual programming.

author: v81
author_rank: Regular Contributor
timestamp: April 13, 2015, 07:10:54 am
content: Quote from: madires on April 12, 2015, 01:44:51 pmThanks for the replies all.I have heard of AVRdude, will have to read up on it.If my understanding is correct this software will do all i need in regards to programming and fuses etc..Quote from: PeterFW on April 12, 2015, 03:58:33 pmThis sounds like the go, preference is to avoid AVR studio if i can.I have a bit to learn, the goal is Arduino at the moment.Reason for ISP instead of serial is that i have a few chips with old bootloaders, or no bootloader at all.Also on some cases i may need to set fuses to run from internal clock (need to read up on this)Clones and E-bay cheapies are good when they work, but are far to variable and poorly supported.Given the Arduino slant on all of this is the ATMEL-ICE overkill, or will it add some useful features?Will the ATMEL-ICE work in the Arduino IDE?The AVRisp mkII is just over $50 AUD at Element 14 right now, this is looking to be the favorite.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: April 13, 2015, 07:22:31 am
content: Think I saw MKII is discontinued (or going to be), at least at a few places...I have an old one, and with the latest firmware update, it even does PDI (ATxmega, etc.), so I don't mind. (It doesn't do debug.. never has and never will.) A Dragon or 'Dude is probably a better idea for a new purchase though.Tim

author: ajb
author_rank: Super Contributor
timestamp: April 13, 2015, 05:29:14 pm
content: If you're not going to use Atmel Studio for the foreseeable future, then sounds like you should just get an Arduino and use one of the Arduino ISP sketches for loading bootloaders and setting fuses. You can always upgrade to a proper tool later on.