STK500 vs Dragon

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A long time ago I got the stk500/Dragon combo. Recently i switched from using the sockets on my stk500 to a breadboard. I wanted to try out on board debugging so I switched to using dragon. The dragon connected to my atmega168, programed it but could not verify flash. My first thought was I plugged the ISP wires wrong, but everything seemed right. After an hour of trying to fix it I remembered about the STK500. Programing with STK500 is just fine, everything works. The Dragon can't even read fuses but the debug wire works. Can someone please explain why this is happening and is this normal.

Thanks in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
The Dragon can't even read fuses but the debug wire works.
Have you set up the ISP frequency for the Dragon correctly? (say 250KHz) It tends to forget it's settings and may default to 8MHz.

And of course once you have DW enabled it can only be turned off from within a debug session, otherwise the chip can no longer be programmed with ISP.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

the power of Dragon is very easy to be broken. so you should use it carefully.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

John you were right it was set to 8MHz. I set it to 250KHz and everything is fine now.

Quote:
the power of Dragon is very easy to be broken.

What do you mean by that? Should i get an enclosure for the Dragon and handle it more carefully then the STK?

Thanks for helping me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

mikezhang wrote:
the power of Dragon is very easy to be broken. so you should use it carefully.

Only if you're careless!!!

I've had one on the bench for nearly a year and I beat the hell out of it. Haven't had a problem - save the very first Dragon - th one that I ran 24VDC into the ISP pins.

I'm known around these parts as "The original Dragon slayer!"

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston