EmbeddedRelated.com
Forums

USB ISP programmer (or Jtag / debugWIRE debugger)

Started by Felipe Uderman November 5, 2008
Hello list,

I am looking for a cheap USB ISP programer for the AVR familly. Can you give
me some sugestions?

In fact, what I really want was a debugger. But I noticed that many AVR
devices dont support JTAG. And I found out about this debugWIRE interface,
that seens to have more devices compatible, that I have never heard about
before. I also noticed that the JTAG debbugers usually can debug by JTAG
also.

Is there a debbuger ,not too expencive :), that also supports debugWIRE that
you guys can sugest me?

Thank you a lot!

--
-Uderman
http://wiki.temadigital.com.br/

On Wed, Nov 05, 2008 at 05:38:30PM -0200, Felipe Uderman wrote:
> Hello list,
>
> I am looking for a cheap USB ISP programer for the AVR familly. Can you give
> me some sugestions?
>
> In fact, what I really want was a debugger. But I noticed that many AVR
> devices don?t support JTAG.

Some support JTAG, some support debugWIRE, some don't debug at all.

> And I found out about this debugWIRE interface, that seens to have
> more devices compatible, that I have never heard about before. I also
> noticed that the JTAG debbugers usually can debug by JTAG also.

Yes, I would hope a JTAG debugger could debug by JTAG also. :-)

No, it is rare that a JTAG debugger also supports debugWIRE. The Atmel
JTAGICE mkII is the only sure solution, over $300.

> Is there a debbuger ,not too expencive :), that also supports
> debugWIRE that you guys can sugest me?

AVR Dragon has JTAG, debugWIRE, and ISP. But only supports a limited
range of AVRs, none with more than 32K of FLASH. You don't say much
about your application other than "not expensive". My guess is that if
you limit your selection of AVR to that which is supported by the Dragon
then you won't be very limited at all.

The AVR Dragon was just over $50 last time I looked. It could be really
helped with the addition of an accessory kit with wires to connect to
off board CPU. Perhaps a Dragon Rider:
http://www.ecrostech.com/AtmelAvr/DragonRider/index.htm

If JTAG-only is good enough for you then I really liked the ECROS ICE
Cube: http://www.ecrostech.com/AtmelAvr/AvrIceCube/index.htm

But IIRC there might be an issue with virgin AVRs having JTAG disabled
from the factory. Then you have to have an AVRISP ($30 or $40) in order
to change the config bits to enable JTAG.

--
David Kelly N4HHE, d...@HiWAAY.net
=======================================================================Whom computers would destroy, they must first drive mad.

Hello David,
Thank you for the clarifications :)

I found the AVRdragon to be very interesting. I think I will get one.

It is not so hard to build one programmer ISP+JTAG+debugWIRE tought:

http://www.alelec.net/isojtagisp/isojtagisp.php

--
-Uderman
http://wiki.temadigital.com.br/

On Wed, Nov 5, 2008 at 8:36 PM, David Kelly wrote:

> On Wed, Nov 05, 2008 at 05:38:30PM -0200, Felipe Uderman wrote:
> > Hello list,
> >
> > I am looking for a cheap USB ISP programer for the AVR familly. Can you
> give
> > me some sugestions?
> >
> > In fact, what I really want was a debugger. But I noticed that many AVR
> > devices don?t support JTAG.
>
> Some support JTAG, some support debugWIRE, some don't debug at all.
>
> > And I found out about this debugWIRE interface, that seens to have
> > more devices compatible, that I have never heard about before. I also
> > noticed that the JTAG debbugers usually can debug by JTAG also.
>
> Yes, I would hope a JTAG debugger could debug by JTAG also. :-)
>
> No, it is rare that a JTAG debugger also supports debugWIRE. The Atmel
> JTAGICE mkII is the only sure solution, over $300.
>
> > Is there a debbuger ,not too expencive :), that also supports
> > debugWIRE that you guys can sugest me?
>
> AVR Dragon has JTAG, debugWIRE, and ISP. But only supports a limited
> range of AVRs, none with more than 32K of FLASH. You don't say much
> about your application other than "not expensive". My guess is that if
> you limit your selection of AVR to that which is supported by the Dragon
> then you won't be very limited at all.
>
> The AVR Dragon was just over $50 last time I looked. It could be really
> helped with the addition of an accessory kit with wires to connect to
> off board CPU. Perhaps a Dragon Rider:
> http://www.ecrostech.com/AtmelAvr/DragonRider/index.htm
>
> If JTAG-only is good enough for you then I really liked the ECROS ICE
> Cube: http://www.ecrostech.com/AtmelAvr/AvrIceCube/index.htm
>
> But IIRC there might be an issue with virgin AVRs having JTAG disabled
> from the factory. Then you have to have an AVRISP ($30 or $40) in order
> to change the config bits to enable JTAG.
>
> --
> David Kelly N4HHE, d...@HiWAAY.net
> =======================================================================> Whom computers would destroy, they must first drive mad.
>
>

