I was able to answer my own question. The short answer is yes -- the AVRRISP MKII is compatable with the Butterfly/Carrier Board combo. I had heard a vague refference to the Butterfly reset resistor being a problem but the schematic showed a 10K pullup on the reset line and the RISP manual recommended a nothing lower than 4.7K. I then found another refference to the ISP programming data rate being important. It needs to be 1/4 or less than the processor's clock rate. I checked the ISP programming speed (under the "Board" tab on the programming window) and it was set to 1.048MHz. An odd value! Just for fun I set the programing speed to 1.000MHz and tried to program again and it worked fine! I then set the speed to 2MHz (1/4 of 8MHz) and it still worked fine. It appears the "out of the box" default ISP programming speed (which is stored inside the Butterfly?) was simply goofed up. Rewriting the value solved the problem. -Mike --- In AVR-Chat@yahoogroups.com, "k5atm" <k5atm@...> wrote: > > On advice from the list this week I purchased a butterfly carrier to > go along with my AVRRISP MKII (USB programmer. I also purchased an > ICE Cube. > > The carrier board kit went together well. I compiled the original > butterfly code (ported to winavr) and loaded it fine with the ICE > Cube. I also loaded an application I wrote. I then later restored > the Butterfly code -- complete with bootloader. So far so good. > > I tried the above steps again but with the AVRRISP MKII (usb) > connected to the ISP connector on the carrier -- but I was not able > to get the butterfly to program. The AVRRISP connects OK and when I > say program the status light turns from green (connected) to orange > (programming) and the USB activity light will flash now and then -- > but programming never seems to complete. > > However, I can use the AVTRISP MKII to read and program fuse bits > just fine so at some level it appears to be working. > > I searched the list archives but found no usefull RISP info. > > Can anyone verify that the AVRRISP MKII (USB) -- the one Digikey > sells for around $30-- should program a Butterfly via the carrier ISP > connector? And if so any advice on what might be wrong? > > Switching topics -- I find that AVRStudio 4 seems to crash alot. I > am running a clean machine with XP. The machine has a 2.8GHz > processor with 2GB RAM. All OS updates are current. AVR Studio and > WinAVR are all current versions. Are crashes just the nature of this > beast? > > Thanks in advance for any advice. > > -Mike >
Message
Re: AVRISP MKII (USB) and Butterfly/carrier not working
2008-01-17 by k5atm
Attachments
- No local attachments were found for this message.