Debugging tools

Anyone using the Atmel AVR Dragon?

Looks like it could be a handy tool for $49. ($53.15 at Digikey, $53.75 at Mouser)

Good for all the typical devices discussed in the forum:

Ooh, here's a neat sounding series of parts:
ATmega2564RFR2
Single-chip 8-bit Microcontroller with Low Power 2.4GHz Transceiver for IEEE 802.15.4 and ZigBee Applications with 256KB Flash and 33 I/O pins.

Packages could be a little difficult to install by hand.

I got a 1st gen. Dragon. Don't buy it, it's useless with Arduino, and will sooner or later release its magic smoke.

Search for AVR dagonslayer for more info about the electrical issues.

It doesn't work well with Arduino IDE either, the problem is the bootloader burning. After the fuses are sat, the Dragon gets resetted and need some seconds to boot. Meanwhile the IDE has allready issued the flash command, resulting in an error (cannot find USB device error). I think you'll be better off buying a cheap AVR ICE clone for 5$

Thanks for the feedback. I've been looking for something to recommend for my customers as AVR ISP MKii is no longer available.

I do enjoy passing on your core files for folks to use.

What do you think of the 1284RF chip?
Looks like sparkfun has a development board version of one of the chips.

I don't do much RF myself, not sure how useful the Zigbee interaction will be.

I came across this, not sure if it would do.

Or
https://www.amazon.ca/s/?ie=UTF8&keywords=isp+programmer&tag=googcana-20&index=aps&hvadid=85076071169&hvpos=1o1&hvnetw=g&hvrand=11644005440135100342&hvpone=&hvptwo=&hvqmt=b&hvdev=t&hvdvcmdl=&hvlocint=&hvlocphy=9001344&hvtargid=kwd-301391292&ref=pd_sl_6ezg0s1km7_b

.

The Olimex unit looks good. Well documented. Too bad it doesn't ship a 6-pin ICSP header cable, have to rig one up.

hansibull:
better off buying a cheap AVR ICE clone for 5$

May I ask for a link of an example device?
I guess this (ebay) is such a device but that one (AliExpress) is not?

Moreover, where can I learn the advantages of using a AVR ICE versus "Arduino as ISP"?

Thanks & best

ICE, In Circuit Emulator, usually takes over (or replaces) the microprocessor on a board and lets one view all the registers, memory, insert break points in the code, etc.
ISP, In System Programmer, for an AVR chip like Arduino, lets a Programmer change the fuses, write into the flash and EEPROM memory area. No debugging support. Serial.print() & Serial.println() are used via the serial port to the serial monitor for debugging. Also writing to LEDs.

Can't access the two links you provided.

Thanks for the quick reply and the explanation. I read about it on Wikipedia but it's a bit limited to make an informed choice.
Looks like I have to use something like AVR Studio to make it work. Moreover, the first linked page states

Supported chips:
ATMega16, ATmega16L, ATMega162, ATmega162V, ATmega165, ATmega165V, ATMega169, ATmega169V, ATMega32, ATMega323, ATmega323L, ATmega32L, ATMega64, ATmega64L, ATMega128, ATmega128L, AT90CAN128

So, Attiny13a is not supported or the seller simply did not list all. How to find out? Any buzzword I should look for?

And sorry for the links, both still working here. Double-checked with different browser.

Thanks & best

Links not working due to network blocking at my end (security thing).

Ask the seller.
Or if it's cheap, just pick one up & try it.

Oh, ok.
Thanks anyway & best :slight_smile:

The ATtiny13 doesn't have a JTAG interface (don't think any ATtiny does), so you can't use it for JTAG debugging. You'll need a programmer/debugger that support debugWire. Not sure if the cheap clone supports it. A Dragon does though :wink:

Thanks for clarification. So, debugWire is the buzzword I should look for.
Maybe I'll get a Dragon, later :wink: