Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

butterfly dead, can't use JTAG nor ISP to program fuses

butterfly dead, can't use JTAG nor ISP to program fuses

2008-03-09 by Sander Pool

Hi,

a few months ago I used a butterfly carrier to build a small project. I 
used my JTAGICE to program and debug the butterfly. Generally worked 
great. The other day I picked up the project again and wanted to add 
rs-232 communications to the host PC. So I grabbed a comms echo program 
from the web, compiled and tried to install it. In the process I 
probably blew up my butterfly. Connected the JTAG connector reversed. 
Luckily I had another butterfly and enough parts in my collection to add 
the headers to fit on the carrier. No luck there either. The device was 
cleared without problem (the easy part) but programming was a problem. I 
then dusted of my STK500 and tried that. No luck it couldn't read the 
fuse bits. Can program but verification doesn't succeed.

So I've been reading about this on avrfreaks and here in the archives. 
The common suggestion is to set the JTAGEN fuse with an ISP. Well that 
doesn't work in my case. I think I killed both butterflies but maybe 
someone here has a last ditch suggestion for reviving them?

Thanks,

    Sander

Re: butterfly dead, can't use JTAG nor ISP to program fuses

2008-03-11 by sander_pool

Hi,

just in case someone finds this thread later, here's the solution. AVR
Studio 4.13 SP2 messed up the fuses and couldn't fix them either. I
installed 4.14 beta and was able to repair the fuses and get my code
loaded again with the old JTAG box.

My butterfly (tried only 1 so far) works fine again and the project
can proceed. I also ordered an AT90USBKey, atmega16 (for gnusb) and an
AT90USB16. So I have some options now.

  Sander

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.