EmbeddedRelated.com
Forums
Memfault Beyond the Launch

which jtag is better?

Started by naderus2000 September 30, 2006
I've never used a USB based JTAG so I assumed after paying $300 you'd
get something that works. I have a wiggler and its a real pain. Reads
the registers fine the first time, and crashes the second time around.
I've never been able to write to the flash. OpenOCD has its quirks and
the warnings I get from it while using the wiggler just gives me a bad
feeling.

I couldnt have cared less for programming speed at this point, I just
wanted to read registers, step through code, read and write memory and
flash the flash reliably. I am flexible on software/IDE/hardware. What
is the most reliable solution for ARM JTAG (I'll use Philips, Motorola
and Sharp)??

If anyone has good experiences with the n-link please let me know and
I'll try it out.
--- In l..., "Eric Engler" wrote:
>
> --- In l..., "ghazanhaider" wrote:
>
> > Is the N-Link JTAG rock solid reliable?
>
> It looks interesting at only $50, and it may be a lot faster than the
> ulink, but I haven't tried it. Maybe someone else can comment. I'd
> like to know if this has an open API, and whether there's a gdb driver
> for it.
>
> I suspect that many of the USB problems I've seen are related to
> Windows and the fairly closed driver model. Short of writing your own
> driver it's very difficult to debug problems with existing drivers on
> your system.
>
> I really can't say whether the USB x-link devices are unreliable, or
> if its just "issues with Windows and drivers".
>
> Sometimes I use VM sessions to ensure that various drivers don't
> interact. But some drivers don't work in VM sessions. I can't afford
> half a dozen PC's, each with their own driver, and I don't have the
> space for them, either!
>
> Eric
>

An Engineer's Guide to the LPC2100 Series

> Is the N-Link JTAG rock solid reliable?

N-Link is nothing but pirated version of U-Link produced in Thailand,
these guys are quite active on eBay so I wonder how ARM/Keil didn't
noticed them yet ;)

Keil didn't do any protection of their JTAG hardware and actually
there are many plans how to make U-Link on the internet, it's
basically Cypress chip with external EEPROM where the USB ID for U-
Link is stored, all code is loaded in the Cypress chip RAM during the
USB enumeration by the DLL so as far you put the USB ID for U-Link in
the EEPROM you can make your own U-Link.

For the last few months I got at least 3 proposals from China to
start selling "their" Keil U-link compatible JTAGs but said no thanks!

Best regards
Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430
(http://www.olimex.com/dev)
ghazanhaider wrote:
> I've never used a USB based JTAG so I assumed after paying $300 you'd
> get something that works. I have a wiggler and its a real pain. Reads
> the registers fine the first time, and crashes the second time around.
> I've never been able to write to the flash. OpenOCD has its quirks and
> the warnings I get from it while using the wiggler just gives me a bad
> feeling.

Strange, I'm using both a home-made and an Olimex-made wiggler with
Rowley CrossStudio and it works really well, both debug and flashing
on the LPC2000 varieties I've tested it on. Rowley also have their own
USB JTAG (CrossLink) that's a bit faster. I only have experience
through the LPC2138 EVB that has it integrated, so I've debugged
the larger programs elsewhere, with the wigglers.

But I still miss the one-wire BDM of the Freescale HCS12 I used
before...

Sam
Now, N-link supports LPC2364, LPC2366, LPC2368, LPC2378 :)

On 10/20/06, Sam Laur wrote:
>
> ghazanhaider wrote:
> > I've never used a USB based JTAG so I assumed after paying $300 you'd
> > get something that works. I have a wiggler and its a real pain. Reads
> > the registers fine the first time, and crashes the second time around.
> > I've never been able to write to the flash. OpenOCD has its quirks and
> > the warnings I get from it while using the wiggler just gives me a bad
> > feeling.
>
> Strange, I'm using both a home-made and an Olimex-made wiggler with
> Rowley CrossStudio and it works really well, both debug and flashing
> on the LPC2000 varieties I've tested it on. Rowley also have their own
> USB JTAG (CrossLink) that's a bit faster. I only have experience
> through the LPC2138 EVB that has it integrated, so I've debugged
> the larger programs elsewhere, with the wigglers.
>
> But I still miss the one-wire BDM of the Freescale HCS12 I used
> before...
>
> Sam

