AVRISP-II and AVRDUDE

Post Reply
User avatar
MikeB
9x Developer
Posts: 15726
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

AVRISP-II and AVRDUDE

Post by MikeB » Thu Mar 12, 2015 2:44 pm

I use an AVRISP-II programmer for flashing Atmel AVR processors, but I couldn't use it with eepe as Atmel Studio 6.0 loads its own drivers that don't work with AVRDUDE.

I just found this site however:
http://www.visualmicro.com/post/2014/01 ... duino.aspx

and, having followed the instructions, I now have the AVRISP-II working with AVRDUDE and eepe.

There is one other problem with using the AVRISP-II, the same problem I have with my STK500. The signal drivers cannot cope with the capacitors that load the reset and signal lines. I solved this for the STK500 by buffering the programmer output signals with some 74AC devices. These provide plenty of drive and I use this with both the STK500 and the AVRISP-II.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
Escrich
Posts: 11
Joined: Tue Feb 27, 2018 9:09 pm
Country: Spain
Location: Spain 28500

Re: AVRISP-II and AVRDUDE

Post by Escrich » Fri Mar 02, 2018 10:16 pm

Hi Mike, which IC have you used as buffer?
As we discussed latest days I have this same problem, and simply I whan't to know if you used buffers, or nor or nand gates, just to go directly and not to waste time.
Thanks for all of your help

User avatar
MikeB
9x Developer
Posts: 15726
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: AVRISP-II and AVRDUDE

Post by MikeB » Fri Mar 02, 2018 10:53 pm

I believe I used a 74AC04 device, with the gates used in pairs to provide a non-inverting buffer on each of RESET, SCK and MOSI.

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
Escrich
Posts: 11
Joined: Tue Feb 27, 2018 9:09 pm
Country: Spain
Location: Spain 28500

Re: AVRISP-II and AVRDUDE

Post by Escrich » Sat Mar 03, 2018 9:45 pm

Then i can understand that MISO is a bidirectional signal, am i right?

User avatar
MikeB
9x Developer
Posts: 15726
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: AVRISP-II and AVRDUDE

Post by MikeB » Sat Mar 03, 2018 10:21 pm

No, MISO is data from the AVR processor to the programmer (Master In Slave Out).

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


User avatar
Escrich
Posts: 11
Joined: Tue Feb 27, 2018 9:09 pm
Country: Spain
Location: Spain 28500

Re: AVRISP-II and AVRDUDE

Post by Escrich » Sat Mar 03, 2018 11:21 pm

Here you, and whoever have something that could help.
Buffer PCB.rar
Circuit and pcb design for buffer
(58.24 KiB) Downloaded 30 times
Thanks a lot for your help

User avatar
jhsa
Posts: 18039
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: AVRISP-II and AVRDUDE

Post by jhsa » Sun Mar 04, 2018 11:56 am

MikeB wrote:
Fri Mar 02, 2018 10:53 pm
I believe I used a 74AC04 device, with the gates used in pairs to provide a non-inverting buffer on each of RESET, SCK and MOSI.

Mike
Mike, wouldn't a CD4069 do the job? I think it might be easier to find and probably cheaper?

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 15726
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: AVRISP-II and AVRDUDE

Post by MikeB » Sun Mar 04, 2018 3:28 pm

Unlikely! The point of this buffering is to use a high current output drive, the '4069 only drives 1mA at 5V, the 74AC devices drive 24mA.

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 18039
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: AVRISP-II and AVRDUDE

Post by jhsa » Sun Mar 04, 2018 3:42 pm

Understood. Thanks for the explanation..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “PROGRAMMERS”