Tuesday, January 23rd 2018, 2:44am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

tmostad

Beginner

Date of registration: Apr 17th 2014

Posts: 14

1

Monday, February 8th 2016, 9:48pm

Using J-Trace with Embedded Studio to debug code developed in Creator IDE

I am developing an app in the Cypress Creator IDE and I want to use J-Trace to debug it. I am using GCC to build it and the output from Creator is an Elf map file and ".o" object files. I can't seem to figure out if it is possible to use Embedded Studio to load the app to do debug and trace. I tried a few different Open's of the files but never end up with anything that is debug-able. Is this possible to do?
Edit: In a related question, if the above is indeed possible then is the Segger website correct that Embedded Studio can use the Trace capability of a J-Trace?

This post has been edited 1 times, last edit by "tmostad" (Feb 8th 2016, 10:23pm)


SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 1,516

2

Tuesday, February 9th 2016, 5:22pm

Hi,

Embedded Studio is not really designed to debug output files of 3rd party IDEs, however as it is GCC, it should work.
If you are compiling/building with one tool and just want to debug with another one, J-Link Debugger might be the right choice for you:
https://www.segger.com/j-link-debugger.html

Both, J-Link Debugger as well as Embedded Studio support the tracing features of J-Trace.


Best regards
Alex

tmostad

Beginner

Date of registration: Apr 17th 2014

Posts: 14

3

Wednesday, February 10th 2016, 11:10pm

J-Link Debugger

At first glance it looks like the J-Link Debugger might do the job. Cypress Creator's outputted ELF from my application loaded just fine and I am able to do debug. I need to understand how to use the trace capability better and I will play with it until I come up with some informed questions.
It wasn't included as part of the J-Trace for Cortex-M as it appears to be for some of your other probes. I can't find a place on your site to purchase it. Is it for sale as an add-on to my J-Trace?

CHeitkamp

Beginner

Date of registration: Jul 26th 2012

Posts: 10

Location: Germany / M√ľnster

4

Thursday, February 11th 2016, 2:34am

Hi,
it seems your J-Trace already includes an J-Link debuuger license (from https://www.segger.com/j-link-debugger.html):


J-Link Debugger can be used with J-Link PLUS, ULTRA+, PRO and J-Trace.
With other J-Link models, J-Link Debugger can be used without
restriction for evaluation purposes. In evaluation mode, you will see
the following screen each time a debug session is started...


Best regards,
Chris

tmostad

Beginner

Date of registration: Apr 17th 2014

Posts: 14

5

Thursday, February 11th 2016, 6:52pm

Chris, thanks! Guess I missed that. Appreciate the help.