Debugger for ARM and Cortex chips?? - Page 1
Forum section: electronics / general

author: jtronix
author_rank: Regular Contributor
timestamp: August 25, 2014, 04:08:59 pm
content: hello,any body suggest or share experience of ARM and Cortex Debugger??i've seen two debugger J-Link by segger and j-link by keil, can any body say which one is better and why?clone is also available in market, is it worth to buy j-link clone?is j-Link chinese clone support all chips??

author: Scrts
author_rank: Frequent Contributor
timestamp: August 25, 2014, 07:42:52 pm
content: Clone works, until you get caught. There's a magic to mess with DLL files and trick the software, but I'd say go for JLink if you want a good debugger. If you use Keil software - go for Keil.

author: legacy
author_rank: Super Contributor
timestamp: August 25, 2014, 08:23:08 pm
content: Quote from: Scrts on August 25, 2014, 07:42:52 pmwhat do you mean with "caught" ?the software is not telling thing-back to keil through the network

author: andyturk
author_rank: Frequent Contributor
timestamp: August 25, 2014, 08:37:19 pm
content: Olimex has a bunch of JTAG/SWD dongles too:https://www.olimex.com/Products/ARM/JTAG/If you're using STM32 chips, the ST-LINK works great and costs about $20:http://www.mouser.com/ProductDetail/STMicroelectronics/ST-LINK-V2/?qs=sGAEpiMZZMsUcx5t7XFI3RIxq36q1BfCI've also had good luck with Segger's J-Link. It seems to support every chip family out there. The official EDU version is about $60 and that's a reasonable price to pay for what you get, IMO.

author: Scrts
author_rank: Frequent Contributor
timestamp: August 25, 2014, 08:50:57 pm
content: Quote from: legacy on August 25, 2014, 08:23:08 pmSorry, I was talking about Jlink clone.

author: legacy
author_rank: Super Contributor
timestamp: August 25, 2014, 09:09:57 pm
content: Quote from: Scrts on August 25, 2014, 08:50:57 pmyes, about Jlink-clone1) how could you be "caught" ? it is a clone, is the software able to distinguish between original-cable and clone ?2) also does Keil Studio contact Keil dot com to tell them what you are doing ? (is there any hidden talkback-feature ?)

author: dannyf
author_rank: Super Contributor
timestamp: August 25, 2014, 09:27:15 pm
content: A couple of issues with the clones:first, the older clones don't work with idea - segger software introduced over the last year and half. There are ways around that but they are messy.secondly, the newer clones are fairly expensive: 60 - 120 USD. You are better off, I think, with an edu version. On the downside, the edu version can be annoying.another solution is to use chip specific debugger, like st-link. Coincidentally, the newer jlink is much closer to a st-link.

author: legacy
author_rank: Super Contributor
timestamp: August 25, 2014, 11:19:35 pm
content: Quote from: dannyf on August 25, 2014, 09:27:15 pma few time ago i bought an IMU (Inertial Measurement Unit) which is based on Cortex chips, so i got the edu version of the debugger cable in order to modify its firmware and to toy with it and … for hobby purposes (more specifically to debug around the IMU algorithms) it seems good. What's annoying about EDU version ?

author: legacy
author_rank: Super Contributor
timestamp: August 25, 2014, 11:28:03 pm
content: Quote from: dannyf on August 25, 2014, 09:27:15 pmi think another chance is by Atmel. They have told they want to release a cheap debugger chip which will be integrated and used in the new Arduino/Arm products, i mean something like the new so called "Arduino/Zero" board. I have no informations about details and costs but … i can imagine the software will be AVR-studio only. Btw, it may be not, and in case it could be interesting, too. Just my 50 cents.

author: dannyf
author_rank: Super Contributor
timestamp: August 25, 2014, 11:53:28 pm
content: The most universal solution, short of using clones, is dap. But there aren't many dap out there right now.There are "universal" debuggers, LPCLink2 is the closest. There was an open source initiative a couple years back but it died in its infancy: the concept is quite close to LPCLink2 - you flash a particular firmware into the debugger so it mimics a real debugger for that particular chip.To me, dap is the way to go but guys like segger wouldn't be happy about it.

author: andyturk
author_rank: Frequent Contributor
timestamp: August 26, 2014, 03:55:22 am
content: Quote from: dannyf on August 25, 2014, 09:27:15 pmThe main annoyance seems to be a once-per-day dialog box that admonishes you to use the thing in accordance with the license agreement.

author: Scrts
author_rank: Frequent Contributor
timestamp: August 26, 2014, 10:31:49 am
content: Quote from: legacy on August 25, 2014, 09:09:57 pmYes, the JLink software can recognize that the connected adapter is a clone.

