Author Topic: Debugger for ARM and Cortex chips??  (Read 8101 times)

0 Members and 1 Guest are viewing this topic.

Offline jtronixTopic starter

  • Regular Contributor
  • *
  • Posts: 125
Debugger for ARM and Cortex chips??
« on: August 25, 2014, 04:08:59 pm »
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??
« Last Edit: August 25, 2014, 04:12:45 pm by jtronix »
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: Debugger for ARM and Cortex chips??
« Reply #1 on: August 25, 2014, 07:42:52 pm »
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.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Debugger for ARM and Cortex chips??
« Reply #2 on: August 25, 2014, 08:23:08 pm »
Clone works, until you get caught. There's a magic to mess with DLL files and trick the software

what do you mean with "caught" ?
the software is not telling thing-back to keil through the network
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Debugger for ARM and Cortex chips??
« Reply #3 on: August 25, 2014, 08:37:19 pm »
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=sGAEpiMZZMsUcx5t7XFI3RIxq36q1BfC

I'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.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: Debugger for ARM and Cortex chips??
« Reply #4 on: August 25, 2014, 08:50:57 pm »
Clone works, until you get caught. There's a magic to mess with DLL files and trick the software

what do you mean with "caught" ?
the software is not telling thing-back to keil through the network

Sorry, I was talking about Jlink clone.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Debugger for ARM and Cortex chips??
« Reply #5 on: August 25, 2014, 09:09:57 pm »
Sorry, I was talking about Jlink clone.

yes, about Jlink-clone
1) 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 ?)
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Debugger for ARM and Cortex chips??
« Reply #6 on: August 25, 2014, 09:27:15 pm »
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.

================================
https://dannyelectronics.wordpress.com/
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Debugger for ARM and Cortex chips??
« Reply #7 on: August 25, 2014, 11:19:35 pm »
the edu version can be annoying

a 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 ?  :-//
 
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Debugger for ARM and Cortex chips??
« Reply #8 on: August 25, 2014, 11:28:03 pm »
another solution is to use chip specific debugger

i 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.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Debugger for ARM and Cortex chips??
« Reply #9 on: August 25, 2014, 11:53:28 pm »
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.
================================
https://dannyelectronics.wordpress.com/
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: Debugger for ARM and Cortex chips??
« Reply #10 on: August 26, 2014, 03:55:22 am »
On the downside, the edu version can be annoying.
The main annoyance seems to be a once-per-day dialog box that admonishes you to use the thing in accordance with the license agreement.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: Debugger for ARM and Cortex chips??
« Reply #11 on: August 26, 2014, 10:31:49 am »
Sorry, I was talking about Jlink clone.

yes, about Jlink-clone
1) 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 ?)

Yes, the JLink software can recognize that the connected adapter is a clone.
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 5985
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Debugger for ARM and Cortex chips??
« Reply #13 on: August 26, 2014, 01:37:51 pm »
Quote
"Arduino/Zero"

It 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.
================================
https://dannyelectronics.wordpress.com/
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26896
  • Country: nl
    • NCT Developments
Re: Debugger for ARM and Cortex chips??
« Reply #14 on: August 26, 2014, 01:58:37 pm »
How about OpenOCD? IMHO that should work with many JTAG interfaces and GDB. Alternatively you can use OpenOCD as a standalone programmer.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Debugger for ARM and Cortex chips??
« Reply #15 on: August 26, 2014, 03:08:32 pm »
you can use OpenOCD as a standalone programmer.

i 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.
 

Offline jtronixTopic starter

  • Regular Contributor
  • *
  • Posts: 125
Re: Debugger for ARM and Cortex chips??
« Reply #16 on: August 27, 2014, 03:56:59 pm »
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?
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: Debugger for ARM and Cortex chips??
« Reply #17 on: August 27, 2014, 04:41:03 pm »
we use a STlink v2 for €20 for our ARM development, Keil and IAR compilers also supports this.
 

Offline jtronixTopic starter

  • Regular Contributor
  • *
  • Posts: 125
Re: Debugger for ARM and Cortex chips??
« Reply #18 on: September 01, 2014, 03:48:55 pm »
waiting fo reply
 

Offline JDubU

  • Frequent Contributor
  • **
  • Posts: 441
  • Country: us
Re: Debugger for ARM and Cortex chips??
« Reply #19 on: September 01, 2014, 04:35:00 pm »
is j-link EDU support all devices??
any limitation in EDU version apart from educational licence?

J-Link EDU info:  http://www.segger.com/j-link-edu.html
Devices:  http://www.segger.com/jlink_supported_devices.html

It 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.html
No 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.

« Last Edit: September 01, 2014, 04:37:15 pm by JDubU »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Debugger for ARM and Cortex chips??
« Reply #20 on: September 01, 2014, 04:36:02 pm »
Quote
which one is better among this two?

jlink is supported by all major ides, and a command line tool is available;

ulink is supported by only keil. It is also slower.

Quote
waiting fo reply

Google to segger's website and all your questions are answered.
================================
https://dannyelectronics.wordpress.com/
 

Offline jtronixTopic starter

  • Regular Contributor
  • *
  • Posts: 125
Re: Debugger for ARM and Cortex chips??
« Reply #21 on: September 11, 2014, 04:03:32 pm »
please share JLink and ULink debug demo video with Keil IDE??
 

Offline eurofox

  • Supporter
  • ****
  • Posts: 873
  • Country: be
    • Music
« Last Edit: September 11, 2014, 10:21:52 pm by eurofox »
eurofox
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Debugger for ARM and Cortex chips??
« Reply #23 on: September 11, 2014, 10:27:36 pm »
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.
================================
https://dannyelectronics.wordpress.com/
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: Debugger for ARM and Cortex chips??
« Reply #24 on: September 12, 2014, 08:45:54 am »
why use a clone when you have a real one for €60 for non commercial use? I don't get it.  :-//
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf