Jtag Debugger Options

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jtag Debugger Options

1,279 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motters on Mon Jun 16 17:24:02 MST 2014
Hi,

I'm about to purchased the development board for the lcp4357 (http://www.nxp.com/news/news-archive/2013/nxp-development-kit-based-on-the-dual-core-lpc4357-microco...).

And i'm now starting to have a look at the jtag debugging options out there, but there all rather expensive. I'm a student and just purchasing the board for pure self development and to have a play :). So i was wondering if anyone here has had any experience with the cheaper jtag debuggers. The official Keil Ulink 2 is over £250 which is deferentially out my rang for something i'm just having a play with haha.

[u]I've done some research and found three possibles:[/u]
Segger do an education version of there basic debugger, any good?
http://www.segger.com/j-link-edu.html

The below does not say it support lcp4357 i've emailed the seller to see if s/he has just missed it off the list
http://www.ebay.co.uk/itm/Ulink-2-USB-JTAG-Emulator-ARM9-Cortex-Keil-Ulink-II-GH2-White-Adapter-Debu...

Olimex ARM-USB-OCD seem to be opensource but i'm not too sure how good it is etc
http://www.ebay.co.uk/itm/Olimex-ARM-USB-OCD-arm-usb-jtag-programmer-debugger-power-supply-/31083094...

I would prefer for the jtag debugger to support uVision 5 or LPCXpresso etc Sorry if I've missed anything obvious or broke any rules etc

Cheers for the help

Sam
Labels (1)
0 Kudos
8 Replies

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Wed Jun 18 00:59:23 MST 2014
I got an LPC-Link2 directly from Embedded Artists, together with some cables and adapters which are unavailable or much more expensive at Farnell:

http://www.embeddedartists.com/products/lpcxpresso/lpclink2.php

Jürgen
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pacman on Tue Jun 17 20:10:06 MST 2014
I think it'll need some firmware as well; there's a PLD and two Microwire EEPROMs.

One thing that amazed me, was the speed that I can reach when using SWD on this adapter.
For LPC175x and LPX176x, I can set the JTAG speed to 249kHz; this is way faster than what the Olimex adapter can handle.
For LPC11xx and LPC13xx, it seems that the maximum SWD speed is 8 MHz; I just set it to 4MHz.
For LPC8xx, I can't find out what the maximum SWD speed is; again I just set it to 4MHz.
I haven't tried SWD with LPC17xx or LPC43xx yet, but intend to try it out soon.
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motters on Tue Jun 17 18:03:18 MST 2014
The schematic [u]seems[/u] to be at the end of their datasheet/manual (page 21) ( http://www.distortec.com/system/files/jtag-lock-pick_tiny_2-manual-en-1.0-130202.pdf ), got to love open source and open hardware haha :) Or sweet might order one then :D
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pacman on Tue Jun 17 16:24:39 MST 2014
Schematics ? -Are they available - where ?
(Actually it took only around 5 days to get mine; I'm located in Denmark).
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by motters on Tue Jun 17 16:12:01 MST 2014
Awesome cheers everyone think i'll give OM13054 a go then. The JTAG-lock-pick tiny 2 sounds pretty good as well, only problem is it will take a few weeks to get to me in the UK :/ Where as farnell has the OM13054 in stock for £16 :D

Although will be good fun making a JTAG-lock-pick tiny 2 from scratch with the schematic available from the website :)
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Tue Jun 17 09:07:48 MST 2014
http://www.nxp.com/demoboard/OM13054.html

the trailing period (.) messes up the link

I bought 2 LPCLink2 for $20 each
cannot beat the price and it is USB High Speed, so it is fast.
And you know it will be well supported by NXP.
0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Pacman on Mon Jun 16 23:44:19 MST 2014
I have ARM-USB-TINY-H, ARM-OCD-H and JTAG-Lock-pick Tiny 2.

I bought them in the above order and since I bought JTAG-Lock-pick Tiny 2, I've only used that one.

Why did I buy JTAG-Lock-pick Tiny 2 ?
1: I wanted a JTAG adapter, which would work with virtually "anything": CPLD, FPGA, ARM microcontrollers and whatever I got in the future.
2: I wanted something that would work well with OpenOCD.
3: I wanted built-in support for SWD (Olimex adapters do not have that).
4: I wanted an adapter that is compatible with most software available.

The JTAG-lock-pick Tiny 2 was developed by one of the OpenOCD developers, and I must say that it works absolutely well.
It'll work with any software that supports it directly or supports Amontec JTAGkey.
It can be bought on eBay.

0 Kudos

917 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Jun 16 18:40:38 MST 2014
Hi Sam,
You can consider using Link2 with LPCXpresso. http://www.nxp.com/demoboard/OM13054.html.
You may have to make a converter as the board you are going to use does not have cortex debug connector.
0 Kudos