author: rsjsouza
author_rank: Super Contributor
timestamp: August 26, 2014, 11:25:07 am
content: Relevant thread:https://www.eevblog.com/forum/microcontrollers/segger-j-link-edu-or-j-link-clone-which-one-would-you-get/

author: dannyf
author_rank: Super Contributor
timestamp: August 26, 2014, 01:37:51 pm
content: QuoteIt seems to be a st-link-like implementation over AVR32 (the EDBG chip). Still uses SWD so fairly low-tech.The chip mentioned cannot be found on atmel's own site.Nice of an open-source producer using such a heavily closed-source part.

author: nctnico
author_rank: Super Contributor
timestamp: August 26, 2014, 01:58:37 pm
content: How about OpenOCD? IMHO that should work with many JTAG interfaces and GDB. Alternatively you can use OpenOCD as a standalone programmer.

author: legacy
author_rank: Super Contributor
timestamp: August 26, 2014, 03:08:32 pm
content: Quote from: nctnico on August 26, 2014, 01:58:37 pmi am afraid that "standalone programmer" is the best usage of such a tools, it may be that OpenOCD can be also used to do debug things but .. it is always a slaughter to make it configured and really woking. I mean Keil's is much more "easy going" and productive.

author: jtronix
author_rank: Regular Contributor
timestamp: August 27, 2014, 03:56:59 pm
content: j-link EDU is available @60$ and ulink-ME is also available @ 60$.which one is better among this two?is j-link EDU support all devices??any limitation in EDU version apart from educational licence?

author: Kjelt
author_rank: Super Contributor
timestamp: August 27, 2014, 04:41:03 pm
content: we use a STlink v2 for €20 for our ARM development, Keil and IAR compilers also supports this.

author: jtronix
author_rank: Regular Contributor
timestamp: September 01, 2014, 03:48:55 pm
content: waiting fo reply

author: JDubU
author_rank: Frequent Contributor
timestamp: September 01, 2014, 04:35:00 pm
content: Quote from: jtronix on August 27, 2014, 03:56:59 pmJ-Link EDU info:http://www.segger.com/j-link-edu.htmlDevices:http://www.segger.com/jlink_supported_devices.htmlIt is identical to the J-Link Base model but also includes the license for "Unlimited Flash Breakpoints":http://www.segger.com/jlink-unlimited-flash-breakpoints.htmlNo limitations in function compared to J-Link Base model except for educational license that you need to acknowledge every day of use by clicking the "Accept" button on a popup dialog box.

author: dannyf
author_rank: Super Contributor
timestamp: September 01, 2014, 04:36:02 pm
content: Quotejlink is supported by all major ides, and a command line tool is available;ulink is supported by only keil. It is also slower.QuoteGoogle to segger's website and all your questions are answered.

author: jtronix
author_rank: Regular Contributor
timestamp: September 11, 2014, 04:03:32 pm
content: please share JLink and ULink debug demo video with Keil IDE??

author: eurofox
author_rank: Unknown
timestamp: September 11, 2014, 08:50:12 pm
content: Someone test this jlink?http://www.aliexpress.com/item/jlink-emulator-V8-J-LINK-dual-protection-gilded-board-supports-the-latest-4-74B-and-MDK5/2035167763.html

author: dannyf
author_rank: Super Contributor
timestamp: September 11, 2014, 10:27:36 pm
content: They all are roughly the same - being a clone.If you have to go down that path, you may want to get one with 4.90e - it supports rtt.

author: Kjelt
author_rank: Super Contributor
timestamp: September 12, 2014, 08:45:54 am
content: why use a clone when you have a real one for €60 for non commercial use? I don't get it.

author: eurofox
author_rank: Unknown
timestamp: September 12, 2014, 09:23:00 am
content: Quote from: Kjelt on September 12, 2014, 08:45:54 amI just found this link and askWhen people here ask for Agilent and Tektronix crak nobody make remarks to avoid to pay the licensesI have an Agilent scope all genuine including options.If I make money with tools I just buy the official versions.eurofox

author: Kjelt
author_rank: Super Contributor
timestamp: September 12, 2014, 10:06:22 am
content: I understand you want to safe money but you take a chance that it does not work or will not work in the near future as happened before and pissing away €20 on a fake is already 33% of what a legal one costs new.

author: dannyf
author_rank: Super Contributor
timestamp: September 12, 2014, 11:12:21 am
content: QuoteI have come to prefer those $5 st-link clones over the real STlink, for its small size and convenience.QuoteUsing those jlink clones on newer IDEs can be a little involved,Quote20euro is too high of a price. Those clones are going for like $10.The jlink edu is a good deal, especially if you get a v9.