--
N-Link ARM JTAG & ARM7 Boards
--------------
http://www.micro4you.com
http://stores.ebay.com/Micro4you-Store
I dont know how legal is it to buy and use n-link in a production
environment given that it impersonates another hardware, after all
most Wigglers are clones of the original. I wish uvision allowed the
use of a wiggler or the Olimex USB JTAG.

I'd happily pay for U-link or j-link if it worked as reliably as the
hardware it debugs with no misfires and disconnections at all.

--- In l..., "tsvetanusunov" wrote:
> > Is the N-Link JTAG rock solid reliable?
>
> N-Link is nothing but pirated version of U-Link produced in Thailand,
> these guys are quite active on eBay so I wonder how ARM/Keil didn't
> noticed them yet ;)
>
> Keil didn't do any protection of their JTAG hardware and actually
> there are many plans how to make U-Link on the internet, it's
> basically Cypress chip with external EEPROM where the USB ID for U-
> Link is stored, all code is loaded in the Cypress chip RAM during the
> USB enumeration by the DLL so as far you put the USB ID for U-Link in
> the EEPROM you can make your own U-Link.
>
> For the last few months I got at least 3 proposals from China to
> start selling "their" Keil U-link compatible JTAGs but said no thanks!
>
> Best regards
> Tsvetan
> ---
> PCB prototypes for $26 at http://run.to/pcb
> (http://www.olimex.com/pcb)
> Development boards for ARM, AVR, PIC, MAXQ2000 and MSP430
> (http://www.olimex.com/dev)
>
--- In l..., "tsvetanusunov" wrote:

> Keil didn't do any protection of their JTAG hardware and actually
> there are many plans how to make U-Link on the internet...

I understand what you're saying and I know your JTAG device is not a
clone of anyone else's.

I saw on Keil's site that they have an app note that tells how you can
interface any JTAG hardware to their uVision IDE. Also, Luminary has
done this with their integrated USB JTAG device on their dev boards.

Have you considered interfacing your JTAG device to uVision?

Eric
--- In l..., "Eric Engler" wrote:
>
> Have you considered interfacing your JTAG device to uVision?
>
> Eric
>

Hear hear. If the Olimex JTAG could work with uVision it would be
perfect. I will almost be enough reason to purchase uVision. I havent
seriously tried IAR but uVision seemed sufficient for my purposes
except for the expensive and slow jtag. n-link might change that.

I'd rather buy Olimex than n-link, even at $19 more.
--- In l..., "Eric Engler" wrote:
>
> --- In l..., "tsvetanusunov" wrote:
>
> > Keil didn't do any protection of their JTAG hardware and actually
> > there are many plans how to make U-Link on the internet...
>
> I understand what you're saying and I know your JTAG device is not a
> clone of anyone else's.
>

How do you know that? Isn't wiggler clone (from where is original
design)? What about AVR USB JTAG? I think that even design of
ARM-USB-OCD is from somewhere else (upgraded of course, but so what).
--- In l..., "ghazanhaider" wrote:
>
> --- In l..., "Eric Engler" wrote:
> >
> > Have you considered interfacing your JTAG device to uVision?
> >
> > Eric
> > Hear hear. If the Olimex JTAG could work with uVision it would be
> perfect.

Actually, the Olimex JTAG seems to work very well with uVision3 when
H-JTAG is used as the RDI agent between them. I've only tried it a few
times since I prefer a different toolset, but it worked well on the
tiimes that I tried it.

-- Dave
> > Hear hear. If the Olimex JTAG could work with uVision it would be
> > perfect.
> Actually, the Olimex JTAG seems to work very well with uVision3 when
> H-JTAG is used as the RDI agent between them. I've only tried it a few
> times since I prefer a different toolset, but it worked well on the
> tiimes that I tried it.

I think he was talking about the new "ARM-USB-OCD" and not about the
simple parallel port Wiggler clone from Olimex.

Memfault Beyond the Launch