It is only ISP and JTAG, sorry.
On Wed, Nov 5, 2008 at 9:43 PM, Felipe Uderman wrote:

> Hello David,
> Thank you for the clarifications :)
>
> I found the AVRdragon to be very interesting. I think I will get one.
>
> It is not so hard to build one programmer ISP+JTAG+debugWIRE tought:
>
> http://www.alelec.net/isojtagisp/isojtagisp.php
>
> --
> -Uderman
> http://wiki.temadigital.com.br/
>
> On Wed, Nov 5, 2008 at 8:36 PM, David Kelly wrote:
>
>> On Wed, Nov 05, 2008 at 05:38:30PM -0200, Felipe Uderman wrote:
>> > Hello list,
>> >
>> > I am looking for a cheap USB ISP programer for the AVR familly. Can you
>> give
>> > me some sugestions?
>> >
>> > In fact, what I really want was a debugger. But I noticed that many AVR
>> > devices don?t support JTAG.
>>
>> Some support JTAG, some support debugWIRE, some don't debug at all.
>>
>> > And I found out about this debugWIRE interface, that seens to have
>> > more devices compatible, that I have never heard about before. I also
>> > noticed that the JTAG debbugers usually can debug by JTAG also.
>>
>> Yes, I would hope a JTAG debugger could debug by JTAG also. :-)
>>
>> No, it is rare that a JTAG debugger also supports debugWIRE. The Atmel
>> JTAGICE mkII is the only sure solution, over $300.
>>
>> > Is there a debbuger ,not too expencive :), that also supports
>> > debugWIRE that you guys can sugest me?
>>
>> AVR Dragon has JTAG, debugWIRE, and ISP. But only supports a limited
>> range of AVRs, none with more than 32K of FLASH. You don't say much
>> about your application other than "not expensive". My guess is that if
>> you limit your selection of AVR to that which is supported by the Dragon
>> then you won't be very limited at all.
>>
>> The AVR Dragon was just over $50 last time I looked. It could be really
>> helped with the addition of an accessory kit with wires to connect to
>> off board CPU. Perhaps a Dragon Rider:
>> http://www.ecrostech.com/AtmelAvr/DragonRider/index.htm
>>
>> If JTAG-only is good enough for you then I really liked the ECROS ICE
>> Cube: http://www.ecrostech.com/AtmelAvr/AvrIceCube/index.htm
>>
>> But IIRC there might be an issue with virgin AVRs having JTAG disabled
>> from the factory. Then you have to have an AVRISP ($30 or $40) in order
>> to change the config bits to enable JTAG.
>>
>> --
>> David Kelly N4HHE, d...@HiWAAY.net
>> =======================================================================>> Whom computers would destroy, they must first drive mad.
>>
>>


Dear Frnd,

It is AVRISPMK2.It only programs no debug.
Regards,
kundan

On Thu, 06 Nov 2008 Felipe Uderman wrote :
>Hello list,
>
>I am looking for a cheap USB ISP programer for the AVR familly. Can you give
>me some sugestions?
>
>In fact, what I really want was a debugger. But I noticed that many AVR
>devices dont support JTAG. And I found out about this debugWIRE interface,
>that seens to have more devices compatible, that I have never heard about
>before. I also noticed that the JTAG debbugers usually can debug by JTAG
>also.
>
>Is there a debbuger ,not too expencive :), that also supports debugWIRE that
>you guys can sugest me?
>
>Thank you a lot!
>
>--
>-Uderman
>http://wiki.temadigital.com.br/
>
>
Sr. FAE

Excel Eltech inc.

A-76, EOK. New Delhi

110065

ph:9811675688